|
OpenSceneGraph
3.0.1
|
XmlNode class for very basic reading and writing of xml files. More...

Classes | |
| class | ControlMap |
| class | Input |
Public Types | |
| enum | NodeType { UNASSIGNED, ATOM, NODE, GROUP, ROOT, COMMENT, INFORMATION } |
| typedef std::map< std::string, std::string > | Properties |
| typedef std::vector < osg::ref_ptr< XmlNode > > | Children |
Public Member Functions | |
| XmlNode () | |
| std::string | getTrimmedContents () const |
| bool | read (Input &input) |
| bool | write (std::ostream &fout, const std::string &indent="") const |
| bool | write (const ControlMap &controlMap, std::ostream &fout, const std::string &indent="") const |
| bool | writeString (const ControlMap &controlMap, std::ostream &fout, const std::string &str) const |
Public Attributes | |
| NodeType | type |
| std::string | name |
| std::string | contents |
| Properties | properties |
| Children | children |
Protected Member Functions | |
| bool | writeChildren (const ControlMap &controlMap, std::ostream &fout, const std::string &indent) const |
| bool | writeProperties (const ControlMap &controlMap, std::ostream &fout) const |
| bool | readAndReplaceControl (std::string &contents, Input &input) |
XmlNode class for very basic reading and writing of xml files.
| typedef std::vector< osg::ref_ptr<XmlNode> > osgDB::XmlNode::Children |
| typedef std::map< std::string, std::string > osgDB::XmlNode::Properties |
| std::string osgDB::XmlNode::getTrimmedContents | ( | ) | const [inline] |
References osgDB::trimEnclosingSpaces().
| bool osgDB::XmlNode::read | ( | Input & | input | ) |
| bool osgDB::XmlNode::readAndReplaceControl | ( | std::string & | contents, |
| Input & | input | ||
| ) | [protected] |
| bool osgDB::XmlNode::write | ( | std::ostream & | fout, |
| const std::string & | indent = "" |
||
| ) | const |
| bool osgDB::XmlNode::write | ( | const ControlMap & | controlMap, |
| std::ostream & | fout, | ||
| const std::string & | indent = "" |
||
| ) | const |
| bool osgDB::XmlNode::writeChildren | ( | const ControlMap & | controlMap, |
| std::ostream & | fout, | ||
| const std::string & | indent | ||
| ) | const [protected] |
| bool osgDB::XmlNode::writeProperties | ( | const ControlMap & | controlMap, |
| std::ostream & | fout | ||
| ) | const [protected] |
| bool osgDB::XmlNode::writeString | ( | const ControlMap & | controlMap, |
| std::ostream & | fout, | ||
| const std::string & | str | ||
| ) | const |
| std::string osgDB::XmlNode::contents |
| std::string osgDB::XmlNode::name |
| Generated at Thu Sep 27 2012 17:03:13 for the OpenSceneGraph by doxygen 1.7.6.1. |