#include <llxmltree.h>
Definition at line 89 of file llxmltree.h.
typedef std::map<LLStdStringHandle, const LLString*> LLXmlTreeNode::attribute_map_t [protected] |
Definition at line 178 of file llxmltree.h.
typedef std::list<class LLXmlTreeNode *> LLXmlTreeNode::child_list_t [private] |
Definition at line 185 of file llxmltree.h.
typedef std::multimap<LLStdStringHandle, LLXmlTreeNode *> LLXmlTreeNode::child_map_t [private] |
Definition at line 189 of file llxmltree.h.
LLXmlTreeNode::LLXmlTreeNode | ( | const std::string & | name, | |
LLXmlTreeNode * | parent, | |||
LLXmlTree * | tree | |||
) | [protected] |
Definition at line 107 of file llxmltree.cpp.
LLXmlTreeNode::~LLXmlTreeNode | ( | ) | [virtual] |
const std::string& LLXmlTreeNode::getName | ( | void | ) | [inline] |
Definition at line 101 of file llxmltree.h.
References mName.
Referenced by LLUIImageList::initFromFile(), LLControlGroup::loadFromFileLegacy(), and LLVOAvatarBoneInfo::parseXml().
BOOL LLXmlTreeNode::hasName | ( | const std::string & | name | ) | [inline] |
Definition at line 105 of file llxmltree.h.
References mName.
Referenced by LLVOAvatar::initClass(), LLGenePool::load(), loadAttentions(), LLGenePool::loadNodeArchetype(), LLVOAvatar::parseSkeletonFile(), LLVOAvatarBoneInfo::parseXml(), LLViewerVisualParamInfo::parseXml(), LLTexParamColorInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), LLPolySkeletalDistortionInfo::parseXml(), and LLDriverParamInfo::parseXml().
BOOL LLXmlTreeNode::hasAttribute | ( | const std::string & | name | ) |
Definition at line 141 of file llxmltree.cpp.
References LLStdStringTable::addString(), mAttributes, and LLXmlTree::sAttributeKeys.
Referenced by LLUIImageList::initFromFile(), and LLControlGroup::loadFromFileLegacy().
BOOL LLXmlTreeNode::getFastAttributeBOOL | ( | LLStdStringHandle | cannonical_name, | |
BOOL & | value | |||
) |
Definition at line 205 of file llxmltree.cpp.
References LLStringBase< char >::convertToBOOL(), and getAttribute().
Referenced by getAttributeBOOL(), LLAppViewer::initConfiguration(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeU8 | ( | LLStdStringHandle | cannonical_name, | |
U8 & | value | |||
) |
Definition at line 211 of file llxmltree.cpp.
References LLStringBase< char >::convertToU8(), and getAttribute().
Referenced by getAttributeU8().
BOOL LLXmlTreeNode::getFastAttributeS8 | ( | LLStdStringHandle | cannonical_name, | |
S8 & | value | |||
) |
Definition at line 217 of file llxmltree.cpp.
References LLStringBase< char >::convertToS8(), and getAttribute().
Referenced by getAttributeS8().
BOOL LLXmlTreeNode::getFastAttributeU16 | ( | LLStdStringHandle | cannonical_name, | |
U16 & | value | |||
) |
Definition at line 229 of file llxmltree.cpp.
References LLStringBase< char >::convertToU16(), and getAttribute().
Referenced by getAttributeU16().
BOOL LLXmlTreeNode::getFastAttributeS16 | ( | LLStdStringHandle | cannonical_name, | |
S16 & | value | |||
) |
Definition at line 223 of file llxmltree.cpp.
References LLStringBase< char >::convertToS16(), and getAttribute().
Referenced by getAttributeS16().
BOOL LLXmlTreeNode::getFastAttributeU32 | ( | LLStdStringHandle | cannonical_name, | |
U32 & | value | |||
) |
Definition at line 235 of file llxmltree.cpp.
References LLStringBase< char >::convertToU32(), and getAttribute().
Referenced by getAttributeU32(), and LLVisualParamInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeS32 | ( | LLStdStringHandle | cannonical_name, | |
S32 & | value | |||
) |
Definition at line 241 of file llxmltree.cpp.
References LLStringBase< char >::convertToS32(), and getAttribute().
Referenced by getAttributeS32(), LLVOAvatar::initClass(), LLGenePool::loadNodeArchetype(), LLVOAvatarSkeletonInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLVisualParamInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeF32 | ( | LLStdStringHandle | cannonical_name, | |
F32 & | value | |||
) |
Definition at line 247 of file llxmltree.cpp.
References LLStringBase< char >::convertToF32(), and getAttribute().
Referenced by getAttributeF32(), LLGenePool::loadNodeArchetype(), LLViewerVisualParamInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), and LLVisualParamInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeF64 | ( | LLStdStringHandle | cannonical_name, | |
F64 & | value | |||
) |
Definition at line 253 of file llxmltree.cpp.
References LLStringBase< char >::convertToF64(), and getAttribute().
Referenced by getAttributeF64().
BOOL LLXmlTreeNode::getFastAttributeColor | ( | LLStdStringHandle | cannonical_name, | |
LLColor4 & | value | |||
) |
Definition at line 259 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLColor4::parseColor().
Referenced by getAttributeColor().
BOOL LLXmlTreeNode::getFastAttributeColor4 | ( | LLStdStringHandle | cannonical_name, | |
LLColor4 & | value | |||
) |
Definition at line 265 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLColor4::parseColor4().
Referenced by getAttributeColor4().
BOOL LLXmlTreeNode::getFastAttributeColor4U | ( | LLStdStringHandle | cannonical_name, | |
LLColor4U & | value | |||
) |
Definition at line 271 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLColor4U::parseColor4U().
Referenced by getAttributeColor4U(), and LLTexLayerInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeVector3 | ( | LLStdStringHandle | cannonical_name, | |
LLVector3 & | value | |||
) |
Definition at line 277 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLVector3::parseVector3().
Referenced by getAttributeVector3(), LLVOAvatarBoneInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeVector3d | ( | LLStdStringHandle | cannonical_name, | |
LLVector3d & | value | |||
) |
Definition at line 283 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLVector3d::parseVector3d().
Referenced by getAttributeVector3d().
BOOL LLXmlTreeNode::getFastAttributeQuat | ( | LLStdStringHandle | cannonical_name, | |
LLQuaternion & | value | |||
) |
Definition at line 289 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLQuaternion::parseQuat().
Referenced by getAttributeQuat().
BOOL LLXmlTreeNode::getFastAttributeUUID | ( | LLStdStringHandle | cannonical_name, | |
LLUUID & | value | |||
) |
Definition at line 295 of file llxmltree.cpp.
References FALSE, getAttribute(), and LLUUID::parseUUID().
Referenced by getAttributeUUID(), and LLGenePool::loadNodeArchetype().
BOOL LLXmlTreeNode::getFastAttributeString | ( | LLStdStringHandle | cannonical_name, | |
LLString & | value | |||
) |
Definition at line 301 of file llxmltree.cpp.
References FALSE, getAttribute(), and TRUE.
Referenced by getAttributeString(), LLVOAvatar::initClass(), LLGenePool::load(), loadAttentions(), LLVOAvatar::parseSkeletonFile(), LLVOAvatarBoneInfo::parseXml(), LLViewerVisualParamInfo::parseXml(), LLTexParamColorInfo::parseXml(), LLTexGlobalColorInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), LLVisualParamInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
Definition at line 316 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeBOOL(), and LLXmlTree::sAttributeKeys.
Referenced by LLUIImageList::initFromFile(), and LLControlGroup::loadFromFileLegacy().
Definition at line 322 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU8(), and LLXmlTree::sAttributeKeys.
Definition at line 328 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS8(), and LLXmlTree::sAttributeKeys.
Definition at line 340 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU16(), and LLXmlTree::sAttributeKeys.
Definition at line 334 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS16(), and LLXmlTree::sAttributeKeys.
Definition at line 346 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU32(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
Definition at line 352 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS32(), and LLXmlTree::sAttributeKeys.
Referenced by LLUIImageList::initFromFile(), and LLControlGroup::loadFromFileLegacy().
Definition at line 358 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeF32(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
Definition at line 364 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeF64(), and LLXmlTree::sAttributeKeys.
Definition at line 370 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeColor(), and LLXmlTree::sAttributeKeys.
Definition at line 376 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeColor4(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
Definition at line 382 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeColor4U(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
Definition at line 388 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeVector3(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
BOOL LLXmlTreeNode::getAttributeVector3d | ( | const std::string & | name, | |
LLVector3d & | value | |||
) | [virtual] |
Definition at line 394 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeVector3d(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFileLegacy().
BOOL LLXmlTreeNode::getAttributeQuat | ( | const std::string & | name, | |
LLQuaternion & | value | |||
) | [virtual] |
Definition at line 400 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeQuat(), and LLXmlTree::sAttributeKeys.
Definition at line 406 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeUUID(), and LLXmlTree::sAttributeKeys.
Definition at line 412 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeString(), and LLXmlTree::sAttributeKeys.
Referenced by LLUIImageList::initFromFile(), LLControlGroup::loadFromFileLegacy(), and loadGender().
const LLString& LLXmlTreeNode::getContents | ( | ) | [inline] |
Definition at line 150 of file llxmltree.h.
References mContents.
Referenced by getTextContents(), and LLAppViewer::initConfiguration().
LLString LLXmlTreeNode::getTextContents | ( | ) |
Definition at line 440 of file llxmltree.cpp.
References getChildByName(), getContents(), getNextNamedChild(), mContents, n, p, and S32.
LLXmlTreeNode* LLXmlTreeNode::getParent | ( | ) | [inline] |
Definition at line 156 of file llxmltree.h.
References mParent.
Referenced by LLXmlTreeParser::endElement().
LLXmlTreeNode * LLXmlTreeNode::getFirstChild | ( | ) |
Definition at line 155 of file llxmltree.cpp.
References getNextChild(), mChildList, and mChildListIter.
Referenced by LLXmlTree::dumpNode(), LLVOTree::initClass(), LLVOGrass::initClass(), LLUIImageList::initFromFile(), LLControlGroup::loadFromFileLegacy(), LLVOAvatarSkeletonInfo::parseXml(), LLVOAvatarBoneInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), and LLPolySkeletalDistortionInfo::parseXml().
LLXmlTreeNode * LLXmlTreeNode::getNextChild | ( | ) |
Definition at line 160 of file llxmltree.cpp.
References mChildList, and mChildListIter.
Referenced by LLXmlTree::dumpNode(), getFirstChild(), LLVOTree::initClass(), LLVOGrass::initClass(), LLUIImageList::initFromFile(), LLControlGroup::loadFromFileLegacy(), LLVOAvatarSkeletonInfo::parseXml(), LLVOAvatarBoneInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), and LLPolySkeletalDistortionInfo::parseXml().
S32 LLXmlTreeNode::getChildCount | ( | ) | [inline] |
LLXmlTreeNode * LLXmlTreeNode::getChildByName | ( | const std::string & | name | ) |
Definition at line 168 of file llxmltree.cpp.
References LLStdStringTable::checkString(), getNextNamedChild(), mChildMap, mChildMapEndIter, mChildMapIter, LLXmlTree::mNodeNames, and mTree.
Referenced by getTextContents(), LLVOAvatar::initClass(), LLAppViewer::initConfiguration(), LLUIImageList::initFromFile(), LLGenePool::load(), loadAttentions(), loadGender(), LLGenePool::loadNodeArchetype(), LLTexParamColorInfo::parseXml(), LLTexGlobalColorInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), LLPolySkeletalDistortionInfo::parseXml(), LLDriverParamInfo::parseXml(), LLVOAvatarInfo::parseXmlColorNodes(), LLVOAvatarInfo::parseXmlDriverNodes(), LLVOAvatarInfo::parseXmlLayerNodes(), LLVOAvatarInfo::parseXmlMeshNodes(), and LLVOAvatarInfo::parseXmlSkeletonNode().
LLXmlTreeNode * LLXmlTreeNode::getNextNamedChild | ( | ) |
Definition at line 176 of file llxmltree.cpp.
References mChildMapEndIter, mChildMapIter, and NULL.
Referenced by getChildByName(), getTextContents(), LLGenePool::load(), loadAttentions(), loadGender(), LLGenePool::loadNodeArchetype(), LLTexParamColorInfo::parseXml(), LLTexGlobalColorInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), LLDriverParamInfo::parseXml(), LLVOAvatarInfo::parseXmlColorNodes(), LLVOAvatarInfo::parseXmlDriverNodes(), LLVOAvatarInfo::parseXmlLayerNodes(), LLVOAvatarInfo::parseXmlMeshNodes(), and LLVOAvatarInfo::parseXmlSkeletonNode().
const LLString* LLXmlTreeNode::getAttribute | ( | LLStdStringHandle | name | ) | [inline, protected] |
Definition at line 164 of file llxmltree.h.
References mAttributes.
Referenced by getFastAttributeBOOL(), getFastAttributeColor(), getFastAttributeColor4(), getFastAttributeColor4U(), getFastAttributeF32(), getFastAttributeF64(), getFastAttributeQuat(), getFastAttributeS16(), getFastAttributeS32(), getFastAttributeS8(), getFastAttributeString(), getFastAttributeU16(), getFastAttributeU32(), getFastAttributeU8(), getFastAttributeUUID(), getFastAttributeVector3(), and getFastAttributeVector3d().
void LLXmlTreeNode::addAttribute | ( | const std::string & | name, | |
const std::string & | value | |||
) | [private] |
Definition at line 148 of file llxmltree.cpp.
References LLStdStringTable::addString(), mAttributes, and LLXmlTree::sAttributeKeys.
Referenced by LLXmlTreeParser::startElement().
void LLXmlTreeNode::appendContents | ( | const std::string & | str | ) | [private] |
Definition at line 184 of file llxmltree.cpp.
References mContents.
Referenced by LLXmlTreeParser::characterData().
void LLXmlTreeNode::addChild | ( | LLXmlTreeNode * | child | ) | [private] |
Definition at line 189 of file llxmltree.cpp.
References LLStdStringTable::insert(), llassert, mChildList, mChildMap, mName, LLXmlTree::mNodeNames, mParent, and mTree.
Referenced by LLXmlTreeParser::startElement().
void LLXmlTreeNode::dump | ( | const LLString & | prefix | ) | [private] |
Definition at line 124 of file llxmltree.cpp.
References llcont, llendl, llinfos, mAttributes, mContents, and mName.
Referenced by LLXmlTree::dumpNode().
friend class LLXmlTree [friend] |
Definition at line 91 of file llxmltree.h.
friend class LLXmlTreeParser [friend] |
Definition at line 92 of file llxmltree.h.
attribute_map_t LLXmlTreeNode::mAttributes [protected] |
Definition at line 179 of file llxmltree.h.
Referenced by addAttribute(), dump(), getAttribute(), hasAttribute(), and ~LLXmlTreeNode().
LLString LLXmlTreeNode::mName [private] |
Definition at line 182 of file llxmltree.h.
Referenced by addChild(), dump(), getName(), and hasName().
LLString LLXmlTreeNode::mContents [private] |
Definition at line 183 of file llxmltree.h.
Referenced by appendContents(), dump(), LLXmlTreeParser::endElement(), getContents(), and getTextContents().
child_list_t LLXmlTreeNode::mChildList [private] |
Definition at line 186 of file llxmltree.h.
Referenced by addChild(), getChildCount(), getFirstChild(), getNextChild(), and ~LLXmlTreeNode().
child_list_t::iterator LLXmlTreeNode::mChildListIter [private] |
child_map_t LLXmlTreeNode::mChildMap [private] |
child_map_t::iterator LLXmlTreeNode::mChildMapIter [private] |
Definition at line 191 of file llxmltree.h.
Referenced by getChildByName(), and getNextNamedChild().
child_map_t::iterator LLXmlTreeNode::mChildMapEndIter [private] |
Definition at line 192 of file llxmltree.h.
Referenced by getChildByName(), and getNextNamedChild().
LLXmlTreeNode* LLXmlTreeNode::mParent [private] |
LLXmlTree* LLXmlTreeNode::mTree [private] |