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

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

Inheritance diagram for Dune::dgf::IntervalBlock:
Inheritance graph

Classes

struct  Interval
 

Public Member Functions

 IntervalBlock (std::istream &in)
 
void get (std::vector< std::vector< double > > &vtx, int &nofvtx, std::vector< std::vector< unsigned int > > &simplex, int &nofsimpl)
 
void get (std::vector< std::vector< double > > &vtx, int &nofvtx)
 
const Intervalget (int block) const
 
int numIntervals () const
 
int dimw () const
 
int getVtx (int block, std::vector< std::vector< double > > &vtx) const
 
int getHexa (int block, std::vector< std::vector< unsigned int > > &cubes, int offset=0) const
 
int nofvtx (int block) const
 
int nofhexa (int block) const
 
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

◆ IntervalBlock()

Dune::dgf::IntervalBlock::IntervalBlock ( std::istream &  in)
explicit

Member Function Documentation

◆ dimw()

int Dune::dgf::IntervalBlock::dimw ( ) const
inline

◆ findtoken()

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

◆ get() [1/3]

const Interval & Dune::dgf::IntervalBlock::get ( int  block) const
inline

◆ get() [2/3]

void Dune::dgf::IntervalBlock::get ( std::vector< std::vector< double > > &  vtx,
int &  nofvtx 
)
inline

◆ get() [3/3]

void Dune::dgf::IntervalBlock::get ( std::vector< std::vector< double > > &  vtx,
int &  nofvtx,
std::vector< std::vector< unsigned int > > &  simplex,
int &  nofsimpl 
)
inline

◆ getHexa()

int Dune::dgf::IntervalBlock::getHexa ( int  block,
std::vector< std::vector< unsigned int > > &  cubes,
int  offset = 0 
) const

◆ 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

◆ getVtx()

int Dune::dgf::IntervalBlock::getVtx ( int  block,
std::vector< std::vector< double > > &  vtx 
) const

◆ 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

◆ nofhexa()

int Dune::dgf::IntervalBlock::nofhexa ( int  block) const
inline

◆ noflines()

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

◆ nofvtx()

int Dune::dgf::IntervalBlock::nofvtx ( int  block) const
inline

◆ numIntervals()

int Dune::dgf::IntervalBlock::numIntervals ( ) const
inline

◆ reset()

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

Member Data Documentation

◆ line

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

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