dune-grid  2.2.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
Dune::dgf::BoundarySegBlock Class Reference

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

Inheritance diagram for Dune::dgf::BoundarySegBlock:
Dune::dgf::BasicBlock

List of all members.

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

Friends

std::ostream & operator<< (std::ostream &os, const BasicBlock &b)

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) [protected, inherited]
int Dune::dgf::BoundarySegBlock::get ( std::map< EntityKey, BndParam > &  facemap,
bool  fixedsize,
int  vtxoffset 
)
template<class ENTRY >
bool Dune::dgf::BasicBlock::getnextentry ( ENTRY &  entry) [inline, protected, inherited]
bool Dune::dgf::BasicBlock::getnextline ( ) [protected, inherited]
bool Dune::dgf::BasicBlock::gettokenparam ( std::string  token,
std::string &  entry 
) [protected, inherited]
const std::string& Dune::dgf::BasicBlock::id ( ) const [inline, inherited]
bool Dune::dgf::BasicBlock::isactive ( ) [inline, inherited]
bool Dune::dgf::BasicBlock::isempty ( ) [inline, inherited]
int Dune::dgf::BasicBlock::linenumber ( ) [inline, inherited]
int& Dune::dgf::BasicBlock::noflines ( ) [inline, inherited]
void Dune::dgf::BasicBlock::reset ( ) [inline, protected, inherited]

Friends And Related Function Documentation

std :: ostream& operator<< ( std::ostream &  os,
const BasicBlock b 
) [friend, inherited]

Member Data Documentation

std::stringstream Dune::dgf::BasicBlock::line [protected, inherited]

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