Spreadsheet::DisplayUnit Class Reference
#include <DisplayUnit.h>
Public Member Functions | |
| DisplayUnit (const std::string _stringRep="", const Base::Unit _unit=Base::Unit(), double _scaler=0.0) | |
| bool | isEmpty () const |
| bool | operator!= (const DisplayUnit &c) const |
| bool | operator== (const DisplayUnit &c) const |
Public Attributes | |
| double | scaler |
| std::string | stringRep |
| Base::Unit | unit |
Constructor & Destructor Documentation
◆ DisplayUnit()
| Spreadsheet::DisplayUnit::DisplayUnit | ( | const std::string | _stringRep = "", |
| const Base::Unit | _unit = Base::Unit(), |
||
| double | _scaler = 0.0 |
||
| ) |
Member Function Documentation
◆ isEmpty()
| bool Spreadsheet::DisplayUnit::isEmpty | ( | ) | const |
Referenced by Spreadsheet::Cell::setDisplayUnit().
◆ operator!=()
| bool Spreadsheet::DisplayUnit::operator!= | ( | const DisplayUnit & | c | ) | const |
◆ operator==()
| bool Spreadsheet::DisplayUnit::operator== | ( | const DisplayUnit & | c | ) | const |
Member Data Documentation
◆ scaler
| double Spreadsheet::DisplayUnit::scaler |
Referenced by SpreadsheetGui::SheetModel::data(), and Spreadsheet::Cell::getFormattedQuantity().
◆ stringRep
| std::string Spreadsheet::DisplayUnit::stringRep |
◆ unit
| Base::Unit Spreadsheet::DisplayUnit::unit |
Referenced by SpreadsheetGui::SheetModel::data(), and Spreadsheet::Cell::getFormattedQuantity().
The documentation for this class was generated from the following file:
- src/Mod/Spreadsheet/App/DisplayUnit.h
1.8.17