22 void setName(
const string & newName);
29 bool isName(
const string & aName)
const;
33 Named(
const string & aName=
" ");
bool isName(const string &aName) const
Determine whether name equals given name.
void setName(const string &newName)
Set the name of the object.
Named(const string &aName=" ")
Only derived class are Named.
const string & getName() const
Get the name of the object.