36 virtual bool getFromXml(
const std::string &data) {
return false; };
52 virtual void setTimestamp(
unsigned long int timestamp) { this->timestamp = timestamp; };
54 bool compareTimestamp(
unsigned long int first,
unsigned long int second) {
return first > second; };
62 void setName(std::string value) { this->_name = value; };
63 std::string
getName() {
return this->_name; };
71 void setType(std::string value) { this->_type = value; };
72 std::string
getType() {
return this->_type; };
78 std::string _from,
_to;
80 void setFrom(std::string value) { this->_from = value; };
81 std::string
getFrom() {
return this->_from; };
83 void setTo(std::string value) { this->_to = value; };
84 std::string
getTo() {
return this->_to; };
93 void setValid(
bool value =
true) { this->_isValid = value; };
94 bool isValid() {
return this->_isValid; };
void setValid(bool value=true)
bool comparePriority(double first, double second)
virtual unsigned long int getTimestamp()
virtual void setTimestamp(unsigned long int timestamp)
void setFrom(std::string value)
void setType(std::string value)
bool compareTimestamp(unsigned long int first, unsigned long int second)
void setPriority(double value)
unsigned long int timestamp
void setTo(std::string value)
virtual bool getFromXml(const std::string &data)
virtual std::string getAsXml()
void setName(std::string value)