#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 114 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 126 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 130 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 118 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 120 of file Quantity.h.
Referenced by quantity::PrintSymbol< P >::set(), and symbol().