#include <RegexData.h>

Inheritance diagram for ACLRegexData:
Collaboration diagram for ACLRegexData:

Public Member Functions

virtual ~ACLRegexData ()
 
virtual bool match (char const *user)
 
virtual SBufList dump () const
 
virtual void parse ()
 
virtual bool empty () const
 
virtual void prepareForUse ()
 

Private Member Functions

 MEMPROXY_CLASS (ACLRegexData)
 
virtual const Acl::OptionslineOptions ()
 supported ACL "line" options (e.g., "-i") More...
 

Private Attributes

std::list< RegexPatterndata
 

Static Private Attributes

static Acl::BooleanOptionValue CaseInsensitive_
 whether parse() is called in a case insensitive context More...
 

Detailed Description

Definition at line 18 of file RegexData.h.

Constructor & Destructor Documentation

◆ ~ACLRegexData()

ACLRegexData::~ACLRegexData ( )
virtual

Definition at line 31 of file RegexData.cc.

Member Function Documentation

◆ dump()

SBufList ACLRegexData::dump ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 66 of file RegexData.cc.

References SBufStream::buf(), data, and RegexPattern::print().

◆ empty()

bool ACLRegexData::empty ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 250 of file RegexData.cc.

References data.

◆ lineOptions()

const Acl::Options & ACLRegexData::lineOptions ( )
privatevirtual

Reimplemented from ACLData< char const * >.

Definition at line 36 of file RegexData.cc.

References CaseInsensitive_, and Acl::CaseSensitivityOption().

◆ match()

bool ACLRegexData::match ( char const *  user)
virtual

Implements ACLData< char const * >.

Definition at line 45 of file RegexData.cc.

References data, and debugs.

◆ MEMPROXY_CLASS()

ACLRegexData::MEMPROXY_CLASS ( ACLRegexData  )
private

◆ parse()

◆ prepareForUse()

virtual void ACLData< char const * >::prepareForUse ( )
inlinevirtualinherited

Definition at line 31 of file Data.h.

Member Data Documentation

◆ CaseInsensitive_

Acl::BooleanOptionValue ACLRegexData::CaseInsensitive_
staticprivate

Definition at line 31 of file RegexData.h.

Referenced by lineOptions(), and parse().

◆ data

std::list<RegexPattern> ACLRegexData::data
private

Definition at line 36 of file RegexData.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