|
Jive reference manual
|
#include <jive/util/DataParser.h>

Public Member Functions | |
| 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 ¶ms) |
| 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 Class * | getClass () 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< Object > | clone () 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 | |
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 |
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 Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Protected Attributes inherited from jem::xml::CompoundParser | |
| bool | isLenient_ |
|
protectedvirtual |
Reimplemented in jive::fem::DataParser.
| void jive::util::DataParser::setMaxParts | ( | idx_t | maxParts | ) |
| void jive::util::DataParser::skipUnknownTags | ( | bool | choice = true | ) |
| void jive::util::DataParser::addPointSetParser | ( | const Ref< XPointSet > & | points, |
| idx_t | rank = -1, |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addGroupSetParser | ( | const Ref< XGroupSet > & | groups, |
| idx_t | groupSize = -1, |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addMemberSetParser | ( | const Ref< XMemberSet > & | members, |
| idx_t | maxLocal = -1, |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addItemGroupsParser | ( | const Ref< ItemSet > & | items, |
| const Ref< Dictionary > & | groups, | ||
| const String & | filter = "*", |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addItemGroupsParsers | ( | const Properties & | globdat, |
| const String & | filter = "*" |
||
| ) |
| void jive::util::DataParser::addTableParser | ( | const Ref< XTable > & | table, |
| const Ref< Dictionary > & | rowGroups = NIL, |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addTablesParser | ( | const Ref< ItemSet > & | items, |
| const Ref< Dictionary > & | tables, | ||
| const Ref< Dictionary > & | rowGroups = NIL, |
||
| const String & | filter = "*", |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addTablesParsers | ( | const Properties & | globdat, |
| const String & | filter = "*" |
||
| ) |
| void jive::util::DataParser::addDbaseParser | ( | const Ref< Database > & | dbase, |
| const Ref< Dictionary > & | rowGroups = NIL, |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addDbasesParser | ( | const Ref< ItemSet > & | items, |
| const Ref< Dictionary > & | dbases, | ||
| const Ref< Dictionary > & | rowGroups = NIL, |
||
| const String & | filter = "*", |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addDbasesParsers | ( | const Properties & | globdat, |
| const String & | filter = "*" |
||
| ) |
| void jive::util::DataParser::addConstraintsParser | ( | const Ref< ConParser > & | conParser, |
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addConstraintsParsers | ( | const Properties & | globdat | ) |
| void jive::util::DataParser::addFuncsParser | ( | const Ref< Dictionary > & | funcs, |
| const String & | filter = "*", |
||
| const String & | tag = "" |
||
| ) |
| void jive::util::DataParser::addFuncsParser | ( | const Properties & | globdat, |
| const String & | filter = "*", |
||
| const String & | tag = "" |
||
| ) |