|
@@ -45,8 +45,8 @@ namespace ls_std
|
|
bool removeLastAttribute();
|
|
bool removeLastAttribute();
|
|
bool removeFirstChild();
|
|
bool removeFirstChild();
|
|
bool removeLastChild();
|
|
bool removeLastChild();
|
|
- void setName(const std::string& _name);
|
|
|
|
- void setValue(const std::string& _value);
|
|
|
|
|
|
+ void setName(const std::string &_name);
|
|
|
|
+ void setValue(const std::string &_value);
|
|
std::string toXml();
|
|
std::string toXml();
|
|
|
|
|
|
protected:
|
|
protected:
|
|
@@ -61,10 +61,10 @@ namespace ls_std
|
|
const static uint8_t TAB_SIZE{4};
|
|
const static uint8_t TAB_SIZE{4};
|
|
std::string value{};
|
|
std::string value{};
|
|
|
|
|
|
- void _assignName(const std::string& _name);
|
|
|
|
- void _assignValue(const std::string& _value);
|
|
|
|
|
|
+ void _assignName(const std::string &_name);
|
|
|
|
+ void _assignValue(const std::string &_value);
|
|
static void _checkIfAttributeReferenceIsValid(const std::shared_ptr<ls_std::XmlAttribute> &_attribute);
|
|
static void _checkIfAttributeReferenceIsValid(const std::shared_ptr<ls_std::XmlAttribute> &_attribute);
|
|
- static void _checkIfNameIsNotEmpty(const std::string& _name);
|
|
|
|
|
|
+ static void _checkIfNameIsNotEmpty(const std::string &_name);
|
|
static void _checkIfNodeReferenceIsValid(const std::shared_ptr<ls_std::XmlNode> &_child);
|
|
static void _checkIfNodeReferenceIsValid(const std::shared_ptr<ls_std::XmlNode> &_child);
|
|
static std::string _getTab(uint8_t _tabSize);
|
|
static std::string _getTab(uint8_t _tabSize);
|
|
bool _hasAttribute(const std::string &_name);
|
|
bool _hasAttribute(const std::string &_name);
|