dune-grid 2.10
Loading...
Searching...
No Matches
Dune::dgf::PolygonBlock Struct Reference

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

Inheritance diagram for Dune::dgf::PolygonBlock:
Inheritance graph

Public Member Functions

 PolygonBlock (std::istream &in, int numVtx, int vtxOfs)
int get (std::vector< std::vector< int > > &polygons)
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

int vtxBegin_
int vtxEnd_
std::stringstream line

Constructor & Destructor Documentation

◆ PolygonBlock()

Dune::dgf::PolygonBlock::PolygonBlock ( std::istream & in,
int numVtx,
int vtxOfs )
inline

Member Function Documentation

◆ findtoken()

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

◆ get()

int Dune::dgf::PolygonBlock::get ( std::vector< std::vector< int > > & polygons)
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

◆ vtxBegin_

int Dune::dgf::PolygonBlock::vtxBegin_
protected

◆ vtxEnd_

int Dune::dgf::PolygonBlock::vtxEnd_
protected

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