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

Class generated from inet/networklayer/ldp/LDPPacket.msg:126 by nedtool. More...

#include <LDPPacket_m.h>

Inheritance diagram for inet::LDPAddress:
inet::LDPPacket

Public Member Functions

 LDPAddress (const char *name=nullptr, short kind=0)
 
 LDPAddress (const LDPAddress &other)
 
virtual ~LDPAddress ()
 
LDPAddressoperator= (const LDPAddress &other)
 
virtual LDPAddressdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getIsWithdraw () const
 
virtual void setIsWithdraw (bool isWithdraw)
 
virtual const char * getFamily () const
 
virtual void setFamily (const char *family)
 
virtual void setAddressesArraySize (unsigned int size)
 
virtual unsigned int getAddressesArraySize () const
 
virtual const char * getAddresses (unsigned int k) const
 
virtual void setAddresses (unsigned int k, const char *addresses)
 
- Public Member Functions inherited from inet::LDPPacket
 LDPPacket (const char *name=nullptr, short kind=0)
 
 LDPPacket (const LDPPacket &other)
 
virtual ~LDPPacket ()
 
LDPPacketoperator= (const LDPPacket &other)
 
virtual int getType () const
 
virtual void setType (int type)
 
virtual IPv4AddressgetSenderAddress ()
 
virtual const IPv4AddressgetSenderAddress () const
 
virtual void setSenderAddress (const IPv4Address &senderAddress)
 
virtual IPv4AddressgetReceiverAddress ()
 
virtual const IPv4AddressgetReceiverAddress () const
 
virtual void setReceiverAddress (const IPv4Address &receiverAddress)
 

Protected Member Functions

bool operator== (const LDPAddress &)
 
- Protected Member Functions inherited from inet::LDPPacket
bool operator== (const LDPPacket &)
 

Protected Attributes

bool isWithdraw
 
::omnetpp::opp_string family
 
::omnetpp::opp_string * addresses
 
unsigned int addresses_arraysize
 
- Protected Attributes inherited from inet::LDPPacket
int type
 
IPv4Address senderAddress
 
IPv4Address receiverAddress
 

Private Member Functions

void copy (const LDPAddress &other)
 

Detailed Description

Class generated from inet/networklayer/ldp/LDPPacket.msg:126 by nedtool.

//
// LDP Address Message
//
//# FIXME currently unused
packet LDPAddress extends LDPPacket
{
    bool isWithdraw;
    string family;
    string addresses[];
}

Constructor & Destructor Documentation

inet::LDPAddress::LDPAddress ( const char *  name = nullptr,
short  kind = 0 
)
inet::LDPAddress::LDPAddress ( const LDPAddress other)
virtual inet::LDPAddress::~LDPAddress ( )
virtual

Member Function Documentation

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

Reimplemented from inet::LDPPacket.

439 {return new LDPAddress(*this);}
LDPAddress(const char *name=nullptr, short kind=0)
virtual const char* inet::LDPAddress::getAddresses ( unsigned int  k) const
virtual
virtual unsigned int inet::LDPAddress::getAddressesArraySize ( ) const
virtual
virtual const char* inet::LDPAddress::getFamily ( ) const
virtual
virtual bool inet::LDPAddress::getIsWithdraw ( ) const
virtual
LDPAddress& inet::LDPAddress::operator= ( const LDPAddress other)
bool inet::LDPAddress::operator== ( const LDPAddress )
protected
virtual void inet::LDPAddress::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::LDPAddress::setAddresses ( unsigned int  k,
const char *  addresses 
)
virtual
virtual void inet::LDPAddress::setAddressesArraySize ( unsigned int  size)
virtual
virtual void inet::LDPAddress::setFamily ( const char *  family)
virtual
virtual void inet::LDPAddress::setIsWithdraw ( bool  isWithdraw)
virtual

Member Data Documentation

::omnetpp::opp_string* inet::LDPAddress::addresses
protected
unsigned int inet::LDPAddress::addresses_arraysize
protected
::omnetpp::opp_string inet::LDPAddress::family
protected
bool inet::LDPAddress::isWithdraw
protected

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