dune-grid  2.4.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::dgf::BoundarySegBlock Class Reference

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

Inheritance diagram for Dune::dgf::BoundarySegBlock:
Inheritance graph

Public Types

typedef DGFEntityKey< unsigned int > EntityKey
 
typedef std::pair< int, BoundaryParameter > BndParam
 

Public Member Functions

 BoundarySegBlock (std::istream &in, int pnofvtx, int pdimworld, bool psimplexgrid)
 
int get (std::map< EntityKey, BndParam > &facemap, bool fixedsize, int vtxoffset)
 
bool ok ()
 
int nofbound ()
 
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
 

Member Typedef Documentation

typedef std::pair< int, BoundaryParameter > Dune::dgf::BoundarySegBlock::BndParam

Constructor & Destructor Documentation

Dune::dgf::BoundarySegBlock::BoundarySegBlock ( std::istream &  in,
int  pnofvtx,
int  pdimworld,
bool  psimplexgrid 
)

Member Function Documentation

bool Dune::dgf::BasicBlock::findtoken ( std::string  token)
protectedinherited
int Dune::dgf::BoundarySegBlock::get ( std::map< EntityKey, BndParam > &  facemap,
bool  fixedsize,
int  vtxoffset 
)
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::BoundarySegBlock::nofbound ( )
inline
int& Dune::dgf::BasicBlock::noflines ( )
inlineinherited
bool Dune::dgf::BoundarySegBlock::ok ( )
inline

Referenced by get(), and nofbound().

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: