Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

quantity::ReadEqual< P > Class Template Reference

definition of template ReadEqual More...

#include <Quantity.h>

List of all members.

Private Member Functions

void set (bool equal) const
 store the status in ReadStatus


Friends

std::istream & operator>> (std::istream &is, const ReadEqual &read)
 apply ReadEqual in an input stream chain


Detailed Description

template<bool P>
class quantity::ReadEqual< P >

definition of template ReadEqual

this template is parameterized by the boolean value defining whether the equal is to be read or not.

Definition at line 535 of file Quantity.h.


Member Function Documentation

template<bool P>
void quantity::ReadEqual< P >::set bool  equal  )  const [inline, private]
 

store the status in ReadStatus

ReadStatus has declared ReadEqual a friend, so this routine can access the private _equal data member.

Definition at line 541 of file Quantity.h.


Friends And Related Function Documentation

template<bool P>
std::istream& operator>> std::istream &  is,
const ReadEqual< P > &  read
[friend]
 

apply ReadEqual in an input stream chain

user code can place a ReadEqual 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 ReadEqual, thus it can not access ReadStatus::_equal directly; the reference to the istream object is returned.

Definition at line 551 of file Quantity.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:43:59 2007 for Quantity by doxygen 1.3.6