ns3::Mac64Address Class Reference
[Address]

an EUI-64 address More...

#include <mac64-address.h>

List of all members.

Public Member Functions

 Mac64Address (const char *str)
void CopyFrom (const uint8_t buffer[8])
void CopyTo (uint8_t buffer[8]) const
 operator Address () const

Static Public Member Functions

static Mac64Address ConvertFrom (const Address &address)
static bool IsMatchingType (const Address &address)
static Mac64Address Allocate (void)

Private Member Functions

Address ConvertTo (void) const


Detailed Description

an EUI-64 address

This class can contain 64 bit IEEE addresses.


Constructor & Destructor Documentation

ns3::Mac64Address::Mac64Address ( const char *  str  ) 

Parameters:
str a string representing the new Mac64Address
The format of the string is "xx:xx:xx:xx:xx:xx"


Member Function Documentation

static Mac64Address ns3::Mac64Address::Allocate ( void   )  [static]

Allocate a new Mac64Address.

static Mac64Address ns3::Mac64Address::ConvertFrom ( const Address address  )  [static]

Parameters:
address a polymorphic address
Returns:
a new Mac64Address from the polymorphic address
This function performs a type check and asserts if the type of the input address is not compatible with an Mac64Address.

Address ns3::Mac64Address::ConvertTo ( void   )  const [private]

Returns:
a new Address instance
Convert an instance of this class to a polymorphic Address instance.

void ns3::Mac64Address::CopyFrom ( const uint8_t  buffer[8]  ) 

Parameters:
buffer address in network order
Copy the input address to our internal buffer.

void ns3::Mac64Address::CopyTo ( uint8_t  buffer[8]  )  const

Parameters:
buffer address in network order
Copy the internal address to the input buffer.

static bool ns3::Mac64Address::IsMatchingType ( const Address address  )  [static]

Returns:
true if the address matches, false otherwise.

ns3::Mac64Address::operator Address (  )  const

Returns:
a new Address instance
Convert an instance of this class to a polymorphic Address instance.


The documentation for this class was generated from the following file:

Generated on Fri Apr 9 15:01:11 2010 for NS-3 by  doxygen 1.5.8