odtone::mih::id
// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/types/identification.hpp> class id { public: // construct/copy/destruct id(); explicit id(const octet_string &); // public member functions void assign(const octet_string &); const mih::octet_string & to_string() const; bool operator==(const id &) const; bool operator!=(const id &) const; template<typename ArchiveT> void serialize(ArchiveT &); };
MIHF_ID data type.
id
public member functionsvoid assign(const octet_string & id);
Assign the MIHF ID.
Parameters: |
|
const mih::octet_string & to_string() const;
Get the MIHF_ID.
Returns: |
The MIHF ID string. |
bool operator==(const id & other) const;
Check if the MIHF_ID is equal to another MIHF_ID.
Parameters: |
|
||
Returns: |
True if they are equal or false otherwise. |
bool operator!=(const id & other) const;
Check if the MIHF_ID is different of another MIHF_ID.
Parameters: |
|
||
Returns: |
True if they are different or false otherwise. |
template<typename ArchiveT> void serialize(ArchiveT & ar);
Serialize/deserialize the MIHF_ID data type.
Parameters: |
|