- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <dune/grid/io/file/dgfparser/dgfparserblocks.hh>
Public Member Functions | |
BasicBlock (std::istream &in, const char *id) | |
bool | isactive () |
bool | isempty () |
int & | noflines () |
int | linenumber () |
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) |
Dune::dgf::BasicBlock::BasicBlock | ( | std::istream & | in, | |
const char * | id | |||
) |
References Dune::dgf::makeupcase(), and reset().
bool Dune::dgf::BasicBlock::findtoken | ( | std::string | token | ) | [protected] |
References getnextline(), Dune::dgf::makeupcase(), and reset().
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
bool Dune::dgf::BasicBlock::getnextentry | ( | ENTRY & | entry | ) | [inline, protected] |
References line.
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::BoundaryDomBlock::next(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
bool Dune::dgf::BasicBlock::getnextline | ( | ) | [protected] |
bool Dune::dgf::BasicBlock::gettokenparam | ( | std::string | token, | |
std::string & | entry | |||
) | [protected] |
References getnextline(), Dune::dgf::makeupcase(), and reset().
Referenced by Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock().
bool Dune::dgf::BasicBlock::isactive | ( | ) | [inline] |
bool Dune::dgf::BasicBlock::isempty | ( | ) | [inline] |
Referenced by Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::GridParameterBlock::GridParameterBlock().
int Dune::dgf::BasicBlock::linenumber | ( | ) | [inline] |
Referenced by Dune::dgf::BoundaryDomBlock::next().
int& Dune::dgf::BasicBlock::noflines | ( | ) | [inline] |
void Dune::dgf::BasicBlock::reset | ( | ) | [inline, protected] |
std :: ostream& operator<< | ( | std::ostream & | os, | |
const BasicBlock & | b | |||
) | [friend] |
std::stringstream Dune::dgf::BasicBlock::line [protected] |
Referenced by getnextentry().
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].