DataIn Class Reference

After the template specializations, comes the library. More...

Inheritance diagram for DataIn:

DataOut List of all members.

Public Member Functions

 DataIn (int anInt)
 DataIn ()
bool operator< (const DataIn &aDI) const
bool operator== (const DataIn &aDI) const

Private Attributes

int _seq_num
time_t _creation_time

Friends

std::ostream & operator<< (ostream &aO, const DataIn &aDI)
std::istream & operator>> (istream &aI, DataIn &aDI)

Detailed Description

After the template specializations, comes the library.

Note that this class does not contain any virtual method : This is a POD (Plain Old Data) object which can be binary copied from and to a stream.


Constructor & Destructor Documentation

DataIn::DataIn ( int  anInt  )  [inline]

DataIn::DataIn (  )  [inline]


Member Function Documentation

bool DataIn::operator< ( const DataIn aDI  )  const [inline]

This is necessary when testing the results, because all the processed elements are put in std::multiset.

bool DataIn::operator== ( const DataIn aDI  )  const [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( ostream &  aO,
const DataIn aDI 
) [friend]

It must be possible to deserialize this object without ambiguity. It is possible to use binary IOs because there are much faster. But, it is mandatory that this class is a POD (Plain Old Data).

std::istream& operator>> ( istream &  aI,
DataIn aDI 
) [friend]

It is possible to use binary IOs because there are much faster. But, it is mandatory that this class is a POD (Plain Old Data).


Member Data Documentation

time_t DataIn::_creation_time [private]

int DataIn::_seq_num [private]


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:31 2007 for rpa by  doxygen 1.4.7