ThePEG::Named Class Reference

The Named class is a simple concrete base class to used by classes of objects with a name. More...

#include <Named.h>

Inheritance diagram for ThePEG::Named:

ThePEG::ClassDescriptionBase ThePEG::Event ThePEG::InputDescription ThePEG::InterfaceBase ThePEG::InterfacedBase ThePEG::SwitchOption ThePEG::ClassDescriptionTBase< unsigned > ThePEG::ClassDescriptionTBase< T > ThePEG::CommandBase ThePEG::DeletedBase ThePEG::ParameterBase ThePEG::ParVectorBase ThePEG::RefInterfaceBase ThePEG::SwitchBase ThePEG::Interfaced

List of all members.

Public Member Functions

 Named (const string &newName=string())
 Constructor with name.
const string & name () const
 Return name.
bool operator== (const Named &other) const
 Test for equality.
bool operator< (const Named &other) const
 Lexicographical comparison.

Protected Member Functions

const Namedoperator= (const Named &other)
 Assignment.
const string & name (const string &newName)
 Set new name.

Private Attributes

string theName
 The string containing the name.


Detailed Description

The Named class is a simple concrete base class to used by classes of objects with a name.

It just defines a string member variable with corresponding (protected) set and get functions.

Definition at line 24 of file Named.h.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:25 2010 for ThePEG by  doxygen 1.5.5