INET Framework for OMNeT++/OMNEST
inet::bgp::BGPUpdatePathAttributeList Class Reference

Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:58 by nedtool. More...

#include <BGPUpdate_m.h>

Inheritance diagram for inet::bgp::BGPUpdatePathAttributeList:

Public Member Functions

 BGPUpdatePathAttributeList ()
 
 BGPUpdatePathAttributeList (const BGPUpdatePathAttributeList &other)
 
virtual ~BGPUpdatePathAttributeList ()
 
BGPUpdatePathAttributeListoperator= (const BGPUpdatePathAttributeList &other)
 
virtual BGPUpdatePathAttributeListdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual BGPUpdatePathAttributesOrigingetOrigin ()
 
virtual const BGPUpdatePathAttributesOrigingetOrigin () const
 
virtual void setOrigin (const BGPUpdatePathAttributesOrigin &origin)
 
virtual void setAsPathArraySize (unsigned int size)
 
virtual unsigned int getAsPathArraySize () const
 
virtual BGPUpdatePathAttributesASPathgetAsPath (unsigned int k)
 
virtual const BGPUpdatePathAttributesASPathgetAsPath (unsigned int k) const
 
virtual void setAsPath (unsigned int k, const BGPUpdatePathAttributesASPath &asPath)
 
virtual BGPUpdatePathAttributesNextHopgetNextHop ()
 
virtual const BGPUpdatePathAttributesNextHopgetNextHop () const
 
virtual void setNextHop (const BGPUpdatePathAttributesNextHop &nextHop)
 
virtual void setLocalPrefArraySize (unsigned int size)
 
virtual unsigned int getLocalPrefArraySize () const
 
virtual BGPUpdatePathAttributesLocalPrefgetLocalPref (unsigned int k)
 
virtual const BGPUpdatePathAttributesLocalPrefgetLocalPref (unsigned int k) const
 
virtual void setLocalPref (unsigned int k, const BGPUpdatePathAttributesLocalPref &localPref)
 
virtual void setAtomicAggregateArraySize (unsigned int size)
 
virtual unsigned int getAtomicAggregateArraySize () const
 
virtual BGPUpdatePathAttributesAtomicAggregategetAtomicAggregate (unsigned int k)
 
virtual const BGPUpdatePathAttributesAtomicAggregategetAtomicAggregate (unsigned int k) const
 
virtual void setAtomicAggregate (unsigned int k, const BGPUpdatePathAttributesAtomicAggregate &atomicAggregate)
 

Protected Member Functions

bool operator== (const BGPUpdatePathAttributeList &)
 

Protected Attributes

BGPUpdatePathAttributesOrigin origin
 
BGPUpdatePathAttributesASPathasPath
 
unsigned int asPath_arraysize
 
BGPUpdatePathAttributesNextHop nextHop
 
BGPUpdatePathAttributesLocalPreflocalPref
 
unsigned int localPref_arraysize
 
BGPUpdatePathAttributesAtomicAggregateatomicAggregate
 
unsigned int atomicAggregate_arraysize
 

Private Member Functions

void copy (const BGPUpdatePathAttributeList &other)
 

Detailed Description

Class generated from inet/routing/bgpv4/BGPMessage/BGPUpdate.msg:58 by nedtool.

//
// Represents the list of path attributes in a BGPv4 UPDATE message.
// See RFC 4271, section 4.3
//
class BGPUpdatePathAttributeList
{
    BGPUpdatePathAttributesOrigin origin; // mandatory attribute
    BGPUpdatePathAttributesASPath asPath[]; // mandatory attribute
    BGPUpdatePathAttributesNextHop nextHop; // mandatory attribute
    BGPUpdatePathAttributesLocalPref localPref[]; // optional attribute
    BGPUpdatePathAttributesAtomicAggregate atomicAggregate[]; // optional attribute
}

Constructor & Destructor Documentation

inet::bgp::BGPUpdatePathAttributeList::BGPUpdatePathAttributeList ( )
inet::bgp::BGPUpdatePathAttributeList::BGPUpdatePathAttributeList ( const BGPUpdatePathAttributeList other)
virtual inet::bgp::BGPUpdatePathAttributeList::~BGPUpdatePathAttributeList ( )
virtual

Member Function Documentation

void inet::bgp::BGPUpdatePathAttributeList::copy ( const BGPUpdatePathAttributeList other)
private
virtual BGPUpdatePathAttributeList* inet::bgp::BGPUpdatePathAttributeList::dup ( ) const
inlineoverridevirtual
virtual BGPUpdatePathAttributesASPath& inet::bgp::BGPUpdatePathAttributeList::getAsPath ( unsigned int  k)
virtual
virtual const BGPUpdatePathAttributesASPath& inet::bgp::BGPUpdatePathAttributeList::getAsPath ( unsigned int  k) const
inlinevirtual

Referenced by getAsPath().

130 {return const_cast<BGPUpdatePathAttributeList*>(this)->getAsPath(k);}
const double k
Definition: QAM16Modulation.cc:24
virtual BGPUpdatePathAttributesASPath & getAsPath(unsigned int k)
virtual unsigned int inet::bgp::BGPUpdatePathAttributeList::getAsPathArraySize ( ) const
virtual
virtual BGPUpdatePathAttributesAtomicAggregate& inet::bgp::BGPUpdatePathAttributeList::getAtomicAggregate ( unsigned int  k)
virtual
virtual const BGPUpdatePathAttributesAtomicAggregate& inet::bgp::BGPUpdatePathAttributeList::getAtomicAggregate ( unsigned int  k) const
inlinevirtual

Referenced by getAtomicAggregate().

143 {return const_cast<BGPUpdatePathAttributeList*>(this)->getAtomicAggregate(k);}
virtual BGPUpdatePathAttributesAtomicAggregate & getAtomicAggregate(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::bgp::BGPUpdatePathAttributeList::getAtomicAggregateArraySize ( ) const
virtual
virtual BGPUpdatePathAttributesLocalPref& inet::bgp::BGPUpdatePathAttributeList::getLocalPref ( unsigned int  k)
virtual
virtual const BGPUpdatePathAttributesLocalPref& inet::bgp::BGPUpdatePathAttributeList::getLocalPref ( unsigned int  k) const
inlinevirtual

Referenced by getLocalPref().

138 {return const_cast<BGPUpdatePathAttributeList*>(this)->getLocalPref(k);}
virtual BGPUpdatePathAttributesLocalPref & getLocalPref(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::bgp::BGPUpdatePathAttributeList::getLocalPrefArraySize ( ) const
virtual
virtual BGPUpdatePathAttributesNextHop& inet::bgp::BGPUpdatePathAttributeList::getNextHop ( )
virtual
virtual const BGPUpdatePathAttributesNextHop& inet::bgp::BGPUpdatePathAttributeList::getNextHop ( ) const
inlinevirtual

Referenced by getNextHop().

133 {return const_cast<BGPUpdatePathAttributeList*>(this)->getNextHop();}
virtual BGPUpdatePathAttributesNextHop & getNextHop()
virtual BGPUpdatePathAttributesOrigin& inet::bgp::BGPUpdatePathAttributeList::getOrigin ( )
virtual
virtual const BGPUpdatePathAttributesOrigin& inet::bgp::BGPUpdatePathAttributeList::getOrigin ( ) const
inlinevirtual

Referenced by getOrigin().

125 {return const_cast<BGPUpdatePathAttributeList*>(this)->getOrigin();}
virtual BGPUpdatePathAttributesOrigin & getOrigin()
BGPUpdatePathAttributeList& inet::bgp::BGPUpdatePathAttributeList::operator= ( const BGPUpdatePathAttributeList other)
bool inet::bgp::BGPUpdatePathAttributeList::operator== ( const BGPUpdatePathAttributeList )
protected
virtual void inet::bgp::BGPUpdatePathAttributeList::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::bgp::BGPUpdatePathAttributeList::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setAsPath ( unsigned int  k,
const BGPUpdatePathAttributesASPath asPath 
)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setAsPathArraySize ( unsigned int  size)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setAtomicAggregate ( unsigned int  k,
const BGPUpdatePathAttributesAtomicAggregate atomicAggregate 
)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setAtomicAggregateArraySize ( unsigned int  size)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setLocalPref ( unsigned int  k,
const BGPUpdatePathAttributesLocalPref localPref 
)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setLocalPrefArraySize ( unsigned int  size)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setNextHop ( const BGPUpdatePathAttributesNextHop nextHop)
virtual
virtual void inet::bgp::BGPUpdatePathAttributeList::setOrigin ( const BGPUpdatePathAttributesOrigin origin)
virtual

Member Data Documentation

BGPUpdatePathAttributesASPath* inet::bgp::BGPUpdatePathAttributeList::asPath
protected
unsigned int inet::bgp::BGPUpdatePathAttributeList::asPath_arraysize
protected
BGPUpdatePathAttributesAtomicAggregate* inet::bgp::BGPUpdatePathAttributeList::atomicAggregate
protected
unsigned int inet::bgp::BGPUpdatePathAttributeList::atomicAggregate_arraysize
protected
BGPUpdatePathAttributesLocalPref* inet::bgp::BGPUpdatePathAttributeList::localPref
protected
unsigned int inet::bgp::BGPUpdatePathAttributeList::localPref_arraysize
protected
BGPUpdatePathAttributesNextHop inet::bgp::BGPUpdatePathAttributeList::nextHop
protected
BGPUpdatePathAttributesOrigin inet::bgp::BGPUpdatePathAttributeList::origin
protected

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