Lines Matching refs:CElement
42 const std::string CElement::gDescriptionPropertyName = "Description";
44 CElement::CElement(const string &strName) : _strName(strName) in CElement() function in CElement
48 CElement::~CElement() in ~CElement()
53 void CElement::setDescription(const string &strDescription) in setDescription()
58 const string &CElement::getDescription() const in getDescription()
63 bool CElement::childrenAreDynamic() const in childrenAreDynamic()
69 bool CElement::init(string &strError) in init()
72 for (CElement *child : _childArray) { in init()
83 string CElement::dumpContent(utility::ErrorContext &errorContext, const size_t depth) const in dumpContent()
114 for (CElement *pChild : _childArray) { in dumpContent()
123 void CElement::showProperties(string &strResult) const in showProperties()
129 void CElement::showDescriptionProperty(std::string &strResult) const in showDescriptionProperty()
137 string CElement::logValue(utility::ErrorContext & /*ctx*/) const in logValue()
143 bool CElement::fromXml(const CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) in fromXml()
154 CElement *pChild; in fromXml()
188 void CElement::childrenToXml(CXmlElement &xmlElement, in childrenToXml()
192 for (CElement *pChild : _childArray) { in childrenToXml()
204 void CElement::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml()
211 void CElement::setXmlDescriptionAttribute(CXmlElement &xmlElement) const in setXmlDescriptionAttribute()
219 void CElement::setXmlNameAttribute(CXmlElement &xmlElement) const in setXmlNameAttribute()
231 void CElement::setName(const string &strName) in setName()
236 const string &CElement::getName() const in getName()
241 bool CElement::rename(const string &strName, string &strError) in rename()
246 for (CElement *pParentChild : _pParent->_childArray) { in rename()
263 string CElement::getPathName() const in getPathName()
275 void CElement::addChild(CElement *pChild) in addChild()
282 CElement *CElement::getChild(size_t index) in getChild()
289 const CElement *CElement::getChild(size_t index) const in getChild()
296 CElement *CElement::createChild(const CXmlElement &childElement, in createChild()
304 CElement *pChild = elementSerializingContext.getElementLibrary()->createElement(childElement); in createChild()
319 bool CElement::removeChild(CElement *pChild) in removeChild()
330 void CElement::listChildren(string &strChildList) const in listChildren()
333 for (CElement *pChild : _childArray) { in listChildren()
339 string CElement::listQualifiedPaths(bool bDive, size_t level) const in listQualifiedPaths()
351 for (CElement *pChild : _childArray) { in listQualifiedPaths()
359 void CElement::listChildrenPaths(string &strChildList) const in listChildrenPaths()
362 for (CElement *pChild : _childArray) { in listChildrenPaths()
368 size_t CElement::getNbChildren() const in getNbChildren()
373 const CElement *CElement::getParent() const in getParent()
378 CElement *CElement::getParent() in getParent()
383 void CElement::clean() in clean()
390 for (CElement *pChild : _childArray) { in clean()
397 void CElement::removeChildren() in removeChildren()
409 const CElement *CElement::findDescendant(CPathNavigator &pathNavigator) const in findDescendant()
418 const CElement *pChild = findChild(*pStrChildName); in findDescendant()
428 CElement *CElement::findDescendant(CPathNavigator &pathNavigator) in findDescendant()
437 CElement *pChild = findChild(*pStrChildName); in findDescendant()
447 bool CElement::isDescendantOf(const CElement *pCandidateAscendant) const in isDescendantOf()
460 CElement *CElement::findChild(const string &strName) in findChild()
462 for (CElement *pChild : _childArray) { in findChild()
473 const CElement *CElement::findChild(const string &strName) const in findChild()
475 for (CElement *pChild : _childArray) { in findChild()
486 CElement *CElement::findChildOfKind(const string &strKind) in findChildOfKind()
488 for (CElement *pChild : _childArray) { in findChildOfKind()
499 const CElement *CElement::findChildOfKind(const string &strKind) const in findChildOfKind()
501 for (CElement *pChild : _childArray) { in findChildOfKind()
512 string CElement::getPath() const in getPath()
522 string CElement::getQualifiedPath() const in getQualifiedPath()
527 string CElement::getXmlElementName() const in getXmlElementName()