#include <Quantity.h>
Private Member Functions | |
| void | set (bool symbol) const |
| store the status in ReadStatus | |
Friends | |
| std::istream & | operator>> (std::istream &is, const ReadSymbol &read) |
| apply ReadSymbol in an input stream chain | |
this template is parameterized by the boolean value defining whether the symbol is to be read or not.
Definition at line 471 of file Quantity.h.
|
||||||||||
|
store the status in ReadStatus ReadStatus has declared ReadSymbol a friend, so this routine can access the private _symbol data member. Definition at line 477 of file Quantity.h. |
|
||||||||||||||||
|
apply ReadSymbol in an input stream chain user code can place a ReadSymbol object in an std::istream chain; the corresponding bool value P is then stored in ReadStatus through function set (); this function is a friend of ReadSymbol, thus it can not access ReadStatus::_symbol directly; the reference to the istream object is returned. Definition at line 487 of file Quantity.h. |
1.3.6