#include <IFid.H>
Public Member Functions | |
IFid () | |
Constructs an empty ID. This is needed for serialization. | |
IFid (const std::string &a_name) | |
Constructs an ID from the given string. | |
IFid (const IFid &a_rhs) | |
Copy constructor. | |
~IFid () | |
Destructor (not virtual). | |
IFid & | operator= (const IFid &a_rhs) |
Assignment operator. | |
void | setNames (const Vector< std::string > &a_names) |
Sets the names associated with this identifier. | |
const Vector< std::string > & | names () const |
bool | operator== (const IFid &a_rhs) const |
Returns true if the given IFid is the same as this one, false otherwise. | |
bool | operator!= (const IFid &a_rhs) const |
Returns true if the given IFid differs from this one, false otherwise. | |
Static Public Member Functions | |
static IFid | aggregate (const Vector< IFid > &a_IDs) |
This factory method creates an ID by aggregating the given list of IDs. | |
Private Member Functions | |
void | append (const IFid &a_rhs) |
Private Attributes | |
Vector< std::string > | m_names |
IFid::IFid | ( | ) | [inline] |
Constructs an empty ID. This is needed for serialization.
IFid::IFid | ( | const std::string & | a_name | ) | [inline, explicit] |
Constructs an ID from the given string.
IFid::IFid | ( | const IFid & | a_rhs | ) | [inline] |
Copy constructor.
IFid::~IFid | ( | ) | [inline] |
Destructor (not virtual).
This factory method creates an ID by aggregating the given list of IDs.
References CH_assert, and Vector< T >::size().
void IFid::setNames | ( | const Vector< std::string > & | a_names | ) | [inline] |
const Vector<std::string>& IFid::names | ( | ) | const [inline] |
Returns the list of names identifying all functions associated with this IFid.
References m_names.
Referenced by linearOut(), and linearSize().
bool IFid::operator== | ( | const IFid & | a_rhs | ) | const [inline] |
Returns true if the given IFid is the same as this one, false otherwise.
References m_names, and Vector< T >::size().
bool IFid::operator!= | ( | const IFid & | a_rhs | ) | const [inline] |
Returns true if the given IFid differs from this one, false otherwise.
void IFid::append | ( | const IFid & | a_rhs | ) | [inline, private] |
References m_names, Vector< T >::push_back(), and Vector< T >::size().
Vector<std::string> IFid::m_names [private] |
Referenced by append(), names(), operator=(), operator==(), and setNames().