#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 ()
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
bool empty () const
 
virtual ACLData< char const * > * clone () const
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
virtual SBufList dump () const=0
 
virtual ACLDataclone () const=0
 
virtual void prepareForUse ()
 
virtual bool empty () const=0
 

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

◆ UserDataNames_t

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

Definition at line 34 of file UserData.h.

Constructor & Destructor Documentation

◆ ~ACLUserData()

virtual ACLUserData::~ACLUserData ( )
inlinevirtual

Definition at line 23 of file UserData.h.

◆ ACLUserData()

ACLUserData::ACLUserData ( )

Definition at line 78 of file UserData.cc.

References flags.

Referenced by clone().

Member Function Documentation

◆ clone() [1/2]

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

Definition at line 149 of file UserData.cc.

References ACLUserData().

◆ clone() [2/2]

virtual ACLData* ACLData< char const * >::clone ( ) const
pure virtualinherited

◆ dump() [1/2]

SBufList ACLUserData::dump ( ) const
virtual

Definition at line 46 of file UserData.cc.

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

◆ dump() [2/2]

virtual SBufList ACLData< char const * >::dump ( ) const
pure virtualinherited

◆ empty() [1/2]

bool ACLUserData::empty ( ) const

Definition at line 140 of file UserData.cc.

References debugs, flags, and userDataNames.

◆ empty() [2/2]

virtual bool ACLData< char const * >::empty ( ) const
pure virtualinherited

◆ match()

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

Implements ACLData< char const * >.

Definition at line 28 of file UserData.cc.

References debugs, flags, NULL, and userDataNames.

◆ MEMPROXY_CLASS()

ACLUserData::MEMPROXY_CLASS ( ACLUserData  )
private

◆ parse()

void ACLUserData::parse ( )
virtual

◆ prepareForUse()

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

Definition at line 31 of file Data.h.

◆ supportedFlags() [1/2]

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

Definition at line 25 of file Data.h.

◆ supportedFlags() [2/2]

const Acl::ParameterFlags & ACLUserData::supportedFlags ( ) const
virtual

Definition at line 21 of file UserData.cc.

Member Data Documentation

◆ case_insensitive

bool ACLUserData::case_insensitive

Definition at line 38 of file UserData.h.

◆ flags

struct { ... } ACLUserData::flags

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

◆ required

bool ACLUserData::required

Definition at line 39 of file UserData.h.

◆ userDataNames

UserDataNames_t ACLUserData::userDataNames
private

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