INET Framework for OMNeT++/OMNEST
inet::ospf::OSPFNetworkLSA Class Reference

Class generated from inet/routing/ospfv2/OSPFPacket.msg:154 by nedtool. More...

#include <OSPFPacket_m.h>

Inheritance diagram for inet::ospf::OSPFNetworkLSA:
inet::ospf::OSPFLSA inet::ospf::NetworkLSA

Public Member Functions

 OSPFNetworkLSA ()
 
 OSPFNetworkLSA (const OSPFNetworkLSA &other)
 
virtual ~OSPFNetworkLSA ()
 
OSPFNetworkLSAoperator= (const OSPFNetworkLSA &other)
 
virtual OSPFNetworkLSAdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual IPv4AddressgetNetworkMask ()
 
virtual const IPv4AddressgetNetworkMask () const
 
virtual void setNetworkMask (const IPv4Address &networkMask)
 
virtual void setAttachedRoutersArraySize (unsigned int size)
 
virtual unsigned int getAttachedRoutersArraySize () const
 
virtual IPv4AddressgetAttachedRouters (unsigned int k)
 
virtual const IPv4AddressgetAttachedRouters (unsigned int k) const
 
virtual void setAttachedRouters (unsigned int k, const IPv4Address &attachedRouters)
 
- Public Member Functions inherited from inet::ospf::OSPFLSA
 OSPFLSA ()
 
 OSPFLSA (const OSPFLSA &other)
 
virtual ~OSPFLSA ()
 
OSPFLSAoperator= (const OSPFLSA &other)
 
virtual OSPFLSAHeadergetHeader ()
 
virtual const OSPFLSAHeadergetHeader () const
 
virtual void setHeader (const OSPFLSAHeader &header)
 

Protected Member Functions

bool operator== (const OSPFNetworkLSA &)
 
- Protected Member Functions inherited from inet::ospf::OSPFLSA
bool operator== (const OSPFLSA &)
 

Protected Attributes

IPv4Address networkMask
 
IPv4AddressattachedRouters
 
unsigned int attachedRouters_arraysize
 
- Protected Attributes inherited from inet::ospf::OSPFLSA
OSPFLSAHeader header
 

Private Member Functions

void copy (const OSPFNetworkLSA &other)
 

Detailed Description

Class generated from inet/routing/ospfv2/OSPFPacket.msg:154 by nedtool.

//
// Represents an OSPF Network LSA
//
class OSPFNetworkLSA extends OSPFLSA
{
    IPv4Address networkMask;
    IPv4Address attachedRouters[];
}

Constructor & Destructor Documentation

inet::ospf::OSPFNetworkLSA::OSPFNetworkLSA ( )
inet::ospf::OSPFNetworkLSA::OSPFNetworkLSA ( const OSPFNetworkLSA other)
virtual inet::ospf::OSPFNetworkLSA::~OSPFNetworkLSA ( )
virtual

Member Function Documentation

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

Reimplemented from inet::ospf::OSPFLSA.

555 {return new OSPFNetworkLSA(*this);}
virtual const IPv4Address& inet::ospf::OSPFNetworkLSA::getAttachedRouters ( unsigned int  k) const
inlinevirtual

Referenced by getAttachedRouters().

566 {return const_cast<OSPFNetworkLSA*>(this)->getAttachedRouters(k);}
virtual IPv4Address & getAttachedRouters(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual const IPv4Address& inet::ospf::OSPFNetworkLSA::getNetworkMask ( ) const
inlinevirtual

Referenced by getNetworkMask().

561 {return const_cast<OSPFNetworkLSA*>(this)->getNetworkMask();}
virtual IPv4Address & getNetworkMask()
OSPFNetworkLSA& inet::ospf::OSPFNetworkLSA::operator= ( const OSPFNetworkLSA other)
bool inet::ospf::OSPFNetworkLSA::operator== ( const OSPFNetworkLSA )
protected
virtual void inet::ospf::OSPFNetworkLSA::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::ospf::OSPFLSA.

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

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

Reimplemented from inet::ospf::OSPFLSA.

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

virtual void inet::ospf::OSPFNetworkLSA::setAttachedRouters ( unsigned int  k,
const IPv4Address attachedRouters 
)
virtual
virtual void inet::ospf::OSPFNetworkLSA::setAttachedRoutersArraySize ( unsigned int  size)
virtual
virtual void inet::ospf::OSPFNetworkLSA::setNetworkMask ( const IPv4Address networkMask)
virtual

Member Data Documentation

IPv4Address* inet::ospf::OSPFNetworkLSA::attachedRouters
protected
unsigned int inet::ospf::OSPFNetworkLSA::attachedRouters_arraysize
protected
IPv4Address inet::ospf::OSPFNetworkLSA::networkMask
protected

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