ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ost::IPV4MulticastValidator Class Reference

Class for the function object that validates multicast addresses. More...

#include <address.h>

Inheritance diagram for ost::IPV4MulticastValidator:
[legend]
Collaboration diagram for ost::IPV4MulticastValidator:
[legend]

Public Member Functions

 IPV4MulticastValidator ()
 Constructor. More...
 
virtual ~IPV4MulticastValidator ()
 Keeps compilers happy. More...
 
void operator() (const in_addr address) const __OVERRIDE
 Application operator. More...
 
- Public Member Functions inherited from ost::IPV4Validator
 IPV4Validator ()
 Constructor. More...
 
virtual ~IPV4Validator ()
 keeps compilers happy. More...
 
virtual void operator() (const in_addr address) const =0
 Pure virtual application operator. More...
 

Private Member Functions

 __DELETE_COPY (IPV4MulticastValidator)
 

Detailed Description

Class for the function object that validates multicast addresses.

Implements a specific application operator to validate multicast addresses.

Author
Federico Montesino p5087.nosp@m.@qui.nosp@m.ntero.nosp@m..fie.nosp@m..us.e.nosp@m.s

Validating class specialized for multicast addresses.

Definition at line 124 of file address.h.

Constructor & Destructor Documentation

◆ IPV4MulticastValidator()

ost::IPV4MulticastValidator::IPV4MulticastValidator ( )
inline

Constructor.

Does not deal with any state.

Definition at line 133 of file address.h.

◆ ~IPV4MulticastValidator()

virtual ost::IPV4MulticastValidator::~IPV4MulticastValidator ( )
inlinevirtual

Keeps compilers happy.

Definition at line 138 of file address.h.

Member Function Documentation

◆ __DELETE_COPY()

ost::IPV4MulticastValidator::__DELETE_COPY ( IPV4MulticastValidator  )
private

◆ operator()()

void ost::IPV4MulticastValidator::operator() ( const in_addr  address) const
virtual

Application operator.

Apply the validation algorithm specific to multicast addresses

Implements ost::IPV4Validator.

Definition at line 86 of file address.cpp.

References ost::MCAST_VALID_MASK, and ost::MCAST_VALID_VALUE.


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