dune-grid  2.3.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::dgf::CubeBlock Class Reference

#include <dune/grid/io/file/dgfparser/blocks/cube.hh>

Inheritance diagram for Dune::dgf::CubeBlock:
Dune::dgf::BasicBlock

Public Member Functions

 CubeBlock (std::istream &in, int pnofvtx, int pvtxoffset, int &pdimgrid)
int get (std::vector< std::vector< unsigned int > > &simplex, std::vector< std::vector< double > > &params, int &nofp)
bool ok ()
int nofsimplex ()
bool isactive ()
bool isempty ()
int & noflines ()
int linenumber ()
const std::string & id () const

Protected Member Functions

void reset ()
bool getnextline ()
template<class ENTRY >
bool getnextentry (ENTRY &entry)
bool gettokenparam (std::string token, std::string &entry)
bool findtoken (std::string token)

Protected Attributes

std::stringstream line

Constructor & Destructor Documentation

Dune::dgf::CubeBlock::CubeBlock ( std::istream &  in,
int  pnofvtx,
int  pvtxoffset,
int &  pdimgrid 
)

Member Function Documentation

bool Dune::dgf::BasicBlock::findtoken ( std::string  token)
protectedinherited
int Dune::dgf::CubeBlock::get ( std::vector< std::vector< unsigned int > > &  simplex,
std::vector< std::vector< double > > &  params,
int &  nofp 
)
template<class ENTRY >
bool Dune::dgf::BasicBlock::getnextentry ( ENTRY &  entry)
inlineprotectedinherited
bool Dune::dgf::BasicBlock::getnextline ( )
protectedinherited
bool Dune::dgf::BasicBlock::gettokenparam ( std::string  token,
std::string &  entry 
)
protectedinherited
const std::string& Dune::dgf::BasicBlock::id ( ) const
inlineinherited
bool Dune::dgf::BasicBlock::isactive ( )
inlineinherited
bool Dune::dgf::BasicBlock::isempty ( )
inlineinherited
int Dune::dgf::BasicBlock::linenumber ( )
inlineinherited
int& Dune::dgf::BasicBlock::noflines ( )
inlineinherited
int Dune::dgf::CubeBlock::nofsimplex ( )
inline
bool Dune::dgf::CubeBlock::ok ( )
inline
void Dune::dgf::BasicBlock::reset ( )
inlineprotectedinherited

Member Data Documentation

std::stringstream Dune::dgf::BasicBlock::line
protectedinherited

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