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

#include <Data_m.h>

Inheritance diagram for Data_Base:
Data SDU_Base SDU

Public Member Functions

virtual ~Data_Base ()
 
virtual Data_Basedup () const
 
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)
 

Protected Member Functions

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

int dataType
 
int64_t encapMsgLength
 

Private Member Functions

void copy (const Data_Base &other)
 

Detailed Description

Definition at line 80 of file Data_m.h.

Constructor & Destructor Documentation

Data_Base::Data_Base ( const char *  name = nullptr,
int  kind = 0 
)
protected

Definition at line 173 of file Data_m.cc.

Data_Base::Data_Base ( const Data_Base other)
protected

Definition at line 179 of file Data_m.cc.

Data_Base::~Data_Base ( )
virtual

Definition at line 184 of file Data_m.cc.

Member Function Documentation

void Data_Base::copy ( const Data_Base other)
private

Definition at line 196 of file Data_m.cc.

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

virtual Data_Base* Data_Base::dup ( ) const
inlinevirtual

Reimplemented in SDU_Base, SDU, and Data.

Definition at line 100 of file Data_m.h.

int Data_Base::getDataType ( ) const
virtual

Definition at line 216 of file Data_m.cc.

Referenced by PDUData::encapsulate(), and DataDescriptor::getFieldValueAsString().

int64_t Data_Base::getEncapMsgLength ( ) const
virtual

Definition at line 226 of file Data_m.cc.

Referenced by DataDescriptor::getFieldValueAsString().

Data_Base & Data_Base::operator= ( const Data_Base other)
protected

Definition at line 188 of file Data_m.cc.

Referenced by Data::operator=().

bool Data_Base::operator== ( const Data_Base )
protected
void Data_Base::parsimPack ( omnetpp::cCommBuffer *  b) const
virtual

Reimplemented in SDU_Base.

Definition at line 202 of file Data_m.cc.

Referenced by SDU_Base::parsimPack().

void Data_Base::parsimUnpack ( omnetpp::cCommBuffer *  b)
virtual

Reimplemented in SDU_Base.

Definition at line 209 of file Data_m.cc.

Referenced by SDU_Base::parsimUnpack().

void Data_Base::setDataType ( int  dataType)
virtual
void Data_Base::setEncapMsgLength ( int64_t  encapMsgLength)
virtual

Member Data Documentation

int Data_Base::dataType
protected

Definition at line 83 of file Data_m.h.

Referenced by copy(), Data_Base(), getDataType(), parsimPack(), parsimUnpack(), and setDataType().

int64_t Data_Base::encapMsgLength
protected

Definition at line 84 of file Data_m.h.

Referenced by copy(), Data_Base(), getEncapMsgLength(), parsimPack(), parsimUnpack(), and setEncapMsgLength().


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