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)  

No Matches
ost::IPV4MulticastValidator Class Reference

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

#include <address.h>

Inheritance diagram for ost::IPV4MulticastValidator:
Collaboration diagram for ost::IPV4MulticastValidator:

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.

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 ( )


Does not deal with any state.

Definition at line 133 of file address.h.

◆ ~IPV4MulticastValidator()

virtual ost::IPV4MulticastValidator::~IPV4MulticastValidator ( )

Keeps compilers happy.

Definition at line 138 of file address.h.

Member Function Documentation


ost::IPV4MulticastValidator::__DELETE_COPY ( IPV4MulticastValidator  )

◆ operator()()

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

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: