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

A value type for summary vector. This value type is used by the Epidemic protocol for delay tolerant networks. More...

#include <sv-value.h>

Inheritance diagram for ns3::rapidnet::SvValue:

Inheritance graph
[legend]
Collaboration diagram for ns3::rapidnet::SvValue:

Collaboration graph
[legend]

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.
bitset< k_NUM_BITS > GetSvValue () const
 Returns the bitset object that represents the summary vector value.
virtual Ptr< ValueClone () const
 Create and return a deep copy or clone of this object.
virtual bool Equals (const Ptr< Value > vPtr) const
 To compare any two value objects.
virtual bool Less (const Ptr< Value > vPtr) 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.


Detailed Description

A value type for summary vector. This value type is used by the Epidemic protocol for delay tolerant networks.
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