#include <StringData.h>
Public Member Functions | |
ACLStringData () | |
~ACLStringData () override | |
bool | match (char const *) override |
bool | match (const SBuf &) |
SBufList | dump () const override |
void | parse () override |
bool | empty () const override |
void | insert (const char *) |
Insert a string data value. More... | |
virtual const Acl::Options & | lineOptions () |
supported ACL "line" options (e.g., "-i") More... | |
virtual void | prepareForUse () |
Private Types | |
typedef std::set< SBuf > | StringValues_t |
Private Member Functions | |
MEMPROXY_CLASS (ACLStringData) | |
Private Attributes | |
StringValues_t | stringValues |
Detailed Description
Definition at line 18 of file StringData.h.
Member Typedef Documentation
◆ StringValues_t
|
private |
Definition at line 36 of file StringData.h.
Constructor & Destructor Documentation
◆ ACLStringData()
|
inline |
Definition at line 23 of file StringData.h.
◆ ~ACLStringData()
|
inlineoverride |
Definition at line 24 of file StringData.h.
Member Function Documentation
◆ dump()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 45 of file StringData.cc.
References stringValues.
Referenced by ACLCertificateData::dump(), and ACLNoteData::dump().
◆ empty()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 60 of file StringData.cc.
References stringValues.
Referenced by ACLCertificateData::empty(), and ACLNoteData::match().
◆ insert()
void ACLStringData::insert | ( | const char * | value | ) |
Definition at line 18 of file StringData.cc.
References stringValues.
Referenced by ACLAdaptationServiceData::parse(), and ACLCertificateData::parse().
◆ lineOptions()
|
inlinevirtualinherited |
Reimplemented in ACLRegexData, and ACLUserData.
◆ match() [1/2]
|
overridevirtual |
- Deprecated:
- use match(SBuf&) instead.
Implements ACLData< char const * >.
Definition at line 39 of file StringData.cc.
References match().
Referenced by match(), ACLNoteData::match(), and ACLCertificateData::match().
◆ match() [2/2]
bool ACLStringData::match | ( | const SBuf & | tf | ) |
Definition at line 24 of file StringData.cc.
References debugs, SBuf::isEmpty(), and stringValues.
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 53 of file StringData.cc.
References stringValues, and ConfigParser::strtokFile().
Referenced by ACLCertificateData::parse(), and ACLNoteData::parse().
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ stringValues
|
private |
The documentation for this class was generated from the following files:
- src/acl/StringData.h
- src/acl/StringData.cc