18 #include "NamespaceHeader.H" 35 explicit IFid(
const std::string& a_name)
53 for (
int i = 1; i < a_IDs.
size(); ++i)
103 return !(*
this == a_rhs);
135 const void*
const inBuf)
154 #include "NamespaceFooter.H" ~IFid()
Destructor (not virtual).
Definition: IFid.H:61
Vector< std::string > m_names
Definition: IFid.H:115
#define CH_assert(cond)
Definition: CHArray.H:37
IFid(const IFid &a_rhs)
Copy constructor.
Definition: IFid.H:42
bool operator==(const IFid &a_rhs) const
Returns true if the given IFid is the same as this one, false otherwise.
Definition: IFid.H:89
void setNames(const Vector< std::string > &a_names)
Sets the names associated with this identifier.
Definition: IFid.H:76
void append(const IFid &a_rhs)
Definition: IFid.H:108
IFid(const std::string &a_name)
Constructs an ID from the given string.
Definition: IFid.H:35
int linearSize(const IFid &a_id)
Definition: IFid.H:124
IFid & operator=(const IFid &a_rhs)
Assignment operator.
Definition: IFid.H:66
void push_back(const T &in)
Definition: Vector.H:283
void linearOut(void *const a_outBuf, const IFid &a_id)
Definition: IFid.H:147
size_t size() const
Definition: Vector.H:177
static IFid aggregate(const Vector< IFid > &a_IDs)
This factory method creates an ID by aggregating the given list of IDs.
Definition: IFid.H:49
const Vector< std::string > & names() const
Definition: IFid.H:83
bool operator!=(const IFid &a_rhs) const
Returns true if the given IFid differs from this one, false otherwise.
Definition: IFid.H:101
void linearIn(IFid &a_id, const void *const inBuf)
Definition: IFid.H:134
IFid()
Constructs an empty ID. This is needed for serialization.
Definition: IFid.H:28