Acl::OptionValue< Value > Class Template Reference
Stores configuration of a typical boolean flag or a single-value Option. More...
#include <Options.h>
Inheritance diagram for Acl::OptionValue< Value >:
![Inheritance graph](classAcl_1_1OptionValue__inherit__graph.png)
Collaboration diagram for Acl::OptionValue< Value >:
![Collaboration graph](classAcl_1_1OptionValue__coll__graph.png)
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) More... | |
operator bool () const | |
void | reset () |
go back to the default-initialized state More... | |
Public Attributes | |
Value | value |
final value storage, possibly after conversions More... | |
bool | configured = false |
whether the option was present in squid.conf More... | |
bool | disabled = false |
whether the option was turned off More... | |
bool | valued = false |
whether a configured option had a value More... | |
Detailed Description
Member Typedef Documentation
◆ value_type
template<class Value >
typedef Value Acl::OptionValue< Value >::value_type |
Constructor & Destructor Documentation
◆ OptionValue() [1/2]
template<class Value >
|
inline |
◆ OptionValue() [2/2]
template<class Value >
|
inlineexplicit |
Member Function Documentation
◆ enabled()
template<class Value >
|
inline |
Definition at line 114 of file Options.h.
Referenced by Acl::OptionValue< bool >::operator bool().
◆ operator bool()
template<class Value >
|
inlineexplicit |
◆ reset()
template<class Value >
|
inline |
Member Data Documentation
◆ configured
template<class Value >
bool Acl::OptionValue< Value >::configured = false |
Definition at line 121 of file Options.h.
Referenced by Acl::OptionValue< bool >::enabled().
◆ disabled
template<class Value >
bool Acl::OptionValue< Value >::disabled = false |
Definition at line 123 of file Options.h.
Referenced by Acl::OptionValue< bool >::enabled().
◆ value
template<class Value >
Value Acl::OptionValue< Value >::value |
Definition at line 120 of file Options.h.
Referenced by Acl::AnnotateClientCheck::match(), and Acl::AnnotateTransactionCheck::match().
◆ valued
template<class Value >
bool Acl::OptionValue< Value >::valued = false |
The documentation for this class was generated from the following file:
- src/acl/Options.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products