#include <HasComponentData.h>

Inheritance diagram for ACLHasComponentData:
Collaboration diagram for ACLHasComponentData:

Public Member Functions

 ACLHasComponentData ()
 
bool match (ACLChecklist *) override
 
SBufList dump () const override
 
void parse () override
 
bool empty () const override
 
virtual const Acl::OptionslineOptions ()
 supported ACL "line" options (e.g., "-i") More...
 
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 37 of file HasComponentData.h.

Member Enumeration Documentation

◆ ComponentKind

Enumerator
coRequest 
coResponse 
coAle 
coEnd 

Definition at line 30 of file HasComponentData.h.

Constructor & Destructor Documentation

◆ ACLHasComponentData()

ACLHasComponentData::ACLHasComponentData ( )

Definition at line 19 of file HasComponentData.cc.

Member Function Documentation

◆ dump()

SBufList ACLHasComponentData::dump ( ) const
overridevirtual

◆ empty()

bool ACLHasComponentData::empty ( ) const
inlineoverridevirtual

Implements ACLData< ACLChecklist * >.

Definition at line 27 of file HasComponentData.h.

◆ lineOptions()

virtual const Acl::Options & ACLData< ACLChecklist * >::lineOptions ( )
inlinevirtualinherited

Definition at line 26 of file Data.h.

◆ match()

bool ACLHasComponentData::match ( ACLChecklist checklist)
overridevirtual

Implements ACLData< ACLChecklist * >.

Definition at line 43 of file HasComponentData.cc.

References componentMethods.

◆ 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.

Member Data Documentation

◆ AleStr

const SBuf ACLHasComponentData::AleStr
staticprivate

Definition at line 35 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

◆ componentMethods

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

Definition at line 39 of file HasComponentData.h.

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

◆ RequestStr

const SBuf ACLHasComponentData::RequestStr
staticprivate

Definition at line 33 of file HasComponentData.h.

Referenced by dump(), and parseComponent().

◆ ResponseStr

const SBuf ACLHasComponentData::ResponseStr
staticprivate

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