'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct template oui_

odtone::mih::oui_

Synopsis

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

template<uint8 A, uint8 B, uint8 C> 
struct oui_ {
  // types
  typedef oui_< A, B, C > tlv_serializer;

  // public static functions
  template<typename T> static bool serialize(iarchive &, T &);
  template<typename T> static void serialize(oarchive &, T &);
};

Description

Vendor's IEEE organizationally unique identifier (OUI).

oui_ public static functions

  1. template<typename T> static bool serialize(iarchive & ar, T & val);

    Deserialize the TLV type value.

    Parameters:

    ar

    The input archive from where extract the TLV value.

    val

    The value to deserialize.

    Returns:

    True if the value was deserialized or false otherwise.

  2. template<typename T> static void serialize(oarchive & ar, T & val);

    Serialize the TLV type value.

    Parameters:

    ar

    The output archive to where insert the TLV value.

    val

    The value to serialize.


PrevUpHomeNext