ns3::rapidnet::IdValue Class Reference
[RapidNet Value Types]

A value type for 160-bit SHA1 hash values used by chord. More...

#include <id-value.h>

Inheritance diagram for ns3::rapidnet::IdValue:

Inheritance graph
Collaboration diagram for ns3::rapidnet::IdValue:

Collaboration graph

List of all members.

Public Member Functions

virtual uint32_t GetSerializedSize (void) const
 Returns the size in bytes when serialized.
virtual void Serialize (Buffer::Iterator &start) const
 Serializes the object for transmitting over the network inside a RapidNet header.
virtual uint32_t Deserialize (Buffer::Iterator &end)
 De-serializes the object that is embedded in a RapidNet header received from the network.
virtual string ToString () const
 Returns the string representation of the value object.
virtual Ptr< ValueClone () const
 Create and return a deep copy or clone of this object.
virtual bool Equals (const Ptr< Value > v) const
 To compare any two value objects.
virtual bool Less (const Ptr< Value > v) const
 This method is used by the hash function of std::map when the value objects are inserted as keys.
virtual Ptr< ValueEval (Operator op, Ptr< Tuple > tuple, Ptr< Expression > expr=Ptr< Expression >(NULL))
 Pass argument expression and tuple instead of argument value to allow lazy evaluation in case of short circuit operations.
virtual mpz_class GetMpz () const

Detailed Description

A value type for 160-bit SHA1 hash values used by chord.

Member Function Documentation

virtual mpz_class ns3::rapidnet::IdValue::GetMpz (  )  const [virtual]

Return mpz_class instance corresponding to the bit string value.

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

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