#include <RegexData.h>
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::Options & | lineOptions () override |
supported ACL "line" options (e.g., "-i") More... | |
Private Attributes | |
std::list< RegexPattern > | data |
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()
|
override |
Definition at line 31 of file RegexData.cc.
Member Function Documentation
◆ dump()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 66 of file RegexData.cc.
References SBufStream::buf(), data, and RegexPattern::print().
◆ empty()
|
overridevirtual |
◆ lineOptions()
|
overrideprivatevirtual |
Reimplemented from ACLData< char const * >.
Definition at line 36 of file RegexData.cc.
References CaseInsensitive_, and Acl::CaseSensitivityOption().
◆ match()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 45 of file RegexData.cc.
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 221 of file RegexData.cc.
References CaseInsensitive_, cfg_filename, compileOptimisedREs(), compileUnoptimisedREs(), config_input_line, config_lineno, CurrentException(), data, DBG_IMPORTANT, debugs, Debug::Extra(), ConfigParser::RegexStrtokFile(), and removeUnnecessaryWildcards().
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ CaseInsensitive_
|
staticprivate |
Definition at line 31 of file RegexData.h.
Referenced by lineOptions(), and parse().
◆ data
|
private |
The documentation for this class was generated from the following files:
- src/acl/RegexData.h
- src/acl/RegexData.cc