#include <IntRange.h>

Inheritance diagram for ACLIntRange:
Collaboration diagram for ACLIntRange:

Public Member Functions

 ACLIntRange ()
 
virtual ~ACLIntRange ()
 
virtual bool match (int)
 
virtual SBufList dump () const
 
virtual void parse ()
 
virtual bool empty () const
 
virtual ACLData< int > * clone () const
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
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

typedef Range<int> ACLIntRange::RangeType
private

Definition at line 31 of file IntRange.h.

Constructor & Destructor Documentation

ACLIntRange::ACLIntRange ( )
inline

Definition at line 21 of file IntRange.h.

Referenced by clone().

ACLIntRange::~ACLIntRange ( )
virtual

Definition at line 76 of file IntRange.cc.

Member Function Documentation

ACLData< int > * ACLIntRange::clone ( ) const
virtual

Implements ACLData< int >.

Definition at line 68 of file IntRange.cc.

References ACLIntRange(), fatal(), and ranges.

SBufList ACLIntRange::dump ( ) const
virtual

Implements ACLData< int >.

Definition at line 80 of file IntRange.cc.

References SBuf::Printf(), ranges, and sb.

bool ACLIntRange::empty ( ) const
virtual

Implements ACLData< int >.

Definition at line 49 of file IntRange.cc.

References ranges.

bool ACLIntRange::match ( int  i)
virtual

Implements ACLData< int >.

Definition at line 55 of file IntRange.cc.

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

void ACLIntRange::parse ( )
virtual

Implements ACLData< int >.

Definition at line 20 of file IntRange.cc.

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

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

Definition at line 31 of file Data.h.

virtual const Acl::ParameterFlags& ACLData< int >::supportedFlags ( ) const
inlinevirtualinherited
Returns
the flags supported by these ACL parameters (e.g., "-i")

Definition at line 25 of file Data.h.

Member Data Documentation

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

Definition at line 32 of file IntRange.h.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors