RINASim  October 2016
Documentation of framework for OMNeT++
Data Class Reference

#include <Data.h>

Inheritance diagram for Data:
Data_Base SDU_Base SDU

Public Member Functions

 Data (const char *name=NULL, int kind=0)
 
 Data (const Data &other)
 
Dataoperator= (const Data &other)
 
virtual Datadup () const
 
- Public Member Functions inherited from Data_Base
virtual ~Data_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b)
 
virtual int getDataType () const
 
virtual void setDataType (int dataType)
 
virtual int64_t getEncapMsgLength () const
 
virtual void setEncapMsgLength (int64_t encapMsgLength)
 

Private Member Functions

void copy (const Data &other)
 

Additional Inherited Members

- Protected Member Functions inherited from Data_Base
bool operator== (const Data_Base &)
 
 Data_Base (const char *name=nullptr, int kind=0)
 
 Data_Base (const Data_Base &other)
 
Data_Baseoperator= (const Data_Base &other)
 
- Protected Attributes inherited from Data_Base
int dataType
 
int64_t encapMsgLength
 

Detailed Description

Definition at line 36 of file Data.h.

Constructor & Destructor Documentation

Data::Data ( const char *  name = NULL,
int  kind = 0 
)
inline

Definition at line 41 of file Data.h.

Referenced by dup().

Data::Data ( const Data other)
inline

Definition at line 42 of file Data.h.

Member Function Documentation

void Data::copy ( const Data other)
inlineprivate

Definition at line 39 of file Data.h.

Referenced by Data(), and operator=().

virtual Data* Data::dup ( ) const
inlinevirtual

Reimplemented from Data_Base.

Reimplemented in SDU_Base, and SDU.

Definition at line 44 of file Data.h.

Referenced by PDUData::copy().

Data& Data::operator= ( const Data other)
inline

Definition at line 43 of file Data.h.


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