#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

◆ StringValues_t

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

Definition at line 38 of file StringData.h.

Constructor & Destructor Documentation

◆ ACLStringData() [1/2]

ACLStringData::ACLStringData ( )
inline

Definition at line 23 of file StringData.h.

References operator=().

Referenced by clone().

◆ ACLStringData() [2/2]

ACLStringData::ACLStringData ( ACLStringData const &  old)

Definition at line 17 of file StringData.cc.

◆ ~ACLStringData()

virtual ACLStringData::~ACLStringData ( )
inlinevirtual

Definition at line 26 of file StringData.h.

References clone(), dump(), empty(), insert(), match(), and parse().

Member Function Documentation

◆ clone()

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(), and ~ACLStringData().

◆ dump()

SBufList ACLStringData::dump ( ) const
virtual

Implements ACLData< char const *>.

Definition at line 49 of file StringData.cc.

References stringValues.

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

◆ empty()

bool ACLStringData::empty ( ) const
virtual

Implements ACLData< char const *>.

Definition at line 64 of file StringData.cc.

References stringValues.

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

◆ insert()

void ACLStringData::insert ( const char *  value)

◆ match() [1/2]

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(), ACLCertificateData::match(), and ~ACLStringData().

◆ match() [2/2]

bool ACLStringData::match ( const SBuf tf)

Definition at line 28 of file StringData.cc.

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

◆ MEMPROXY_CLASS()

ACLStringData::MEMPROXY_CLASS ( ACLStringData  )
private

◆ operator=()

ACLStringData& ACLStringData::operator= ( ACLStringData const &  )

Referenced by ACLStringData().

◆ parse()

void ACLStringData::parse ( )
virtual

◆ prepareForUse()

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

Definition at line 31 of file Data.h.

◆ supportedFlags()

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

Reimplemented in ACLUserData, and ACLRegexData.

Definition at line 25 of file Data.h.

Member Data Documentation

◆ stringValues

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