ConfigOption.h
Go to the documentation of this file.
82 ConfigOptionAdapter(C& theObject, bool (C::*parseFP)(char const *option, const char *value, int reconfiguring), void (C::*dumpFP)(StoreEntry * e) const) : object(theObject), parser(parseFP), dumper(dumpFP) {}
Definition: ConfigOption.h:79
ConfigOptionAdapter(C &theObject, bool(C::*parseFP)(char const *option, const char *value, int reconfiguring), void(C::*dumpFP)(StoreEntry *e) const)
Definition: ConfigOption.h:82
bool(C::* parser)(char const *option, const char *value, int reconfiguring)
Definition: ConfigOption.h:98
bool parse(char const *option, const char *value, int isaReconf) override
Definition: ConfigOption.h:84
Definition: ConfigOption.h:68
bool parse(char const *option, const char *value, int reconfiguring) override
Definition: ConfigOption.cc:23
Definition: ConfigOption.h:58
virtual void dump(StoreEntry *e) const =0
virtual bool parse(char const *option, const char *value, int reconfiguring)=0
Definition: ConfigParser.h:46
Definition: ConfigOption.h:31
static T Parse(ConfigParser &)
creates a new T instance using the given parser; never returns nil
static void Print(std::ostream &, const T &)
reports the current T instance configuration in squid.conf format
Definition: Store.h:42
int reconfiguring
Definition: ConfigOption.h:18