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 365 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 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.


Friends And Related Function Documentation

friend class PrintName [friend]

declare template PrintName a friend

Definition at line 384 of file Quantity.h.

friend class PrintSymbol [friend]

declare template PrintSymbol a friend

Definition at line 387 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 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().


The documentation for this class was generated from the following files:
Generated on Mon Jul 27 15:55:47 2009 for Quantities by  doxygen 1.5.3