#include <llxmltree.h>

Public Member Functions | |
| LLXmlTree () | |
| virtual | ~LLXmlTree () |
| void | cleanup () |
| virtual BOOL | parseFile (const std::string &path, BOOL keep_contents=TRUE) |
| LLXmlTreeNode * | getRoot () |
| void | dump () |
| void | dumpNode (LLXmlTreeNode *node, const LLString &prefix) |
Static Public Member Functions | |
| static LLStdStringHandle | addAttributeString (const std::string &name) |
Static Public Attributes | |
| static LLStdStringTable | sAttributeKeys |
Protected Attributes | |
| LLXmlTreeNode * | mRoot |
| LLStdStringTable | mNodeNames |
Friends | |
| class | LLXmlTreeNode |
Definition at line 54 of file llxmltree.h.
| LLXmlTree::LLXmlTree | ( | ) |
Definition at line 50 of file llxmltree.cpp.
| LLXmlTree::~LLXmlTree | ( | ) | [virtual] |
Definition at line 56 of file llxmltree.cpp.
References cleanup().

| void LLXmlTree::cleanup | ( | ) |
Definition at line 61 of file llxmltree.cpp.
References LLStdStringTable::cleanup(), mNodeNames, mRoot, and NULL.
Referenced by LLVOAvatar::cleanupClass(), and ~LLXmlTree().


Definition at line 69 of file llxmltree.cpp.
References LLXmlParser::getCurrentLineNumber(), LLXmlParser::getErrorString(), llendl, llwarns, mRoot, NULL, LLXmlTreeParser::parseFile(), and S32.
Referenced by LLVOTree::initClass(), LLVOGrass::initClass(), LLVOAvatar::initClass(), LLAppViewer::initConfiguration(), LLUIImageList::initFromFile(), LLGenePool::load(), LLControlGroup::loadFromFileLegacy(), LLVOAvatar::parseSkeletonFile(), and test_llxmltree().


| LLXmlTreeNode* LLXmlTree::getRoot | ( | ) | [inline] |
Definition at line 65 of file llxmltree.h.
References mRoot.
Referenced by LLVOTree::initClass(), LLVOGrass::initClass(), LLVOAvatar::initClass(), LLAppViewer::initConfiguration(), LLUIImageList::initFromFile(), LLGenePool::load(), LLControlGroup::loadFromFileLegacy(), and LLVOAvatar::parseSkeletonFile().

| void LLXmlTree::dump | ( | ) |
Definition at line 85 of file llxmltree.cpp.
References dumpNode(), and mRoot.
Referenced by test_llxmltree().


| void LLXmlTree::dumpNode | ( | LLXmlTreeNode * | node, | |
| const LLString & | prefix | |||
| ) |
Definition at line 93 of file llxmltree.cpp.
References LLXmlTreeNode::dump(), LLXmlTreeNode::getFirstChild(), and LLXmlTreeNode::getNextChild().
Referenced by dump().


| static LLStdStringHandle LLXmlTree::addAttributeString | ( | const std::string & | name | ) | [inline, static] |
Definition at line 70 of file llxmltree.h.
References LLStdStringTable::addString(), and sAttributeKeys.
Referenced by LLVOTree::initClass(), LLVOGrass::initClass(), LLVOAvatar::initClass(), LLAppViewer::initConfiguration(), LLGenePool::load(), loadAttentions(), LLGenePool::loadNodeArchetype(), LLVOAvatar::parseSkeletonFile(), LLVOAvatarSkeletonInfo::parseXml(), LLVOAvatarBoneInfo::parseXml(), LLViewerVisualParamInfo::parseXml(), LLTexParamColorInfo::parseXml(), LLTexGlobalColorInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), LLPolySkeletalDistortionInfo::parseXml(), LLDriverParamInfo::parseXml(), LLVisualParamInfo::parseXml(), LLVOAvatarInfo::parseXmlColorNodes(), LLVOAvatarInfo::parseXmlMeshNodes(), and LLVOAvatarInfo::parseXmlSkeletonNode().


friend class LLXmlTreeNode [friend] |
Definition at line 56 of file llxmltree.h.
Definition at line 77 of file llxmltree.h.
Referenced by LLXmlTreeNode::addAttribute(), addAttributeString(), LLXmlTreeNode::getAttributeBOOL(), LLXmlTreeNode::getAttributeColor(), LLXmlTreeNode::getAttributeColor4(), LLXmlTreeNode::getAttributeColor4U(), LLXmlTreeNode::getAttributeF32(), LLXmlTreeNode::getAttributeF64(), LLXmlTreeNode::getAttributeQuat(), LLXmlTreeNode::getAttributeS16(), LLXmlTreeNode::getAttributeS32(), LLXmlTreeNode::getAttributeS8(), LLXmlTreeNode::getAttributeString(), LLXmlTreeNode::getAttributeU16(), LLXmlTreeNode::getAttributeU32(), LLXmlTreeNode::getAttributeU8(), LLXmlTreeNode::getAttributeUUID(), LLXmlTreeNode::getAttributeVector3(), LLXmlTreeNode::getAttributeVector3d(), and LLXmlTreeNode::hasAttribute().
LLXmlTreeNode* LLXmlTree::mRoot [protected] |
Definition at line 80 of file llxmltree.h.
Referenced by cleanup(), dump(), getRoot(), and parseFile().
LLStdStringTable LLXmlTree::mNodeNames [protected] |
Definition at line 83 of file llxmltree.h.
Referenced by LLXmlTreeNode::addChild(), cleanup(), and LLXmlTreeNode::getChildByName().
1.5.5