Răsfoiți Sursa

Reformat XmlNode class

Patrick-Christopher Mattulat 3 ani în urmă
părinte
comite
614f1c4e3d
1 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 5 5
      include/ls_std/io/xml/XmlNode.hpp

+ 5 - 5
include/ls_std/io/xml/XmlNode.hpp

@@ -45,8 +45,8 @@ namespace ls_std
       bool removeLastAttribute();
       bool removeFirstChild();
       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();
 
     protected:
@@ -61,10 +61,10 @@ namespace ls_std
       const static uint8_t TAB_SIZE{4};
       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 _checkIfNameIsNotEmpty(const std::string& _name);
+      static void _checkIfNameIsNotEmpty(const std::string &_name);
       static void _checkIfNodeReferenceIsValid(const std::shared_ptr<ls_std::XmlNode> &_child);
       static std::string _getTab(uint8_t _tabSize);
       bool _hasAttribute(const std::string &_name);