NodeId Class Reference

A id for the Node. More...

#include <nodeid.h>

List of all members.

Public Member Functions

 NodeId ()
 NodeId (int nodeid)
 ~NodeId ()
int getId () const
QString * toString ()
QByteArray toByteArray ()

Detailed Description

A id for the Node.

The NodeId provides a id for the nodes. It can generate a unique id and provide this id in differtent types.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

NodeId::NodeId (  ) 

A constructor.

Constructs the NodId and will generate a unique id.

NodeId::NodeId ( int  nodeid  ) 

A constructor.

Constructs the NodeId and will set the id.

Parameters:
nodeid The id of theis NodeId.
NodeId::~NodeId (  ) 

The destructor.

Destroys the object.


Member Function Documentation

int NodeId::getId (  )  const

Get the id of this NodeId as an int.

Returns:
The id of this NodeId.
QByteArray NodeId::toByteArray (  ) 

Get the id of this NodeId as a QByteArray.

Returns:
The id of this NodeId.
QString * NodeId::toString (  ) 

Get the id of this NodeId as a QString.

Returns:
The id of this NodeId.

The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:51 2010 for Silence by  doxygen 1.6.3