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) override
 
void dump (StoreEntry *e) const override
 

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 78 of file ConfigOption.h.

Constructor & Destructor Documentation

◆ ConfigOptionAdapter()

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 82 of file ConfigOption.h.

Member Function Documentation

◆ dump()

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

Implements ConfigOption.

Definition at line 91 of file ConfigOption.h.

References ConfigOptionAdapter< C >::dumper.

◆ parse()

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

Implements ConfigOption.

Definition at line 84 of file ConfigOption.h.

References ConfigOptionAdapter< C >::parser.

Member Data Documentation

◆ dumper

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

Definition at line 99 of file ConfigOption.h.

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

◆ object

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

Definition at line 97 of file ConfigOption.h.

◆ parser

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

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