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

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

Inheritance diagram for Dune::dgf::BasicBlock:
Inheritance graph

Public Member Functions

 BasicBlock (std::istream &in, const char *id)
 
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

◆ BasicBlock()

Dune::dgf::BasicBlock::BasicBlock ( std::istream &  in,
const char *  id 
)

Member Function Documentation

◆ findtoken()

bool Dune::dgf::BasicBlock::findtoken ( std ::string  token)
protected

◆ getnextentry()

template<class ENTRY >
bool Dune::dgf::BasicBlock::getnextentry ( ENTRY &  entry)
inlineprotected

◆ getnextline()

bool Dune::dgf::BasicBlock::getnextline ( )
protected

◆ gettokenparam()

bool Dune::dgf::BasicBlock::gettokenparam ( std ::string  token,
std ::string &  entry 
)
protected

◆ id()

const std::string & Dune::dgf::BasicBlock::id ( ) const
inline

◆ isactive()

bool Dune::dgf::BasicBlock::isactive ( )
inline

◆ isempty()

bool Dune::dgf::BasicBlock::isempty ( )
inline

◆ linenumber()

int Dune::dgf::BasicBlock::linenumber ( )
inline

◆ noflines()

int & Dune::dgf::BasicBlock::noflines ( )
inline

◆ reset()

void Dune::dgf::BasicBlock::reset ( )
inlineprotected

Member Data Documentation

◆ line

std::stringstream Dune::dgf::BasicBlock::line
protected

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