CPersistentData< T > Class Template Reference

derived "typed" helper classes to load and store variables More...

#include <PersistentData.H>

Inheritance diagram for CPersistentData< T >:

Inheritance graph
[legend]
Collaboration diagram for CPersistentData< T >:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

 CPersistentData (T &mydata)
virtual ~CPersistentData ()
virtual void Load (std::istream &is)
virtual void Save (std::ostream &os) const

Protected Attributes

T & data

Friends

class CPersistentDataCollection


Detailed Description

template<typename T>
class CPersistentData< T >

derived "typed" helper classes to load and store variables

Definition at line 43 of file PersistentData.H.


Constructor & Destructor Documentation

template<typename T>
CPersistentData< T >::CPersistentData ( T &  mydata  )  [inline, protected]

Definition at line 47 of file PersistentData.H.

template<typename T>
virtual CPersistentData< T >::~CPersistentData (  )  [inline, protected, virtual]

Definition at line 48 of file PersistentData.H.


Member Function Documentation

template<typename T>
virtual void CPersistentData< T >::Load ( std::istream is  )  [inline, protected, virtual]

Implements CPersistentDataInterface.

Definition at line 49 of file PersistentData.H.

References cout, and endl().

Here is the call graph for this function:

template<typename T>
virtual void CPersistentData< T >::Save ( std::ostream os  )  const [inline, protected, virtual]

Implements CPersistentDataInterface.

Definition at line 56 of file PersistentData.H.

References std::endl().

Here is the call graph for this function:


Friends And Related Function Documentation

template<typename T>
friend class CPersistentDataCollection [friend]

Definition at line 57 of file PersistentData.H.


Member Data Documentation

template<typename T>
T& CPersistentData< T >::data [protected]

Definition at line 46 of file PersistentData.H.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:30:59 2007 for Qsieve by  doxygen 1.5.4