#include <RegexData.h>

Inheritance diagram for ACLRegexData:
Collaboration diagram for ACLRegexData:

Public Member Functions

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

Private Member Functions

 MEMPROXY_CLASS (ACLRegexData)
 
const Acl::OptionslineOptions () override
 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 ( )
override

Definition at line 31 of file RegexData.cc.

Member Function Documentation

◆ dump()

SBufList ACLRegexData::dump ( ) const
overridevirtual

Implements ACLData< char const * >.

Definition at line 66 of file RegexData.cc.

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

◆ empty()

bool ACLRegexData::empty ( ) const
overridevirtual

Implements ACLData< char const * >.

Definition at line 253 of file RegexData.cc.

References data.

◆ lineOptions()

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

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)
overridevirtual

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