INET Framework for OMNeT++/OMNEST
inet::PimBase::SourceAndGroup Struct Reference

#include <PimBase.h>

Public Member Functions

 SourceAndGroup (Ipv4Address source, Ipv4Address group)
 
bool operator== (const SourceAndGroup &other) const
 
bool operator!= (const SourceAndGroup &other) const
 
bool operator< (const SourceAndGroup &other) const
 

Public Attributes

Ipv4Address source
 
Ipv4Address group
 

Constructor & Destructor Documentation

◆ SourceAndGroup()

inet::PimBase::SourceAndGroup::SourceAndGroup ( Ipv4Address  source,
Ipv4Address  group 
)
inline
111 : source(source), group(group) {}

Member Function Documentation

◆ operator!=()

bool inet::PimBase::SourceAndGroup::operator!= ( const SourceAndGroup other) const
inline
113 { return source != other.source || group != other.group; }

◆ operator<()

bool inet::PimBase::SourceAndGroup::operator< ( const SourceAndGroup other) const
inline
114 { return source < other.source || (source == other.source && group < other.group); }

◆ operator==()

bool inet::PimBase::SourceAndGroup::operator== ( const SourceAndGroup other) const
inline
112 { return source == other.source && group == other.group; }

Member Data Documentation

◆ group

Ipv4Address inet::PimBase::SourceAndGroup::group

◆ source

Ipv4Address inet::PimBase::SourceAndGroup::source

The documentation for this struct was generated from the following file:
inet::PimBase::SourceAndGroup::group
Ipv4Address group
Definition: PimBase.h:109
inet::PimBase::SourceAndGroup::source
Ipv4Address source
Definition: PimBase.h:108