#include <llxmltree.h>
Collaboration diagram for LLXmlTreeNode:
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] |
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::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::appendContents | ( | const std::string & | str | ) | [private] |
Definition at line 184 of file llxmltree.cpp.
References mContents.
Referenced by LLXmlTreeParser::characterData().
Definition at line 124 of file llxmltree.cpp.
References llcont, llendl, llinfos, mAttributes, mContents, and mName.
Referenced by LLXmlTree::dumpNode().
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().
Definition at line 316 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeBOOL(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
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::loadFromFile().
Definition at line 382 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeColor4U(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
Definition at line 358 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeF32(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
Definition at line 364 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeF64(), and LLXmlTree::sAttributeKeys.
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 334 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS16(), and LLXmlTree::sAttributeKeys.
Definition at line 352 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS32(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
Definition at line 328 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeS8(), and LLXmlTree::sAttributeKeys.
Definition at line 412 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeString(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile(), and loadGender().
Definition at line 340 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU16(), and LLXmlTree::sAttributeKeys.
Definition at line 346 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU32(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
Definition at line 322 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeU8(), and LLXmlTree::sAttributeKeys.
Definition at line 406 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeUUID(), and LLXmlTree::sAttributeKeys.
Referenced by LLRegionNameCache::importFile().
Definition at line 388 of file llxmltree.cpp.
References LLStdStringTable::addString(), getFastAttributeVector3(), and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
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::loadFromFile().
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(), LLGenePool::load(), loadAttentions(), loadGender(), LLGenePool::loadNodeArchetype(), main(), 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().
S32 LLXmlTreeNode::getChildCount | ( | ) | [inline] |
const LLString& LLXmlTreeNode::getContents | ( | ) | [inline] |
BOOL LLXmlTreeNode::getFastAttributeBOOL | ( | LLStdStringHandle | cannonical_name, | |
BOOL & | value | |||
) |
Definition at line 205 of file llxmltree.cpp.
References LLStringBase< char >::convertToBOOL(), getAttribute(), and s.
Referenced by getAttributeBOOL(), main(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeColor | ( | LLStdStringHandle | cannonical_name, | |
LLColor4 & | value | |||
) |
Definition at line 259 of file llxmltree.cpp.
References FALSE, getAttribute(), LLColor4::parseColor(), and s.
Referenced by getAttributeColor().
BOOL LLXmlTreeNode::getFastAttributeColor4 | ( | LLStdStringHandle | cannonical_name, | |
LLColor4 & | value | |||
) |
Definition at line 265 of file llxmltree.cpp.
References FALSE, getAttribute(), LLColor4::parseColor4(), and s.
Referenced by getAttributeColor4().
BOOL LLXmlTreeNode::getFastAttributeColor4U | ( | LLStdStringHandle | cannonical_name, | |
LLColor4U & | value | |||
) |
Definition at line 271 of file llxmltree.cpp.
References FALSE, getAttribute(), LLColor4U::parseColor4U(), and s.
Referenced by getAttributeColor4U(), and LLTexLayerInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeF32 | ( | LLStdStringHandle | cannonical_name, | |
F32 & | value | |||
) |
Definition at line 247 of file llxmltree.cpp.
References LLStringBase< char >::convertToF32(), getAttribute(), and s.
Referenced by getAttributeF32(), LLGenePool::loadNodeArchetype(), LLVisualParamInfo::parseXml(), and LLTexLayerParamAlphaInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeF64 | ( | LLStdStringHandle | cannonical_name, | |
F64 & | value | |||
) |
Definition at line 253 of file llxmltree.cpp.
References LLStringBase< char >::convertToF64(), getAttribute(), and s.
Referenced by getAttributeF64().
BOOL LLXmlTreeNode::getFastAttributeQuat | ( | LLStdStringHandle | cannonical_name, | |
LLQuaternion & | value | |||
) |
Definition at line 289 of file llxmltree.cpp.
References FALSE, getAttribute(), LLQuaternion::parseQuat(), and s.
Referenced by getAttributeQuat().
BOOL LLXmlTreeNode::getFastAttributeS16 | ( | LLStdStringHandle | cannonical_name, | |
S16 & | value | |||
) |
Definition at line 223 of file llxmltree.cpp.
References LLStringBase< char >::convertToS16(), getAttribute(), and s.
Referenced by getAttributeS16().
BOOL LLXmlTreeNode::getFastAttributeS32 | ( | LLStdStringHandle | cannonical_name, | |
S32 & | value | |||
) |
Definition at line 241 of file llxmltree.cpp.
References LLStringBase< char >::convertToS32(), getAttribute(), and s.
Referenced by getAttributeS32(), LLVOAvatar::initClass(), LLGenePool::loadNodeArchetype(), LLVOAvatarSkeletonInfo::parseXml(), LLVisualParamInfo::parseXml(), LLTexLayerSetInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeS8 | ( | LLStdStringHandle | cannonical_name, | |
S8 & | value | |||
) |
Definition at line 217 of file llxmltree.cpp.
References LLStringBase< char >::convertToS8(), getAttribute(), and s.
Referenced by getAttributeS8().
BOOL LLXmlTreeNode::getFastAttributeString | ( | LLStdStringHandle | cannonical_name, | |
LLString & | value | |||
) |
Definition at line 301 of file llxmltree.cpp.
References FALSE, getAttribute(), s, and TRUE.
Referenced by getAttributeString(), LLVOAvatar::initClass(), LLGenePool::load(), loadAttentions(), LLVOAvatar::parseSkeletonFile(), LLVOAvatarBoneInfo::parseXml(), LLVisualParamInfo::parseXml(), LLTexParamColorInfo::parseXml(), LLTexGlobalColorInfo::parseXml(), LLTexLayerParamAlphaInfo::parseXml(), LLTexLayerInfo::parseXml(), LLTexLayerSetInfo::parseXml(), and LLVOAvatarInfo::parseXmlSkeletonNode().
BOOL LLXmlTreeNode::getFastAttributeU16 | ( | LLStdStringHandle | cannonical_name, | |
U16 & | value | |||
) |
Definition at line 229 of file llxmltree.cpp.
References LLStringBase< char >::convertToU16(), getAttribute(), and s.
Referenced by getAttributeU16().
BOOL LLXmlTreeNode::getFastAttributeU32 | ( | LLStdStringHandle | cannonical_name, | |
U32 & | value | |||
) |
Definition at line 235 of file llxmltree.cpp.
References LLStringBase< char >::convertToU32(), getAttribute(), and s.
Referenced by getAttributeU32(), and LLVisualParamInfo::parseXml().
BOOL LLXmlTreeNode::getFastAttributeU8 | ( | LLStdStringHandle | cannonical_name, | |
U8 & | value | |||
) |
Definition at line 211 of file llxmltree.cpp.
References LLStringBase< char >::convertToU8(), getAttribute(), and s.
Referenced by getAttributeU8().
BOOL LLXmlTreeNode::getFastAttributeUUID | ( | LLStdStringHandle | cannonical_name, | |
LLUUID & | value | |||
) |
Definition at line 295 of file llxmltree.cpp.
References FALSE, getAttribute(), LLUUID::parseUUID(), and s.
Referenced by getAttributeUUID(), and LLGenePool::loadNodeArchetype().
BOOL LLXmlTreeNode::getFastAttributeVector3 | ( | LLStdStringHandle | cannonical_name, | |
LLVector3 & | value | |||
) |
Definition at line 277 of file llxmltree.cpp.
References FALSE, getAttribute(), LLVector3::parseVector3(), and s.
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(), LLVector3d::parseVector3d(), and s.
Referenced by getAttributeVector3d().
LLXmlTreeNode * LLXmlTreeNode::getFirstChild | ( | ) |
Definition at line 155 of file llxmltree.cpp.
References getNextChild(), mChildList, and mChildListIter.
Referenced by LLXmlTree::dumpNode(), LLRegionNameCache::importFile(), LLVOTree::initClass(), LLVOGrass::initClass(), LLControlGroup::loadFromFile(), LLVOAvatarSkeletonInfo::parseXml(), LLVOAvatarBoneInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), and LLPolySkeletalDistortionInfo::parseXml().
const std::string& LLXmlTreeNode::getName | ( | void | ) | [inline] |
Definition at line 101 of file llxmltree.h.
References mName.
Referenced by LLRegionNameCache::importFile(), LLControlGroup::loadFromFile(), and LLVOAvatarBoneInfo::parseXml().
LLXmlTreeNode * LLXmlTreeNode::getNextChild | ( | ) |
Definition at line 160 of file llxmltree.cpp.
References mChildList, and mChildListIter.
Referenced by LLXmlTree::dumpNode(), getFirstChild(), LLRegionNameCache::importFile(), LLVOTree::initClass(), LLVOGrass::initClass(), LLControlGroup::loadFromFile(), LLVOAvatarSkeletonInfo::parseXml(), LLVOAvatarBoneInfo::parseXml(), LLPolyMorphTargetInfo::parseXml(), and LLPolySkeletalDistortionInfo::parseXml().
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().
LLXmlTreeNode* LLXmlTreeNode::getParent | ( | ) | [inline] |
Definition at line 156 of file llxmltree.h.
References mParent.
Referenced by LLXmlTreeParser::endElement().
LLString LLXmlTreeNode::getTextContents | ( | ) |
Definition at line 440 of file llxmltree.cpp.
References getChildByName(), getNextNamedChild(), m, mContents, n, p, S32, and t.
Referenced by LLRegionNameCache::importFile().
BOOL LLXmlTreeNode::hasAttribute | ( | const std::string & | name | ) |
Definition at line 141 of file llxmltree.cpp.
References LLStdStringTable::addString(), mAttributes, and LLXmlTree::sAttributeKeys.
Referenced by LLControlGroup::loadFromFile().
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().
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().
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::mChildMapEndIter [private] |
Definition at line 192 of file llxmltree.h.
Referenced by getChildByName(), and getNextNamedChild().
child_map_t::iterator LLXmlTreeNode::mChildMapIter [private] |
Definition at line 191 of file llxmltree.h.
Referenced by getChildByName(), and getNextNamedChild().
LLString LLXmlTreeNode::mContents [private] |
Definition at line 183 of file llxmltree.h.
Referenced by appendContents(), dump(), LLXmlTreeParser::endElement(), getContents(), and getTextContents().
LLString LLXmlTreeNode::mName [private] |
Definition at line 182 of file llxmltree.h.
Referenced by addChild(), dump(), getName(), and hasName().
LLXmlTreeNode* LLXmlTreeNode::mParent [private] |
LLXmlTree* LLXmlTreeNode::mTree [private] |