dune-grid
2.2.0
|
#include <dune/grid/io/file/dgfparser/blocks/boundarydom.hh>
Public Member Functions | |
BoundaryDomBlock (std::istream &in, int cdimworld) | |
~BoundaryDomBlock () | |
bool | next () |
const Domain & | domain () const |
bool | hasDefaultData () const |
const DomainData * | defaultData () const |
bool | hasParameter () const |
void | reset () |
bool | ok () |
template<class Vector > | |
const DomainData * | contains (const std::vector< Vector > &v) const |
bool | isactive () |
bool | isempty () |
int & | noflines () |
int | linenumber () |
const std::string & | id () const |
Protected Member Functions | |
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::BoundaryDomBlock::BoundaryDomBlock | ( | std::istream & | in, |
int | cdimworld | ||
) |
References Dune::DGFBoundaryParameter::convert(), Dune::DGFBoundaryParameter::defaultValue(), Dune::DGFBoundaryParameter::delimiter, Dune::dgf::BasicBlock::findtoken(), Dune::dgf::BasicBlock::getnextentry(), Dune::dgf::BasicBlock::id(), Dune::dgf::BasicBlock::isactive(), Dune::dgf::BasicBlock::line, and reset().
Dune::dgf::BoundaryDomBlock::~BoundaryDomBlock | ( | ) | [inline] |
const DomainData* Dune::dgf::BoundaryDomBlock::contains | ( | const std::vector< Vector > & | v | ) | const [inline] |
Referenced by Dune::DuneGridFormatParser::generateBoundaries().
const DomainData* Dune::dgf::BoundaryDomBlock::defaultData | ( | ) | const [inline] |
Referenced by hasParameter().
const Domain& Dune::dgf::BoundaryDomBlock::domain | ( | ) | const [inline] |
bool Dune::dgf::BasicBlock::findtoken | ( | std::string | token | ) | [protected, inherited] |
References Dune::dgf::BasicBlock::getnextline(), Dune::dgf::makeupcase(), and Dune::dgf::BasicBlock::reset().
Referenced by 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, inherited] |
References Dune::dgf::BasicBlock::line.
Referenced by BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
bool Dune::dgf::BasicBlock::getnextline | ( | ) | [protected, inherited] |
bool Dune::dgf::BasicBlock::gettokenparam | ( | std::string | token, |
std::string & | entry | ||
) | [protected, inherited] |
bool Dune::dgf::BoundaryDomBlock::hasDefaultData | ( | ) | const [inline] |
Referenced by hasParameter().
bool Dune::dgf::BoundaryDomBlock::hasParameter | ( | ) | const |
References defaultData(), hasDefaultData(), and Dune::dgf::DomainData::hasParameter().
Referenced by Dune::DuneGridFormatParser::generateBoundaries().
const std::string& Dune::dgf::BasicBlock::id | ( | ) | const [inline, inherited] |
Referenced by BoundaryDomBlock(), and Dune::dgf::VertexBlock::VertexBlock().
bool Dune::dgf::BasicBlock::isactive | ( | ) | [inline, inherited] |
bool Dune::dgf::BasicBlock::isempty | ( | ) | [inline, inherited] |
Referenced by Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::GridParameterBlock::GridParameterBlock().
int Dune::dgf::BasicBlock::linenumber | ( | ) | [inline, inherited] |
bool Dune::dgf::BoundaryDomBlock::next | ( | ) | [inline] |
int& Dune::dgf::BasicBlock::noflines | ( | ) | [inline, inherited] |
bool Dune::dgf::BoundaryDomBlock::ok | ( | ) | [inline] |
void Dune::dgf::BoundaryDomBlock::reset | ( | ) | [inline] |
Reimplemented from Dune::dgf::BasicBlock.
Referenced by BoundaryDomBlock().
std :: ostream& operator<< | ( | std::ostream & | os, |
const BasicBlock & | b | ||
) | [friend, inherited] |
std::stringstream Dune::dgf::BasicBlock::line [protected, inherited] |
Referenced by BoundaryDomBlock(), Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::BasicBlock::getnextentry().