|
Squid Web Cache master
|
#include <ConfigOption.h>
Public Member Functions | |
| Security::KeyLog * | Parse (ConfigParser &parser) |
| void | Print (std::ostream &os, Security::KeyLog *const &keyLog) |
| void | Free (Security::KeyLog *const keyLog) |
Static Public Member Functions | |
| 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 | |
| static void | Free (T) |
| destroys Parse() result | |
Interface for basic/low-level manipulation of a squid.conf directive value. Hides T's declarations from squid.conf parsing/reconfiguring/reporting code.
Implementations/specializations must not modify the current configuration (i.e. the Config objects and similar/related global state). To facilitate reuse, implementations/specializations should also be independent from any specific configuration directive name and its squid.conf location.
TODO: Support multi-directive components of various kinds.
Definition at line 30 of file ConfigOption.h.
| void Configuration::Component< Security::KeyLog * >::Free | ( | Security::KeyLog *const | keyLog | ) |
|
static |
Referenced by FreeDirective().
|
static |
Referenced by ParseDirective().
| Security::KeyLog * Configuration::Component< Security::KeyLog * >::Parse | ( | ConfigParser & | parser | ) |
|
static |
Referenced by DumpDirective().
| void Configuration::Component< Security::KeyLog * >::Print | ( | std::ostream & | os, |
| Security::KeyLog *const & | keyLog | ||
| ) |
Definition at line 106 of file KeyLog.cc.
References assert, and Security::KeyLog::dump().