INET Framework for OMNeT++/OMNEST
inet::TLVOptionBase Class Reference

Class generated from inet/common/TLVOption.msg:28 by nedtool. More...

#include <TLVOption_m.h>

Inheritance diagram for inet::TLVOptionBase:
inet::GPSROption inet::IPv4Option inet::TLVOptionRaw inet::IPv4OptionEnd inet::IPv4OptionNop inet::IPv4OptionRecordRoute inet::IPv4OptionStreamId inet::IPv4OptionTimestamp inet::IPv4OptionUnknown

Public Member Functions

 TLVOptionBase ()
 
 TLVOptionBase (const TLVOptionBase &other)
 
virtual ~TLVOptionBase ()
 
TLVOptionBaseoperator= (const TLVOptionBase &other)
 
virtual TLVOptionBasedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual short getType () const
 
virtual void setType (short type)
 
virtual short getLength () const
 
virtual void setLength (short length)
 

Protected Member Functions

bool operator== (const TLVOptionBase &)
 

Protected Attributes

short type
 
short length
 

Private Member Functions

void copy (const TLVOptionBase &other)
 

Detailed Description

Class generated from inet/common/TLVOption.msg:28 by nedtool.

class TLVOptionBase
{
    short type = -1;
    short length = 0;   // total length of option
}

Constructor & Destructor Documentation

inet::TLVOptionBase::TLVOptionBase ( )
inet::TLVOptionBase::TLVOptionBase ( const TLVOptionBase other)
virtual inet::TLVOptionBase::~TLVOptionBase ( )
virtual

Member Function Documentation

void inet::TLVOptionBase::copy ( const TLVOptionBase other)
private
virtual short inet::TLVOptionBase::getType ( ) const
virtual
TLVOptionBase& inet::TLVOptionBase::operator= ( const TLVOptionBase other)
bool inet::TLVOptionBase::operator== ( const TLVOptionBase )
protected
virtual void inet::TLVOptionBase::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::TLVOptionBase::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::TLVOptionBase::setLength ( short  length)
virtual
virtual void inet::TLVOptionBase::setType ( short  type)
virtual

Member Data Documentation

short inet::TLVOptionBase::length
protected
short inet::TLVOptionBase::type
protected

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