ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PacketData Class Reference

#include <packet.h>

Inheritance diagram for PacketData:

AppData List of all members.

Public Member Functions

 PacketData (int sz)
 PacketData (PacketData &d)
virtual ~PacketData ()
unsigned char * data ()
virtual int size () const
virtual AppDatacopy ()

Private Attributes

unsigned char * data_
int datalen_

Constructor & Destructor Documentation

PacketData::PacketData int    sz [inline]
 

PacketData::PacketData PacketData &    d [inline]
 

virtual PacketData::~PacketData   [inline, virtual]
 


Member Function Documentation

virtual AppData* PacketData::copy   [inline, virtual]
 

Implements AppData.

unsigned char* PacketData::data   [inline]
 

virtual int PacketData::size   const [inline, virtual]
 

Reimplemented from AppData.


Member Data Documentation

unsigned char* PacketData::data_ [private]
 

int PacketData::datalen_ [private]
 


The documentation for this class was generated from the following file:
This document is generated by doxygen.