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

Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:147 by nedtool. More...

#include <IPv4Datagram_m.h>

Inheritance diagram for inet::IPv4OptionStreamId:
inet::IPv4Option inet::TLVOptionBase

Public Member Functions

 IPv4OptionStreamId ()
 
 IPv4OptionStreamId (const IPv4OptionStreamId &other)
 
virtual ~IPv4OptionStreamId ()
 
IPv4OptionStreamIdoperator= (const IPv4OptionStreamId &other)
 
virtual IPv4OptionStreamIddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual short getStreamId () const
 
virtual void setStreamId (short streamId)
 
- Public Member Functions inherited from inet::IPv4Option
 IPv4Option ()
 
 IPv4Option (const IPv4Option &other)
 
virtual ~IPv4Option ()
 
IPv4Optionoperator= (const IPv4Option &other)
 
- Public Member Functions inherited from inet::TLVOptionBase
 TLVOptionBase ()
 
 TLVOptionBase (const TLVOptionBase &other)
 
virtual ~TLVOptionBase ()
 
TLVOptionBaseoperator= (const TLVOptionBase &other)
 
virtual short getType () const
 
virtual void setType (short type)
 
virtual short getLength () const
 
virtual void setLength (short length)
 

Protected Member Functions

bool operator== (const IPv4OptionStreamId &)
 
- Protected Member Functions inherited from inet::IPv4Option
bool operator== (const IPv4Option &)
 
- Protected Member Functions inherited from inet::TLVOptionBase
bool operator== (const TLVOptionBase &)
 

Protected Attributes

short streamId
 
- Protected Attributes inherited from inet::TLVOptionBase
short type
 
short length
 

Private Member Functions

void copy (const IPv4OptionStreamId &other)
 

Detailed Description

Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:147 by nedtool.

//
// Option Structure: Stream ID
//
class IPv4OptionStreamId extends IPv4Option
{
    type = IPOPTION_STREAM_ID;
    length = 4;
    short streamId;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::IPv4OptionStreamId::copy ( const IPv4OptionStreamId other)
private
virtual IPv4OptionStreamId* inet::IPv4OptionStreamId::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::IPv4Option.

399 {return new IPv4OptionStreamId(*this);}
virtual short inet::IPv4OptionStreamId::getStreamId ( ) const
virtual
IPv4OptionStreamId& inet::IPv4OptionStreamId::operator= ( const IPv4OptionStreamId other)
bool inet::IPv4OptionStreamId::operator== ( const IPv4OptionStreamId )
protected
virtual void inet::IPv4OptionStreamId::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv4Option.

Referenced by inet::doParsimPacking().

virtual void inet::IPv4OptionStreamId::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::IPv4Option.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv4OptionStreamId::setStreamId ( short  streamId)
virtual

Member Data Documentation

short inet::IPv4OptionStreamId::streamId
protected

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