SourceCode/Bond/Servo/CAttribute.cpp
@@ -4,14 +4,15 @@ 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() @@ -33,4 +34,9 @@ { return m_strDescription; } unsigned int CAttribute::getWeight() { return m_nWeight; } }