Public Types | Public Member Functions | Private Attributes

ACE_Utils::UUID_Node Class Reference

Holds the MAC-address of the UUID. More...

#include <UUID.h>

List of all members.

Public Types

enum  { NODE_ID_SIZE = 6 }
 

Size of the node in bytes.

More...
typedef u_char Node_ID [NODE_ID_SIZE]
 Type definition of the node.

Public Member Functions

Node_IDnode_ID (void)
 Get the node id.
const Node_IDnode_ID (void) const
bool operator== (const UUID_Node &right) const
 Test for equality.
bool operator!= (const UUID_Node &right) const
 Test for inequality.

Private Attributes

Node_ID node_ID_
 The value of the node id.

Detailed Description

Holds the MAC-address of the UUID.

Definition at line 38 of file UUID.h.


Member Typedef Documentation

typedef u_char ACE_Utils::UUID_Node::Node_ID[NODE_ID_SIZE]

Type definition of the node.

Definition at line 45 of file UUID.h.


Member Enumeration Documentation

anonymous enum

Size of the node in bytes.

Enumerator:
NODE_ID_SIZE 

Definition at line 42 of file UUID.h.

{NODE_ID_SIZE = 6};


Member Function Documentation

UUID_Node::Node_ID & ACE_Utils::UUID_Node::node_ID ( void   ) 

Get the node id.

Definition at line 16 of file UUID.inl.

  {
    return this->node_ID_;
  }

const UUID_Node::Node_ID & ACE_Utils::UUID_Node::node_ID ( void   )  const

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 10 of file UUID.inl.

  {
    return this->node_ID_;
  }

bool ACE_Utils::UUID_Node::operator!= ( const UUID_Node right  )  const

Test for inequality.

Definition at line 187 of file UUID.inl.

  {
    return !(*this == right);
  }

bool ACE_Utils::UUID_Node::operator== ( const UUID_Node right  )  const

Test for equality.

Definition at line 177 of file UUID.inl.

  {
    for (size_t i = 0; i < NODE_ID_SIZE; ++i)
      if (node_ID_ [i] != rt.node_ID_ [i])
        return false;

    return true;
  }


Member Data Documentation

The value of the node id.

Definition at line 63 of file UUID.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines