CMem< T > Class Template Reference

#include <cmem.h>

List of all members.

Public Member Functions

void initialize (std::istream &in, T &datatype)
 initialize the vector with the content of istream. istream is read per line. empty lines will add unitialized elements.


Detailed Description

template<class T>
class CMem< T >

Extends std::vector template for use as memory for CCPU.

Member Function Documentation

template<class T>
void CMem< T >::initialize ( std::istream &  in,
T &  datatype 
) [inline]

initialize the vector with the content of istream. istream is read per line. empty lines will add unitialized elements.

Methodname:
initialize
Parameters:
in inputstream to read from
datatype reference instance of datatype to copy from
Returns:
void
Global variables used:
none
Exceptions:
CMemError 
Precondition:
none
Postcondition:
none


The documentation for this class was generated from the following file:
Generated on Sat May 30 16:32:35 2009 for mycpu by  doxygen 1.5.3