|
Squid Web Cache master
|
Stores configuration of a typical boolean flag or a single-value Option. More...
#include <Options.h>
Public Types | |
| typedef Value | value_type |
Public Member Functions | |
| OptionValue () | |
| OptionValue (const Value &aValue) | |
| bool | enabled () const |
| whether the option is explicitly turned "on" (with or without a value) | |
| operator bool () const | |
| void | reset () |
| go back to the default-initialized state | |
Public Attributes | |
| Value | value |
| final value storage, possibly after conversions | |
| bool | configured = false |
| whether the option was present in squid.conf | |
| bool | disabled = false |
| whether the option was turned off | |
| bool | valued = false |
| whether a configured option had a value | |
| typedef Value Acl::OptionValue< Value >::value_type |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 114 of file Options.h.
References Acl::OptionValue< Value >::configured, and Acl::OptionValue< Value >::disabled.
Referenced by Acl::OptionValue< Value >::operator bool().
|
inlineexplicit |
Definition at line 115 of file Options.h.
References Acl::OptionValue< Value >::enabled().
|
inline |
| bool Acl::OptionValue< Value >::configured = false |
Definition at line 121 of file Options.h.
Referenced by Acl::OptionValue< Value >::enabled().
| bool Acl::OptionValue< Value >::disabled = false |
Definition at line 123 of file Options.h.
Referenced by Acl::OptionValue< Value >::enabled().
| Value Acl::OptionValue< Value >::value |
Definition at line 120 of file Options.h.
Referenced by Acl::AnnotateClientCheck::match(), and Acl::AnnotateTransactionCheck::match().
| bool Acl::OptionValue< Value >::valued = false |