#include <UserData.h>

Inheritance diagram for ACLUserData:
Collaboration diagram for ACLUserData:

Public Member Functions

virtual ~ACLUserData ()
 
 ACLUserData ()
 
bool match (char const *user)
 
virtual SBufList dump () const
 
void parse ()
 
bool empty () const
 
virtual ACLData< char const * > * clone () const
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
virtual void prepareForUse ()
 

Private Types

typedef std::set< SBuf, bool(*)(const
SBuf &, const SBuf &)> 
UserDataNames_t
 

Private Member Functions

 MEMPROXY_CLASS (ACLUserData)
 

Private Attributes

UserDataNames_t userDataNames
 
struct {
   bool   case_insensitive
 
   bool   required
 
flags
 

Detailed Description

Definition at line 18 of file UserData.h.

Member Typedef Documentation

typedef std::set<SBuf,bool(*)(const SBuf&, const SBuf&)> ACLUserData::UserDataNames_t
private

Definition at line 33 of file UserData.h.

Constructor & Destructor Documentation

virtual ACLUserData::~ACLUserData ( )
inlinevirtual

Definition at line 23 of file UserData.h.

ACLUserData::ACLUserData ( )

Definition at line 71 of file UserData.cc.

References flags.

Referenced by clone().

Member Function Documentation

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

Implements ACLData< char const * >.

Definition at line 142 of file UserData.cc.

References ACLUserData().

SBufList ACLUserData::dump ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 39 of file UserData.cc.

References debugs, flags, JoinContainerToSBuf(), and userDataNames.

bool ACLUserData::empty ( ) const
virtual

Implements ACLData< char const * >.

Definition at line 133 of file UserData.cc.

References debugs, flags, and userDataNames.

bool ACLUserData::match ( char const *  user)
virtual

Implements ACLData< char const * >.

Definition at line 21 of file UserData.cc.

References debugs, flags, NULL, and userDataNames.

ACLUserData::MEMPROXY_CLASS ( ACLUserData  )
private
void ACLUserData::parse ( )
virtual
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

bool ACLUserData::case_insensitive

Definition at line 37 of file UserData.h.

struct { ... } ACLUserData::flags

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

bool ACLUserData::required

Definition at line 38 of file UserData.h.

UserDataNames_t ACLUserData::userDataNames
private

Definition at line 34 of file UserData.h.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors