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

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

Inheritance diagram for Dune::dgf::UGGridParameterBlock:
Inheritance graph

Public Types

typedef unsigned int Flags
 

Public Member Functions

 UGGridParameterBlock (std::istream &input)
 constructor taking istream More...
 
bool noClosure () const
 returns true if no closure should be used for UGGrid More...
 
bool noCopy () const
 returns true if no copies are made for UGGrid elements More...
 
size_t heapSize () const
 returns heap size used on construction of the grid More...
 
const std::string & name (const std::string &defaultValue) const
 return the name of the grid More...
 
const std::string & dumpFileName () const
 
bool markLongestEdge () const
 returns true if longest edge should be marked for AlbertaGrid More...
 
bool ok ()
 
bool isactive ()
 
bool isempty ()
 
int & noflines ()
 
int linenumber ()
 
const std::string & id () const
 

Static Public Attributes

static const Flags foundName = 1 << 0
 
static const Flags foundDumpFileName = 1 << 1
 
static const Flags foundLongestEdge = 1 << 5
 

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

bool noClosure_
 
bool noCopy_
 
size_t heapSize_
 
Flags foundFlags_
 
std::string name_
 
std::string dumpFileName_
 
bool markLongestEdge_
 
std::stringstream line
 

Member Typedef Documentation

◆ Flags

typedef unsigned int Dune::dgf::GridParameterBlock::Flags
inherited

Constructor & Destructor Documentation

◆ UGGridParameterBlock()

Dune::dgf::UGGridParameterBlock::UGGridParameterBlock ( std::istream &  input)
explicit

constructor taking istream

Member Function Documentation

◆ dumpFileName()

const std::string & Dune::dgf::GridParameterBlock::dumpFileName ( ) const
inlineinherited

◆ findtoken()

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

◆ 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

◆ heapSize()

size_t Dune::dgf::UGGridParameterBlock::heapSize ( ) const
inline

returns heap size used on construction of the grid

◆ 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

◆ markLongestEdge()

bool Dune::dgf::GridParameterBlock::markLongestEdge ( ) const
inlineinherited

returns true if longest edge should be marked for AlbertaGrid

◆ name()

const std::string & Dune::dgf::GridParameterBlock::name ( const std::string &  defaultValue) const
inlineinherited

return the name of the grid

◆ noClosure()

bool Dune::dgf::UGGridParameterBlock::noClosure ( ) const
inline

returns true if no closure should be used for UGGrid

◆ noCopy()

bool Dune::dgf::UGGridParameterBlock::noCopy ( ) const
inline

returns true if no copies are made for UGGrid elements

◆ noflines()

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

◆ ok()

bool Dune::dgf::GridParameterBlock::ok ( )
inlineinherited

◆ reset()

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

Member Data Documentation

◆ dumpFileName_

std::string Dune::dgf::GridParameterBlock::dumpFileName_
protectedinherited

◆ foundDumpFileName

const Flags Dune::dgf::GridParameterBlock::foundDumpFileName = 1 << 1
staticinherited

◆ foundFlags_

Flags Dune::dgf::GridParameterBlock::foundFlags_
protectedinherited

◆ foundLongestEdge

const Flags Dune::dgf::GridParameterBlock::foundLongestEdge = 1 << 5
staticinherited

◆ foundName

const Flags Dune::dgf::GridParameterBlock::foundName = 1 << 0
staticinherited

◆ heapSize_

size_t Dune::dgf::UGGridParameterBlock::heapSize_
protected

◆ line

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

◆ markLongestEdge_

bool Dune::dgf::GridParameterBlock::markLongestEdge_
protectedinherited

◆ name_

std::string Dune::dgf::GridParameterBlock::name_
protectedinherited

◆ noClosure_

bool Dune::dgf::UGGridParameterBlock::noClosure_
protected

◆ noCopy_

bool Dune::dgf::UGGridParameterBlock::noCopy_
protected

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