Simbody  3.7
Xml.h File Reference

Go to the source code of this file.

Classes

class  SimTK::Xml::Document
 This class provides a minimalist capability for reading and writing XML documents, as files or strings. More...
 
class  SimTK::Xml::Attribute
 Elements can have attributes, which are name="value" pairs that appear within the element start tag in an XML document; this class represents the in-memory representation of one of those attributes and can be used to examine or modify the name or value. More...
 
class  SimTK::Xml::attribute_iterator
 This is a bidirectional iterator suitable for moving forward or backward within a list of Attributes within an Element, for writable access. More...
 
class  SimTK::Xml::Node
 Abstract handle for holding any kind of node in an XML tree. More...
 
class  SimTK::Xml::node_iterator
 This is a bidirectional iterator suitable for moving forward or backward within a list of Nodes, for writable access. More...
 
class  SimTK::Xml::element_iterator
 This is a bidirectional iterator suitable for moving forward or backward within a list of Element nodes, for writable access. More...
 
class  SimTK::Xml::Element
 An element has (1) a tagword, (2) a map of (name,value) pairs called attributes, and (3) a list of child nodes. More...
 
class  SimTK::Xml::Text
 This is the "leaf" content of an element. More...
 
class  SimTK::Xml::Comment
 A comment contains only uninterpreted text. More...
 
class  SimTK::Xml::Unknown
 This is something we don't understand but can carry around. More...
 

Namespaces

 SimTK
 This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.
 
 SimTK::Xml
 This namespace contains Xml::Document and all the related XML classes.
 

Enumerations

enum  SimTK::Xml::NodeType {
  SimTK::Xml::NoNode = 0x00,
  SimTK::Xml::ElementNode = 0x01,
  SimTK::Xml::TextNode = 0x02,
  SimTK::Xml::CommentNode = 0x04,
  SimTK::Xml::UnknownNode = 0x08,
  SimTK::Xml::NoJunkNodes = ElementNode|TextNode,
  SimTK::Xml::JunkNodes = CommentNode|UnknownNode,
  SimTK::Xml::AnyNodes = NoJunkNodes|JunkNodes
}
 The Xml::NodeType enum serves as the actual type of a node and as a filter for allowable node types during an iteration over nodes. More...
 

Functions

String SimTK::Xml::getNodeTypeAsString (NodeType type)
 Translate a NodeType to a human-readable string. More...