Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cNetHostRanges4 Class Reference

#include <cNetHostRanges.h>

Public Member Functions

 cNetHostRanges4 ()
 
cRefPtr< cNetHostRangeX4FindHost (const cNetHost4 &addr) const
 
bool AddHostRange (const cNetHostRange4 &addr, const char *pszBlockReason)
 
 UNITTEST_FRIEND (cNetHostRanges)
 

Detailed Description

a list of ranges.

Constructor & Destructor Documentation

◆ cNetHostRanges4()

GrayLib::cNetHostRanges4::cNetHostRanges4 ( )
inline

Member Function Documentation

◆ AddHostRange()

bool GrayLib::cNetHostRanges4::AddHostRange ( const cNetHostRange4 &  addr,
const char *  pszBlockReason 
)

Block or unblock an address range.

  • pszBlockReason = nullptr = unblock
    Returns
    true = changed, false = already that state. no change.

◆ FindHost()

cRefPtr< cNetHostRangeX4 > GrayLib::cNetHostRanges4::FindHost ( const cNetHost4 addr) const

◆ UNITTEST_FRIEND()

GrayLib::cNetHostRanges4::UNITTEST_FRIEND ( cNetHostRanges  )

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