10 #define ThePEG_Named_H 31 Named(
const string & newName =
string())
70 const string &
name(
const string & newName)
string theName
The string containing the name.
bool operator<(const Named &other) const
Lexicographical comparison.
const string & name(const string &newName)
Set new name.
This is the main namespace within which all identifiers in ThePEG are declared.
The Named class is a simple concrete base class to used by classes of objects with a name...
bool operator==(const Named &other) const
Test for equality.
const string & name() const
Return name.
Named(const string &newName=string())
Constructor with name.
const Named & operator=(const Named &other)
Assignment.