19 #include "ICClass.hpp"
20 #include <tobicore/TCTools.hpp>
21 #include <tobicore/TCException.hpp>
32 this->SetValue(value);
33 this->SetLabel(label);
37 this->SetValue(value);
38 this->SetLabel(label);
53 return atoi(this->_label.c_str());
62 if(label.size() > ICCLASS_CHLABEL_SIZE)
76 std::stringstream stream;
79 return this->SetLabel(stream.str());
83 memset(this->_chlabel, 0, ICCLASS_CHLABEL_SIZE*
sizeof(
char));
84 strcpy(this->_chlabel, this->_label.c_str());
85 return (
const char*)(this->_chlabel);
89 memset(this->_chvalue, 0, ICCLASS_CHVALUE_SIZE *
sizeof(
char));
91 return (
const char*)(this->_chvalue);