'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct link_id

odtone::mih::link_id

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/types/link.hpp>


struct link_id {
  // construct/copy/destruct
  link_id();

  // public member functions
  template<typename ArchiveT> void serialize(ArchiveT &);
  bool operator==(const link_id &) const;

  // public data members
  link_type type;
  link_addr addr;
};

Description

LINK_ID data type.

link_id public construct/copy/destruct

  1. link_id();

    Construct an empty LINK_ID data type.

link_id public member functions

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

    Serialize/deserialize the LINK_ID data type.

    Parameters:

    ar

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

  2. bool operator==(const link_id & other) const;

    Check if the LINK_ID data type is equal to another LINK_ID.

    Parameters:

    other

    The LINK_ID to compare to.

    Returns:

    True if they are equal or false otherwise.

link_id public public data members

  1. link_type type;

    Link address type.

  2. link_addr addr;

    Link address.


PrevUpHomeNext