#include <Quantity.h>
Public Member Functions | |
| bool | name (void) const |
| return the status to print the quantity name | |
| bool | symbol (void) const |
| return the status to print the quantity symbol | |
Static Private Attributes | |
| static bool | _name = false |
| whether to print the name of a quantity | |
| static bool | _symbol = false |
| whether to print the symbol of a quantity | |
Friends | |
| class | PrintName |
| declare template PrintName a friend | |
| class | PrintSymbol |
| declare template PrintSymbol a friend | |
Definition at line 365 of file Quantity.h.
| bool quantity::PrintStatus::name | ( | void | ) | const [inline] |
return the status to print the quantity name
reads the private _name data member.
Definition at line 377 of file Quantity.h.
References _name.
| bool quantity::PrintStatus::symbol | ( | void | ) | const [inline] |
return the status to print the quantity symbol
reads the private _symbol data member.
Definition at line 381 of file Quantity.h.
References _symbol.
friend class PrintName [friend] |
friend class PrintSymbol [friend] |
bool quantity::PrintStatus::_name = false [static, private] |
whether to print the name of a quantity
default value
Definition at line 369 of file Quantity.h.
Referenced by name(), and quantity::PrintName< P >::set().
bool quantity::PrintStatus::_symbol = false [static, private] |
whether to print the symbol of a quantity
default value
Definition at line 371 of file Quantity.h.
Referenced by quantity::PrintSymbol< P >::set(), and symbol().
1.5.3