#include <StringData.h>

Inheritance diagram for ACLStringData:
Collaboration diagram for ACLStringData:

Public Member Functions

 ACLStringData ()
 
virtual ~ACLStringData ()
 
bool match (char const *)
 
bool match (const SBuf &)
 
virtual SBufList dump () const
 
virtual void parse ()
 
bool empty () const
 
void insert (const char *)
 Insert a string data value. More...
 
virtual const Acl::OptionslineOptions ()
 supported ACL "line" options (e.g., "-i") More...
 
virtual void prepareForUse ()
 

Private Types

typedef std::set< SBufStringValues_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

typedef std::set<SBuf> ACLStringData::StringValues_t
private

Definition at line 36 of file StringData.h.

Constructor & Destructor Documentation

◆ ACLStringData()

ACLStringData::ACLStringData ( )
inline

Definition at line 23 of file StringData.h.

◆ ~ACLStringData()

virtual ACLStringData::~ACLStringData ( )
inlinevirtual

Definition at line 24 of file StringData.h.

Member Function Documentation

◆ dump()

SBufList ACLStringData::dump ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 45 of file StringData.cc.

References stringValues.

Referenced by ACLCertificateData::dump(), and ACLNoteData::dump().

◆ empty()

bool ACLStringData::empty ( ) const
virtual

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

virtual const Acl::Options & ACLData< char const * >::lineOptions ( )
inlinevirtualinherited

Reimplemented in ACLRegexData, and ACLUserData.

Definition at line 26 of file Data.h.

◆ match() [1/2]

bool ACLStringData::match ( char const *  toFind)
virtual
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()

ACLStringData::MEMPROXY_CLASS ( ACLStringData  )
private

◆ parse()

void ACLStringData::parse ( )
virtual

Implements ACLData< char const * >.

Reimplemented in ACLAdaptationServiceData.

Definition at line 53 of file StringData.cc.

References stringValues, and ConfigParser::strtokFile().

Referenced by ACLCertificateData::parse(), and ACLNoteData::parse().

◆ prepareForUse()

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

Definition at line 31 of file Data.h.

Member Data Documentation

◆ stringValues

StringValues_t ACLStringData::stringValues
private

Definition at line 37 of file StringData.h.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors