ConfigOptionAdapter< C > Class Template Reference

#include <ConfigOption.h>

Inheritance diagram for ConfigOptionAdapter< C >:
Collaboration diagram for ConfigOptionAdapter< C >:

Public Member Functions

 ConfigOptionAdapter (C &theObject, bool(C::*parseFP)(char const *option, const char *value, int reconfiguring), void(C::*dumpFP)(StoreEntry *e) const)
 
bool parse (char const *option, const char *value, int isaReconf)
 
void dump (StoreEntry *e) const
 

Private Attributes

Cobject
 
bool(C::* parser )(char const *option, const char *value, int reconfiguring)
 
void(C::* dumper )(StoreEntry *e) const
 

Detailed Description

template<class C>
class ConfigOptionAdapter< C >

Definition at line 39 of file ConfigOption.h.

Constructor & Destructor Documentation

template<class C >
ConfigOptionAdapter< C >::ConfigOptionAdapter ( C theObject,
bool(C::*)(char const *option, const char *value, int reconfiguring parseFP,
void(C::*)(StoreEntry *e) const  dumpFP 
)
inline

Definition at line 43 of file ConfigOption.h.

Member Function Documentation

template<class C >
void ConfigOptionAdapter< C >::dump ( StoreEntry e) const
inlinevirtual

Implements ConfigOption.

Definition at line 52 of file ConfigOption.h.

References ConfigOptionAdapter< C >::dumper.

template<class C >
bool ConfigOptionAdapter< C >::parse ( char const *  option,
const char *  value,
int  isaReconf 
)
inlinevirtual

Implements ConfigOption.

Definition at line 45 of file ConfigOption.h.

References ConfigOptionAdapter< C >::parser.

Member Data Documentation

template<class C >
void(C::* ConfigOptionAdapter< C >::dumper)(StoreEntry *e) const
private

Definition at line 60 of file ConfigOption.h.

Referenced by ConfigOptionAdapter< C >::dump().

template<class C >
C& ConfigOptionAdapter< C >::object
private

Definition at line 58 of file ConfigOption.h.

template<class C >
bool(C::* ConfigOptionAdapter< C >::parser)(char const *option, const char *value, int reconfiguring)
private

Definition at line 59 of file ConfigOption.h.

Referenced by ConfigOptionAdapter< C >::parse().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors