Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types
IPV4MulticastValidator Class Reference

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

#include <address.h>

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

Public Member Functions

 IPV4MulticastValidator ()
 Constructor. More...
 
virtual ~IPV4MulticastValidator ()
 Keeps compilers happy. More...
 
void operator() (const in_addr address) const
 Application operator. More...
 

Private Types

enum  { MCAST_VALID_MASK = 0xF0000000, MCAST_VALID_VALUE = 0xE0000000 }
 

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 127 of file address.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MCAST_VALID_MASK 
MCAST_VALID_VALUE 

Definition at line 147 of file address.h.

Constructor & Destructor Documentation

IPV4MulticastValidator::IPV4MulticastValidator ( )
inline

Constructor.

Does not deal with any state.

Definition at line 133 of file address.h.

virtual IPV4MulticastValidator::~IPV4MulticastValidator ( )
inlinevirtual

Keeps compilers happy.

Definition at line 138 of file address.h.

Member Function Documentation

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

Application operator.

Apply the validation algorithm specific to multicast addresses

Implements IPV4Validator.


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