#include <StringData.h>

Inheritance diagram for ACLStringData:
Collaboration diagram for ACLStringData:

Public Member Functions

 ACLStringData ()
 
 ACLStringData (ACLStringData const &)
 
ACLStringDataoperator= (ACLStringData const &)
 
virtual ~ACLStringData ()
 
bool match (char const *)
 
bool match (const SBuf &)
 
virtual SBufList dump () const
 
virtual void parse ()
 
bool empty () const
 
virtual ACLData< char const * > * clone () const
 
void insert (const char *)
 Insert a string data value. More...
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
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

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

Definition at line 38 of file StringData.h.

Constructor & Destructor Documentation

ACLStringData::ACLStringData ( )
inline

Definition at line 23 of file StringData.h.

Referenced by clone().

ACLStringData::ACLStringData ( ACLStringData const &  old)

Definition at line 17 of file StringData.cc.

virtual ACLStringData::~ACLStringData ( )
inlinevirtual

Definition at line 26 of file StringData.h.

Member Function Documentation

ACLData< char const * > * ACLStringData::clone ( ) const
virtual

Implements ACLData< char const * >.

Reimplemented in ACLAdaptationServiceData.

Definition at line 70 of file StringData.cc.

References ACLStringData().

Referenced by ACLNoteData::clone().

SBufList ACLStringData::dump ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 49 of file StringData.cc.

References stringValues.

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

bool ACLStringData::empty ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 64 of file StringData.cc.

References stringValues.

Referenced by ACLCertificateData::empty(), and ACLNoteData::match().

void ACLStringData::insert ( const char *  value)

Definition at line 22 of file StringData.cc.

References stringValues.

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

bool ACLStringData::match ( char const *  toFind)
virtual
Deprecated:
use match(SBuf&) instead.

Implements ACLData< char const * >.

Definition at line 43 of file StringData.cc.

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

bool ACLStringData::match ( const SBuf tf)

Definition at line 28 of file StringData.cc.

References debugs, SBuf::isEmpty(), and stringValues.

ACLStringData::MEMPROXY_CLASS ( ACLStringData  )
private
ACLStringData& ACLStringData::operator= ( ACLStringData const &  )
void ACLStringData::parse ( )
virtual

Implements ACLData< char const * >.

Reimplemented in ACLAdaptationServiceData.

Definition at line 57 of file StringData.cc.

References stringValues, and ConfigParser::strtokFile().

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

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

Definition at line 31 of file Data.h.

virtual const Acl::ParameterFlags& ACLData< char const * >::supportedFlags ( ) const
inlinevirtualinherited
Returns
the flags supported by these ACL parameters (e.g., "-i")

Reimplemented in ACLRegexData.

Definition at line 25 of file Data.h.

Member Data Documentation

StringValues_t ACLStringData::stringValues
private

Definition at line 39 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