#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
 
virtual void parse ()
 
bool empty () const
 
virtual SBufList dump () 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)
 
virtual const Acl::OptionslineOptions ()
 supported ACL "line" options (e.g., "-i") More...
 

Private Attributes

UserDataNames_t userDataNames
 
struct {
   bool   case_insensitive
 
   bool   required
 
flags
 

Static Private Attributes

static Acl::BooleanOptionValue CaseInsensitive_
 whether parse() is called in a case insensitive context More...
 

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 37 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 74 of file UserData.cc.

References flags.

Member Function Documentation

◆ dump() [1/2]

SBufList ACLUserData::dump ( ) const
virtual

Definition at line 42 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 146 of file UserData.cc.

References debugs, flags, and userDataNames.

◆ empty() [2/2]

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

◆ lineOptions()

const Acl::Options & ACLUserData::lineOptions ( )
privatevirtual

Reimplemented from ACLData< char const * >.

Definition at line 82 of file UserData.cc.

References CaseInsensitive_, and Acl::CaseSensitivityOption().

◆ match()

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

Implements ACLData< char const * >.

Definition at line 24 of file UserData.cc.

References debugs, flags, NULL, and userDataNames.

◆ MEMPROXY_CLASS()

ACLUserData::MEMPROXY_CLASS ( ACLUserData  )
private

◆ parse()

◆ prepareForUse()

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

Definition at line 31 of file Data.h.

Member Data Documentation

◆ case_insensitive

bool ACLUserData::case_insensitive

Definition at line 41 of file UserData.h.

◆ CaseInsensitive_

Acl::BooleanOptionValue ACLUserData::CaseInsensitive_
staticprivate

Definition at line 32 of file UserData.h.

Referenced by lineOptions(), and parse().

◆ flags

struct { ... } ACLUserData::flags

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

◆ required

bool ACLUserData::required

Definition at line 42 of file UserData.h.

◆ userDataNames

UserDataNames_t ACLUserData::userDataNames
private

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