ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
ParaStrm Class Reference

#include <ParaStrm.h>

Public Member Functions

 ParaStrm ()
 Constructor generating a new, empty parameter stream.
 
 ParaStrm (const ParaStrm &param_stream)
 Constructor using an existing parameter stream (resets the reading "pointer" to the beginning of the stream).
 
 ~ParaStrm ()
 Destructor.
 
bool eos () const
 end of stream reached?
 
bool empty () const
 stream empty?
 
void reset_read ()
 reset reading "pointer" to the beginning of the stream
 
ParaStrmoperator= (const ParaStrm &param_stream)
 Copy parameter stream (resets the reading "pointer" to the beginning of the stream).
 
template<class T >
ParaStrmoperator<< (T p)
 add value to the (end of) stream
 
template<class T >
ParaStrmoperator>> (T &p)
 read value at actual stream position and move position
 

Detailed Description

Parameter stream

Author
Martin Bernreuther

The documentation for this class was generated from the following file: