Compounds | |
| class | xmlUtil::Arith |
| The Arith class handles the xml arithmetic elements, allowing derived constants to be computed and their values put into the DOM representation of the XML file. More... | |
| class | xmlUtil::Constants |
| This class is a place to keep functions which manipulate the <constants> element and its children in the DOM representation. More... | |
| class | xmlUtil::DictConstraints |
| Represent constraints on values for an id dictionary node. More... | |
| class | xmlUtil::DictField |
| class | xmlUtil::DictFieldMan |
| class | xmlUtil::DictNode |
| class | xmlUtil::DictObject |
| class | xmlUtil::DictValidVisitor |
| class | xmlUtil::DictVisitor |
| class | xmlUtil::GDDDocMan::ConstsClient |
| Nested class to do constansts handling; inherits from DocClient. More... | |
| class | xmlUtil::GDDDocMan |
| GDDDocMan knows about constants sections. As part of construction it signs up an object it owns as a handler for <constants> so it can do evaluation and substitution before any other clients see the DOM. More... | |
| class | xmlUtil::IdConversion |
| An IdConversion object (corresponding to an idConv element as defined in gdd.dtd) "has" a path (list of id field names) a condition an operation to be performed on identifiers starting with the specified path and satisfying the condition and producing a new NamedId. More... | |
| class | xmlUtil::IdConverter |
| An IdConverter is a collection of id conversions and associated functions to (1) verify self-consistency of the converter (2) apply the correct conversion to a supplied Identifier. More... | |
| class | xmlUtil::IdConverterLessThan |
| class | xmlUtil::IdDict |
| class | xmlUtil::IdDictMan |
| class | xmlUtil::Identifier |
| For now, nothing to add to base class. More... | |
| struct | xmlUtil::NamedId::IdField |
| class | xmlUtil::IdKey |
| IdKey is a compressed, sortable version of an identifier which may be used as a key for a map. More... | |
| class | xmlUtil::IdKey::ltkey |
| The comparison function needed when making a map. More... | |
| class | xmlUtil::IdOpCompress |
| Compresses out all fields between "from" and "to", leaving the "from" and "to" fields themselves alone. More... | |
| class | xmlUtil::IdOpDisappear |
| Simplest possible operation, taking any id to one of zero length. Don't return 0 because that is used to indicate that conversion isn't possible for some reason. More... | |
| class | xmlUtil::IdOperation |
| class | xmlUtil::IdOpTruncate |
| struct | xmlUtil::ltstr |
| class | xmlUtil::DictNode::No_Assignment |
| Exception class. More... | |
| struct | xmlUtil::DictNode::POrder |
| class | xmlUtil::NamedId |
| class | xmlUtil::Source |
| class | xmlUtil::Substitute |
Typedefs | |
| typedef std::pair< const char *, DictField *> | RegPair |
| typedef Registry::iterator | RegIterator |
| typedef std::map< const char *, DictField *, ltstr > | Registry |
| typedef std::vector< std::string * > | NameSeq |
| Another convenience typedef for a list of strings (the id field names which may be extracted from a NamedId ). More... | |
Functions | |
| DOM_Element | firstEltChild (DOM_Element &elt) |
| DOM_Element | nextEltSibling (DOM_Element &elt) |
| std::ostream & | operator<< (std::ostream &s, const IdConversion &convers) |
| std::ostream & | operator<< (std::ostream &s, const IdOperation &op) |
| std::ostream & | operator<< (std::ostream &s, const NamedId &nId) |
| Output to an ostream. More... | |
| std::ostream & | operator<< (std::ostream &s, const NameSeq &seq) |
| std::ostream & | operator<< (std::ostream &s, const Identifier &id) |
|
|
Another convenience typedef for a list of strings (the id field names which may be extracted from a NamedId ).
Definition at line 17 of file NamedId.h. Referenced by xmlUtil::DictNode::allowNameSeq(), xmlUtil::DictNode::getParentConstraints(), xmlUtil::NamedId::hasSubpath(), xmlUtil::IdConversion::makePath(), xmlUtil::IdDict::nameSeqOk(), and xmlUtil::NamedId::size(). |
|
|
Definition at line 38 of file DictFieldMan.h. Referenced by xmlUtil::DictFieldMan::DictFieldMan(), and xmlUtil::ltstr::operator()(). |
|
|
Definition at line 24 of file DictFieldMan.cxx. Referenced by xmlUtil::DictFieldMan::~DictFieldMan(). |
|
|
Definition at line 22 of file DictFieldMan.cxx. Referenced by xmlUtil::DictFieldMan::signup(). |
|
|
Definition at line 10 of file Arith.cxx. Referenced by xmlUtil::Arith::add(), xmlUtil::Arith::evaluate(), xmlUtil::Arith::minus(), xmlUtil::Arith::mul(), xmlUtil::Arith::myMax(), and xmlUtil::Arith::quo().
00010 {
00011 DOM_Node curNode = elt.getFirstChild();
00012 if (curNode == DOM_Node()) return DOM_Element();
00013 while (curNode.getNodeType() != DOM_Node::ELEMENT_NODE) {
00014 curNode = curNode.getNextSibling();
00015 if (curNode == DOM_Node()) return DOM_Element();
00016 }
00017 return DOM_Element(static_cast<DOM_Element &>(curNode));
00018 }
|
|
|
Definition at line 20 of file Arith.cxx. Referenced by xmlUtil::Arith::add(), xmlUtil::Arith::minus(), xmlUtil::Arith::mul(), xmlUtil::Arith::myMax(), and xmlUtil::Arith::quo().
00020 {
00021 DOM_Node curNode = elt.getNextSibling();
00022 if (curNode == DOM_Node()) return DOM_Element();
00023 while (curNode.getNodeType() != DOM_Node::ELEMENT_NODE) {
00024 curNode = curNode.getNextSibling();
00025 if (curNode == DOM_Node()) return DOM_Element();
00026 }
00027 return DOM_Element(static_cast<DOM_Element &>(curNode));
00028 }
|
|
||||||||||||
|
Definition at line 120 of file NamedId.cxx.
00120 {
00121 if (id.size() == 0) {
00122 s << "()" << std::endl;
00123 return s;
00124 }
00125 std::vector<unsigned>::const_iterator it = id.begin();
00126 s << "(" << (*it);
00127 ++it;
00128 while (it != id.end()) {
00129 s << ", " << (*it);
00130 ++it;
00131 }
00132 s << ")" << std::endl;
00133 return s;
00134 }
|
|
||||||||||||
|
Definition at line 104 of file NamedId.cxx.
00104 {
00105 if (seq.size() == 0) {
00106 s << "()" << std::endl;
00107 return s;
00108 }
00109 std::vector<std::string *>::const_iterator it = seq.begin();
00110 s << "(" << (**it);
00111 ++it;
00112 while (it != seq.end()) {
00113 s << ", " << (**it);
00114 ++it;
00115 }
00116 s << ")" << std::endl;
00117 return s;
00118 }
|
|
||||||||||||
|
Output to an ostream.
Definition at line 88 of file NamedId.cxx.
00088 {
00089 if (nId.size() == 0) {
00090 s << "()" << std::endl;
00091 return s;
00092 }
00093 NamedId::Fields::const_iterator it = nId.m_fields->begin();
00094 s << "(" << (*it)->name << "=" << (*it)->value;
00095 ++it;
00096 while (it != nId.m_fields->end()) {
00097 s << ", " << std::endl << (*it)->name << "=" << (*it)->value;
00098 ++it;
00099 }
00100 s << ")" << std::endl;
00101 return s;
00102 }
|
|
||||||||||||
|
Definition at line 15 of file IdOperation.cxx.
00015 {
00016 s << op.myOp();
00017 return s;
00018 }
|
|
||||||||||||
|
Definition at line 101 of file IdConversion.cxx.
00101 {
00102 s << (*(convers.m_op)) << std::endl << " Path: " << (*(convers.m_path)) <<
00103 " Condition: hasField " << (*(convers.m_condition));
00104 return s;
00105 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001