dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
Dune::Fem::VirtualInStream Class Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/virtualstreams.hh>

Inheritance diagram for Dune::Fem::VirtualInStream:
Inheritance graph

Public Types

typedef VirtualInStreamTraits Traits
 type of the traits More...
 
typedef Traits::InStreamType InStreamType
 type of the implementation (Barton-Nackman) More...
 
typedef ThisType InStreamInterfaceType
 type of the interface More...
 

Public Member Functions

 VirtualInStream (const ThisType &other)
 
virtual ~VirtualInStream ()
 
void readDouble (double &value)
 
void readFloat (float &value)
 
void readInt (int &value)
 
void readString (std::string &s)
 
void readUnsignedInt (unsigned int &value)
 
void readUnsignedInt64 (uint64_t &value)
 
double readDouble ()
 read a double from the stream More...
 
float readFloat ()
 read a double from the stream More...
 
int readInt ()
 read an int from the stream More...
 
void readChar (char &value)
 read a char from the stream More...
 
int readChar ()
 read a char from the stream More...
 
void readBool (bool &value)
 read a bool from the stream More...
 
bool readBool ()
 read a bool from the stream More...
 
unsigned int readUnsignedInt ()
 read an unsigned int from the stream More...
 
uint64_t readUnsignedInt64 ()
 read an uint64_t from the stream More...
 

Protected Member Functions

void readError () const
 
const Implementation & asImp () const
 
Implementation & asImp ()
 

Static Protected Member Functions

static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 

Friends

template<class T >
VirtualInStream virtualize (InStreamInterface< T > &)
 

Member Typedef Documentation

type of the interface

type of the implementation (Barton-Nackman)

type of the traits

Constructor & Destructor Documentation

Dune::Fem::VirtualInStream::VirtualInStream ( const ThisType other)
inline
virtual Dune::Fem::VirtualInStream::~VirtualInStream ( )
inlinevirtual

Member Function Documentation

template<class Interface, class Implementation>
static const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited
template<class Interface, class Implementation>
static Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited
template<class Interface, class Implementation>
const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ) const
inlineprotectedinherited
template<class Interface, class Implementation>
Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( )
inlineprotectedinherited
void Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readBool ( bool &  value)
inlineinherited

read a bool from the stream

Parameters
[out]valuereference to the variable to read from the stream
bool Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readBool ( )
inlineinherited

read a bool from the stream

Returns
a bool read from the stream
void Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readChar ( char &  value)
inlineinherited

read a char from the stream

Parameters
[out]valuereference to the variable to read from the stream
int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readChar ( )
inlineinherited

read a char from the stream

Returns
a char read from the stream
double Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readDouble ( )
inlineinherited

read a double from the stream

Returns
a double read from the stream
void Dune::Fem::VirtualInStream::readDouble ( double &  value)
inline
void Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readError ( ) const
inlineprotectedinherited
void Dune::Fem::VirtualInStream::readFloat ( float &  value)
inline
float Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readFloat ( )
inlineinherited

read a double from the stream

Returns
a double read from the stream
void Dune::Fem::VirtualInStream::readInt ( int &  value)
inline
int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readInt ( )
inlineinherited

read an int from the stream

Returns
an int read from the stream
void Dune::Fem::VirtualInStream::readString ( std::string &  s)
inline
void Dune::Fem::VirtualInStream::readUnsignedInt ( unsigned int &  value)
inline
unsigned int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readUnsignedInt ( )
inlineinherited

read an unsigned int from the stream

Returns
an unsigned int read from the stream
void Dune::Fem::VirtualInStream::readUnsignedInt64 ( uint64_t &  value)
inline
uint64_t Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readUnsignedInt64 ( )
inlineinherited

read an uint64_t from the stream

Returns
an uint64_t read from the stream

Friends And Related Function Documentation

template<class T >
VirtualInStream virtualize ( InStreamInterface< T > &  )
friend

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