'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class id

odtone::mih::id

Synopsis

// 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 &);
};

Description

MIHF_ID data type.

id public construct/copy/destruct

  1. id();

    Construct an empty MIHF_ID.

  2. explicit id(const octet_string & id);

    Construct a MIHF_ID.

    Parameters:

    id

    MIHF ID string.

id public member functions

  1. void assign(const octet_string & id);

    Assign the MIHF ID.

    Parameters:

    id

    MIHF ID string.

  2. const mih::octet_string & to_string() const;

    Get the MIHF_ID.

    Returns:

    The MIHF ID string.

  3. bool operator==(const id & other) const;

    Check if the MIHF_ID is equal to another MIHF_ID.

    Parameters:

    other

    MIHF ID to compare with.

    Returns:

    True if they are equal or false otherwise.

  4. bool operator!=(const id & other) const;

    Check if the MIHF_ID is different of another MIHF_ID.

    Parameters:

    other

    MIHF ID to compare with.

    Returns:

    True if they are different or false otherwise.

  5. template<typename ArchiveT> void serialize(ArchiveT & ar);

    Serialize/deserialize the MIHF_ID data type.

    Parameters:

    ar

    The archive to/from where serialize/deserialize the data type.


PrevUpHomeNext