'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct other_l2_addr

odtone::mih::other_l2_addr

Synopsis

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


struct other_l2_addr {

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

  // friend functions
  friend std::ostream & operator<<(std::ostream &, const other_l2_addr &);

  // public data members
  octet_string value;
};

Description

Define OTHER_L2_ADDR data type.

other_l2_addr public member functions

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

    Serialize/deserialize the OTHER_L2_ADDR data type.

    Parameters:

    ar

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

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

    Check if the OTHER_L2_ADDR is equal to another OTHER_L2_ADDR.

    Parameters:

    other

    The OTHER_L2_ADDR to compare with.

    Returns:

    True if they are equal or false otherwise.

other_l2_addr friend functions

  1. friend std::ostream & 
    operator<<(std::ostream & out, const other_l2_addr & addr);

    OTHER_L2_ADDR data type output.

    Parameters:

    addr

    OTHER_L2_ADDR data type.

    out

    ostream.

    Returns:

    ostream reference.

other_l2_addr public public data members

  1. octet_string value;

    OTHER_L2_ADDR data type.


PrevUpHomeNext