1 #include "Sti/Base/Described.h"
5 _description = description;
8 Described::~Described()
13 _description = description;
18 return string(_description);
23 return (_description.size()>0 && _description!=
" ");
28 return _description==description;
33 return _description==described._description;
void setDescription(const string &description)
Set the Describe of the object.
bool isDescription(const string &description) const
Determine whether Describe equals given Describe.
Described(const string &aDescribe=" ")
Only derived class are Described.
const string getDescription() const
Get the Describe of the object.
bool sameDescriptionAs(const Described &described) const
Determine whether Describe equals that of given object.
bool isDescribed() const
Determine whether Describe is set, i.e object has a Describe.