quantity::PrintStatus Class Reference

store and make available the status of printing More...

#include <Quantity.h>

List of all members.

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


Detailed Description

store and make available the status of printing

Definition at line 114 of file Quantity.h.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class PrintName [friend]

declare template PrintName a friend

Definition at line 133 of file Quantity.h.

friend class PrintSymbol [friend]

declare template PrintSymbol a friend

Definition at line 136 of file Quantity.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on Wed Apr 11 18:07:11 2012 for Quantities by  doxygen 1.5.6