dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Related Functions | List of all members
Dune::Fem::VirtualInStream Class Reference

#include <dune/fem/io/streams/virtualstreams.hh>

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

Public Types

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

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
 
float readFloat ()
 read a double from the stream
 
int readInt ()
 read an int from the stream
 
void readChar (char &value)
 read a char from the stream
 
int readChar ()
 read a char from the stream
 
void readBool (bool &value)
 read a bool from the stream
 
bool readBool ()
 read a bool from the stream
 
void readString (std::string &s)
 read a string from the stream
 
unsigned int readUnsignedInt ()
 read an unsigned int from the stream
 
uint64_t readUnsignedInt64 ()
 read an uint64_t from the stream
 

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)
 
static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 

Related Functions

(Note that these are not member functions.)

InStreamInterface< StreamTraits > & operator>> (InStreamInterface< StreamTraits > &in, DiscreteFunctionInterface< Impl > &df)
 read a discrete function from an input stream
 

Member Typedef Documentation

◆ InStreamInterfaceType

typedef ThisType Dune::Fem::InStreamInterface< VirtualInStreamTraits >::InStreamInterfaceType
inherited

type of the interface

◆ InStreamType

type of the implementation (Barton-Nackman)

◆ Traits

type of the traits

Constructor & Destructor Documentation

◆ VirtualInStream()

Dune::Fem::VirtualInStream::VirtualInStream ( const ThisType other)
inline

◆ ~VirtualInStream()

virtual Dune::Fem::VirtualInStream::~VirtualInStream ( )
inlinevirtual

Member Function Documentation

◆ asImp() [1/6]

Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/6]

const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ) const
inlineprotectedinherited

◆ asImp() [3/6]

static const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [4/6]

template<class Interface , class Implementation >
static const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [5/6]

static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ asImp() [6/6]

template<class Interface , class Implementation >
static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ readBool() [1/2]

bool Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readBool ( )
inlineinherited

read a bool from the stream

Returns
a bool read from the stream

◆ readBool() [2/2]

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

◆ readChar() [1/2]

int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readChar ( )
inlineinherited

read a char from the stream

Returns
a char read from the stream

◆ readChar() [2/2]

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

◆ readDouble() [1/2]

double Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readDouble ( )
inlineinherited

read a double from the stream

Returns
a double read from the stream

◆ readDouble() [2/2]

void Dune::Fem::VirtualInStream::readDouble ( double &  value)
inline

◆ readError()

void Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readError ( ) const
inlineprotectedinherited

◆ readFloat() [1/2]

float Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readFloat ( )
inlineinherited

read a double from the stream

Returns
a double read from the stream

◆ readFloat() [2/2]

void Dune::Fem::VirtualInStream::readFloat ( float &  value)
inline

◆ readInt() [1/2]

int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readInt ( )
inlineinherited

read an int from the stream

Returns
an int read from the stream

◆ readInt() [2/2]

void Dune::Fem::VirtualInStream::readInt ( int &  value)
inline

◆ readString() [1/2]

void Dune::Fem::VirtualInStream::readString ( std ::string &  s)
inline

◆ readString() [2/2]

void Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readString ( std::string &  s)
inlineinherited

read a string from the stream

Parameters
[out]sreference to the string to read from the stream

◆ readUnsignedInt() [1/2]

unsigned int Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readUnsignedInt ( )
inlineinherited

read an unsigned int from the stream

Returns
an unsigned int read from the stream

◆ readUnsignedInt() [2/2]

void Dune::Fem::VirtualInStream::readUnsignedInt ( unsigned int &  value)
inline

◆ readUnsignedInt64() [1/2]

uint64_t Dune::Fem::InStreamInterface< VirtualInStreamTraits >::readUnsignedInt64 ( )
inlineinherited

read an uint64_t from the stream

Returns
an uint64_t read from the stream

◆ readUnsignedInt64() [2/2]

void Dune::Fem::VirtualInStream::readUnsignedInt64 ( uint64_t &  value)
inline

Friends And Related Function Documentation

◆ operator>>()

InStreamInterface< StreamTraits > & operator>> ( InStreamInterface< StreamTraits > &  in,
DiscreteFunctionInterface< Impl > &  df 
)
related

read a discrete function from an input stream

Parameters
[in]instream to read from
[out]dfdiscrete function to read
Returns
the input stream (for concatenation)

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