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

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

Inheritance diagram for Dune::dgf::PolyhedronBlock:
Inheritance graph

Public Member Functions

 PolyhedronBlock (std::istream &in, int numPolys)
 
int get (std::vector< std::vector< int > > &polyhedra)
 
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

const int numPolys_
 
std::stringstream line
 

Constructor & Destructor Documentation

◆ PolyhedronBlock()

Dune::dgf::PolyhedronBlock::PolyhedronBlock ( std::istream &  in,
int  numPolys 
)
inlineexplicit

Member Function Documentation

◆ findtoken()

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

◆ get()

int Dune::dgf::PolyhedronBlock::get ( std::vector< std::vector< int > > &  polyhedra)
inline

◆ getnextentry()

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

◆ getnextline()

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

◆ gettokenparam()

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

◆ id()

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

◆ isactive()

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

◆ isempty()

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

◆ linenumber()

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

◆ noflines()

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

◆ reset()

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

Member Data Documentation

◆ line

std::stringstream Dune::dgf::BasicBlock::line
protectedinherited

◆ numPolys_

const int Dune::dgf::PolyhedronBlock::numPolys_
protected

The documentation for this struct was generated from the following file: