#include <IntRange.h>

Inheritance diagram for ACLIntRange:
Collaboration diagram for ACLIntRange:

Public Member Functions

 ACLIntRange ()
 
 ~ACLIntRange () override
 
bool match (int) override
 
SBufList dump () const override
 
void parse () override
 
bool empty () const override
 
virtual const Acl::OptionslineOptions ()
 supported ACL "line" options (e.g., "-i") More...
 
virtual void prepareForUse ()
 

Private Types

typedef Range< intRangeType
 

Private Attributes

std::list< RangeTyperanges
 

Detailed Description

Definition at line 17 of file IntRange.h.

Member Typedef Documentation

◆ RangeType

typedef Range<int> ACLIntRange::RangeType
private

Definition at line 30 of file IntRange.h.

Constructor & Destructor Documentation

◆ ACLIntRange()

ACLIntRange::ACLIntRange ( )
inline

Definition at line 21 of file IntRange.h.

◆ ~ACLIntRange()

ACLIntRange::~ACLIntRange ( )
override

Definition at line 67 of file IntRange.cc.

Member Function Documentation

◆ dump()

SBufList ACLIntRange::dump ( ) const
overridevirtual

Implements ACLData< int >.

Definition at line 71 of file IntRange.cc.

References ranges, and sb.

◆ empty()

bool ACLIntRange::empty ( ) const
overridevirtual

Implements ACLData< int >.

Definition at line 49 of file IntRange.cc.

References ranges.

◆ lineOptions()

virtual const Acl::Options & ACLData< int >::lineOptions ( )
inlinevirtualinherited

Definition at line 26 of file Data.h.

◆ match()

bool ACLIntRange::match ( int  i)
overridevirtual

Implements ACLData< int >.

Definition at line 55 of file IntRange.cc.

References Range< C, S >::intersection(), ranges, and Range< C, S >::size().

◆ parse()

void ACLIntRange::parse ( )
overridevirtual

Implements ACLData< int >.

Definition at line 20 of file IntRange.cc.

References DBG_CRITICAL, debugs, ranges, self_destruct(), ConfigParser::strtokFile(), and xatos().

◆ prepareForUse()

virtual void ACLData< int >::prepareForUse ( )
inlinevirtualinherited

Definition at line 31 of file Data.h.

Member Data Documentation

◆ ranges

std::list<RangeType> ACLIntRange::ranges
private

Definition at line 31 of file IntRange.h.

Referenced by dump(), empty(), match(), and parse().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors