Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jive::fem::DataParser Class Reference

#include <jive/fem/DataParser.h>

Inheritance diagram for jive::fem::DataParser:
Inheritance graph

Public Types

typedef DataParser Self
 
typedef util::DataParser Super
 
- Public Types inherited from jem::xml::CompoundParser
typedef CompoundParser Self
 
typedef Parser Super
 
typedef io::Reader Reader
 
- Public Types inherited from jem::xml::Parser
typedef ParserState State
 

Public Member Functions

 DataParser (const Ref< MPContext > &mpx=NIL)
 
void addNodesParser (const XNodeSet &nodes, idx_t rank=-1)
 
void addElementsParser (const XElementSet &elems, idx_t nodesPerElem=-1)
 
void addBoundsParser (const XBoundarySet &bounds, idx_t maxLocalIndex=-1)
 
- Public Member Functions inherited from jive::util::DataParser
 DataParser (const Ref< MPContext > &mpx=NIL)
 
void parseFile (const String &fname, const Ref< Writer > &logger=NIL)
 
void setMaxParts (idx_t maxParts)
 
void skipUnknownTags (bool choice=true)
 
void addPointSetParser (const Ref< XPointSet > &points, idx_t rank=-1, const String &tag="")
 
void addGroupSetParser (const Ref< XGroupSet > &groups, idx_t groupSize=-1, const String &tag="")
 
void addMemberSetParser (const Ref< XMemberSet > &members, idx_t maxLocal=-1, const String &tag="")
 
void addItemGroupsParser (const Ref< ItemSet > &items, const Ref< Dictionary > &groups, const String &filter="*", const String &tag="")
 
void addItemGroupsParsers (const Properties &globdat, const String &filter="*")
 
void addTableParser (const Ref< XTable > &table, const Ref< Dictionary > &rowGroups=NIL, const String &tag="")
 
void addTablesParser (const Ref< ItemSet > &items, const Ref< Dictionary > &tables, const Ref< Dictionary > &rowGroups=NIL, const String &filter="*", const String &tag="")
 
void addTablesParsers (const Properties &globdat, const String &filter="*")
 
void addDbaseParser (const Ref< Database > &dbase, const Ref< Dictionary > &rowGroups=NIL, const String &tag="")
 
void addDbasesParser (const Ref< ItemSet > &items, const Ref< Dictionary > &dbases, const Ref< Dictionary > &rowGroups=NIL, const String &filter="*", const String &tag="")
 
void addDbasesParsers (const Properties &globdat, const String &filter="*")
 
void addConstraintsParser (const Ref< ConParser > &conParser, const String &tag="")
 
void addConstraintsParsers (const Properties &globdat)
 
void addFuncsParser (const Ref< Dictionary > &funcs, const String &filter="*", const String &tag="")
 
void addFuncsParser (const Properties &globdat, const String &filter="*", const String &tag="")
 
- Public Member Functions inherited from jem::xml::CompoundParser
 CompoundParser ()
 
virtual void reset ()
 
virtual void parse (State &state)
 
virtual void takeAction (const String &action, const Properties &params)
 
void addParser (const String &tagName, const Ref< Parser > &parser)
 
void setDefaultParser (const Ref< Parser > &parser)
 
- Public Member Functions inherited from jem::xml::Parser
void parseInput (const Ref< Tokenizer > &input, const String &source, const Ref< ParseLog > &log=NIL)
 
void parseFile (const String &fname, const Ref< ParseLog > &log=NIL)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~DataParser ()
 
- Protected Member Functions inherited from jem::xml::CompoundParser
virtual ~CompoundParser ()
 
- Protected Member Functions inherited from jem::xml::Parser
virtual ~Parser ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::xml::Parser
static void pushInput (State &state, const Ref< Tokenizer > &input, const String &source, const Ref< Parser > &parser=NIL)
 
static void parseEndTag (State &state, const String &tagName)
 
static void parseError (State &state)
 
static void parseError (State &state, const String &msg)
 
static void inputError (State &state, const String &msg)
 
static void illegalTagError (State &state, const String &tagName)
 
static void illegalAttributeError (State &state, const String &attribName)
 
static void missingAttributeError (State &state, const String &attribName)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Protected Attributes inherited from jem::xml::CompoundParser
bool isLenient_
 

Member Typedef Documentation

Constructor & Destructor Documentation

jive::fem::DataParser::DataParser ( const Ref< MPContext > &  mpx = NIL)
explicit
virtual jive::fem::DataParser::~DataParser ( )
protectedvirtual

Reimplemented from jive::util::DataParser.

Member Function Documentation

void jive::fem::DataParser::addNodesParser ( const XNodeSet nodes,
idx_t  rank = -1 
)
void jive::fem::DataParser::addElementsParser ( const XElementSet elems,
idx_t  nodesPerElem = -1 
)
void jive::fem::DataParser::addBoundsParser ( const XBoundarySet bounds,
idx_t  maxLocalIndex = -1 
)