INET Framework for OMNeT++/OMNEST
inet::ospfv3::Ospfv3NetworkLsa Class Reference

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:220 by opp_msgtool. More...

#include <Ospfv3Packet_m.h>

Inheritance diagram for inet::ospfv3::Ospfv3NetworkLsa:
inet::ospfv3::Ospfv3Lsa inet::ospfv3::NetworkLSA

Public Member Functions

 Ospfv3NetworkLsa ()
 
 Ospfv3NetworkLsa (const Ospfv3NetworkLsa &other)
 
virtual ~Ospfv3NetworkLsa ()
 
Ospfv3NetworkLsaoperator= (const Ospfv3NetworkLsa &other)
 
virtual Ospfv3NetworkLsadup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const Ospfv3OptionsgetOspfOptions () const
 
virtual Ospfv3OptionsgetOspfOptionsForUpdate ()
 
virtual void setOspfOptions (const Ospfv3Options &ospfOptions)
 
virtual void setAttachedRouterArraySize (size_t size)
 
virtual size_t getAttachedRouterArraySize () const
 
virtual const ::inet::Ipv4AddressgetAttachedRouter (size_t k) const
 
virtual ::inet::Ipv4AddressgetAttachedRouterForUpdate (size_t k)
 
virtual void setAttachedRouter (size_t k, const ::inet::Ipv4Address &attachedRouter)
 
virtual void insertAttachedRouter (size_t k, const ::inet::Ipv4Address &attachedRouter)
 
void insertAttachedRouter (const ::inet::Ipv4Address &attachedRouter)
 
virtual void appendAttachedRouter (const ::inet::Ipv4Address &attachedRouter)
 
virtual void eraseAttachedRouter (size_t k)
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3Lsa
 Ospfv3Lsa ()
 
 Ospfv3Lsa (const Ospfv3Lsa &other)
 
virtual ~Ospfv3Lsa ()
 
Ospfv3Lsaoperator= (const Ospfv3Lsa &other)
 
virtual const Ospfv3LsaHeadergetHeader () const
 
virtual Ospfv3LsaHeadergetHeaderForUpdate ()
 
virtual void setHeader (const Ospfv3LsaHeader &header)
 

Protected Member Functions

bool operator== (const Ospfv3NetworkLsa &)=delete
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 

Protected Attributes

Ospfv3Options ospfOptions
 
::inet::Ipv4AddressattachedRouter = nullptr
 
size_t attachedRouter_arraysize = 0
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Private Member Functions

void copy (const Ospfv3NetworkLsa &other)
 

Detailed Description

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:220 by opp_msgtool.

//Network LSA
class Ospfv3NetworkLsa extends Ospfv3Lsa
{
    Ospfv3Options ospfOptions;
    Ipv4Address attachedRouter[];
}

Constructor & Destructor Documentation

◆ Ospfv3NetworkLsa() [1/2]

inet::ospfv3::Ospfv3NetworkLsa::Ospfv3NetworkLsa ( )

◆ Ospfv3NetworkLsa() [2/2]

inet::ospfv3::Ospfv3NetworkLsa::Ospfv3NetworkLsa ( const Ospfv3NetworkLsa other)

◆ ~Ospfv3NetworkLsa()

virtual inet::ospfv3::Ospfv3NetworkLsa::~Ospfv3NetworkLsa ( )
virtual

Member Function Documentation

◆ appendAttachedRouter()

virtual void inet::ospfv3::Ospfv3NetworkLsa::appendAttachedRouter ( const ::inet::Ipv4Address attachedRouter)
virtual

◆ copy()

void inet::ospfv3::Ospfv3NetworkLsa::copy ( const Ospfv3NetworkLsa other)
private

◆ dup()

virtual Ospfv3NetworkLsa* inet::ospfv3::Ospfv3NetworkLsa::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

642 {return new Ospfv3NetworkLsa(*this);}

◆ eraseAttachedRouter()

virtual void inet::ospfv3::Ospfv3NetworkLsa::eraseAttachedRouter ( size_t  k)
virtual

◆ getAttachedRouter()

virtual const ::inet::Ipv4Address& inet::ospfv3::Ospfv3NetworkLsa::getAttachedRouter ( size_t  k) const
virtual

◆ getAttachedRouterArraySize()

◆ getAttachedRouterForUpdate()

virtual ::inet::Ipv4Address& inet::ospfv3::Ospfv3NetworkLsa::getAttachedRouterForUpdate ( size_t  k)
inline
653 { return const_cast<::inet::Ipv4Address&>(const_cast<Ospfv3NetworkLsa*>(this)->getAttachedRouter(k));}

◆ getOspfOptions()

virtual const Ospfv3Options& inet::ospfv3::Ospfv3NetworkLsa::getOspfOptions ( ) const
virtual

◆ getOspfOptionsForUpdate()

virtual Ospfv3Options& inet::ospfv3::Ospfv3NetworkLsa::getOspfOptionsForUpdate ( )
inlinevirtual
647 { return const_cast<Ospfv3Options&>(const_cast<Ospfv3NetworkLsa*>(this)->getOspfOptions());}

◆ insertAttachedRouter() [1/2]

void inet::ospfv3::Ospfv3NetworkLsa::insertAttachedRouter ( const ::inet::Ipv4Address attachedRouter)
inline

◆ insertAttachedRouter() [2/2]

virtual void inet::ospfv3::Ospfv3NetworkLsa::insertAttachedRouter ( size_t  k,
const ::inet::Ipv4Address attachedRouter 
)
virtual

◆ operator=()

Ospfv3NetworkLsa& inet::ospfv3::Ospfv3NetworkLsa::operator= ( const Ospfv3NetworkLsa other)

◆ operator==()

bool inet::ospfv3::Ospfv3NetworkLsa::operator== ( const Ospfv3NetworkLsa )
protecteddelete

◆ parsimPack()

virtual void inet::ospfv3::Ospfv3NetworkLsa::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimUnpacking().

◆ setAttachedRouter()

virtual void inet::ospfv3::Ospfv3NetworkLsa::setAttachedRouter ( size_t  k,
const ::inet::Ipv4Address attachedRouter 
)
virtual

◆ setAttachedRouterArraySize()

virtual void inet::ospfv3::Ospfv3NetworkLsa::setAttachedRouterArraySize ( size_t  size)
virtual

◆ setOspfOptions()

virtual void inet::ospfv3::Ospfv3NetworkLsa::setOspfOptions ( const Ospfv3Options ospfOptions)
virtual

Member Data Documentation

◆ attachedRouter

::inet::Ipv4Address* inet::ospfv3::Ospfv3NetworkLsa::attachedRouter = nullptr
protected

◆ attachedRouter_arraysize

size_t inet::ospfv3::Ospfv3NetworkLsa::attachedRouter_arraysize = 0
protected

◆ ospfOptions

Ospfv3Options inet::ospfv3::Ospfv3NetworkLsa::ospfOptions
protected

The documentation for this class was generated from the following file:
inet::Ipv4Address
Ipv4 address.
Definition: Ipv4Address.h:34
inet::ospfv3::Ospfv3NetworkLsa::Ospfv3NetworkLsa
Ospfv3NetworkLsa()
inet::ospfv3::Ospfv3NetworkLsa::getAttachedRouter
virtual const ::inet::Ipv4Address & getAttachedRouter(size_t k) const
inet::ospfv3::Ospfv3NetworkLsa::appendAttachedRouter
virtual void appendAttachedRouter(const ::inet::Ipv4Address &attachedRouter)
inet::ospfv3::Ospfv3NetworkLsa::getOspfOptions
virtual const Ospfv3Options & getOspfOptions() const
inet::physicallayer::k
const double k
Definition: Qam1024Modulation.cc:14
inet::ospfv3::Ospfv3NetworkLsa::attachedRouter
::inet::Ipv4Address * attachedRouter
Definition: Ospfv3Packet_m.h:628