#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

◆ ComponentCheck

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

Definition at line 38 of file HasComponentData.h.

Member Enumeration Documentation

◆ ComponentKind

Enumerator
coRequest 
coResponse 
coAle 
coEnd 

Definition at line 31 of file HasComponentData.h.

Constructor & Destructor Documentation

◆ ACLHasComponentData()

ACLHasComponentData::ACLHasComponentData ( )

Definition at line 19 of file HasComponentData.cc.

Referenced by clone().

Member Function Documentation

◆ clone()

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

Implements ACLData< ACLChecklist *>.

Definition at line 78 of file HasComponentData.cc.

References ACLHasComponentData().

Referenced by empty().

◆ dump()

SBufList ACLHasComponentData::dump ( ) const
overridevirtual

◆ empty()

virtual bool ACLHasComponentData::empty ( ) const
inlineoverridevirtual

Implements ACLData< ACLChecklist *>.

Definition at line 27 of file HasComponentData.h.

References clone().

◆ match()

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().

◆ MEMPROXY_CLASS()

ACLHasComponentData::MEMPROXY_CLASS ( ACLHasComponentData  )
private

◆ parse()

void ACLHasComponentData::parse ( )
overridevirtual

◆ parseComponent()

void ACLHasComponentData::parseComponent ( const char *  token)
private

◆ prepareForUse()

virtual void ACLData< ACLChecklist * >::prepareForUse ( )
inlinevirtualinherited

Definition at line 31 of file Data.h.

◆ supportedFlags()

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

◆ AleStr

const SBuf ACLHasComponentData::AleStr
staticprivate

Definition at line 36 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

◆ componentMethods

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

Definition at line 40 of file HasComponentData.h.

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

◆ RequestStr

const SBuf ACLHasComponentData::RequestStr
staticprivate

Definition at line 34 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

◆ ResponseStr

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