LAPTOP-SNT8I5JK\Boounion
2025-09-15 5bddb50bb11a06b07922b989b24ad6e7f4fdca3f
SourceCode/Bond/Servo/CAttribute.cpp
@@ -4,18 +4,39 @@
namespace SERVO {
   CAttribute::CAttribute()
   {
      m_nWeight = 0;
   }
   CAttribute::CAttribute(const char* pszName, const char* pszValue, const char* pszDescription)
   CAttribute::CAttribute(const char* pszName, const char* pszValue, const char* pszDescription, unsigned int weight)
   {
      m_strName = pszName;
      m_strValue = pszValue;
      m_strDescription = pszDescription;
      m_nWeight = weight;
   }
   CAttribute::~CAttribute()
   {
   }
   std::string& CAttribute::getName()
   {
      return m_strName;
   }
   std::string& CAttribute::getValue()
   {
      return m_strValue;
   }
   std::string& CAttribute::getDescription()
   {
      return m_strDescription;
   }
   unsigned int CAttribute::getWeight()
   {
      return m_nWeight;
   }
}