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

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() [1/2]

SBufList ACLHasComponentData::dump ( ) const
overridevirtual

Definition at line 52 of file HasComponentData.cc.

References AleStr, coAle, componentMethods, coRequest, coResponse, RequestStr, and ResponseStr.

◆ dump() [2/2]

virtual SBufList ACLData< ACLChecklist * >::dump
pure virtualinherited

◆ empty() [1/2]

virtual bool ACLHasComponentData::empty ( ) const
inlineoverridevirtual

Definition at line 27 of file HasComponentData.h.

◆ empty() [2/2]

virtual bool ACLData< ACLChecklist * >::empty
pure virtualinherited

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

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.

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