#include <HasComponentData.h>

Inheritance diagram for ACLHasComponentData:
Collaboration diagram for ACLHasComponentData:

Public Member Functions

 ACLHasComponentData ()
 
virtual bool match (ACLChecklist *) override
 
virtual SBufList dump () const override
 
virtual void parse () override
 
virtual bool empty () const override
 
virtual ACLData< ACLChecklist * > * clone () const override
 
virtual const Acl::ParameterFlagssupportedFlags () const
 
virtual void prepareForUse ()
 

Private Types

enum  ComponentKind {
  coRequest = 0,
  coResponse,
  coAle,
  coEnd
}
 
typedef bool(ACLChecklist::* ComponentCheck )() const
 

Private Member Functions

 MEMPROXY_CLASS (ACLHasComponentData)
 
void parseComponent (const char *token)
 

Private Attributes

std::vector< ComponentCheckcomponentMethods
 component check callbacks, ordered by component kind ID More...
 

Static Private Attributes

static const SBuf RequestStr
 
static const SBuf ResponseStr
 
static const SBuf AleStr
 

Detailed Description

Definition at line 16 of file HasComponentData.h.

Member Typedef Documentation

typedef bool(ACLChecklist::* ACLHasComponentData::ComponentCheck)() const
private

Definition at line 38 of file HasComponentData.h.

Member Enumeration Documentation

Enumerator
coRequest 
coResponse 
coAle 
coEnd 

Definition at line 31 of file HasComponentData.h.

Constructor & Destructor Documentation

ACLHasComponentData::ACLHasComponentData ( )

Definition at line 19 of file HasComponentData.cc.

Referenced by clone().

Member Function Documentation

ACLData< ACLChecklist * > * ACLHasComponentData::clone ( ) const
overridevirtual

Implements ACLData< ACLChecklist * >.

Definition at line 78 of file HasComponentData.cc.

References ACLHasComponentData().

SBufList ACLHasComponentData::dump ( ) const
overridevirtual
virtual bool ACLHasComponentData::empty ( ) const
inlineoverridevirtual

Implements ACLData< ACLChecklist * >.

Definition at line 27 of file HasComponentData.h.

bool ACLHasComponentData::match ( ACLChecklist checklist)
overridevirtual

Implements ACLData< ACLChecklist * >.

Definition at line 41 of file HasComponentData.cc.

References componentMethods, and method.

Referenced by ACLHasComponentStrategy::match().

ACLHasComponentData::MEMPROXY_CLASS ( ACLHasComponentData  )
private
void ACLHasComponentData::parse ( )
overridevirtual
void ACLHasComponentData::parseComponent ( const char *  token)
private
virtual void ACLData< ACLChecklist * >::prepareForUse ( )
inlinevirtualinherited

Definition at line 31 of file Data.h.

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

Definition at line 25 of file Data.h.

Member Data Documentation

const SBuf ACLHasComponentData::AleStr
staticprivate

Definition at line 36 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

std::vector<ComponentCheck> ACLHasComponentData::componentMethods
private

Definition at line 40 of file HasComponentData.h.

Referenced by dump(), match(), and parseComponent().

const SBuf ACLHasComponentData::RequestStr
staticprivate

Definition at line 34 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

const SBuf ACLHasComponentData::ResponseStr
staticprivate

Definition at line 35 of file HasComponentData.h.

Referenced by dump(), and parseComponent().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors