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 >:
Collaboration diagram for Acl::OptionValue< Value >:

Public Types

typedef Value value_type
 

Public Member Functions

 OptionValue ()
 
 OptionValue (const Value &aValue)
 
 operator bool () const
 

Public Attributes

Value value
 final value storage, possibly after conversions More...
 
bool configured = false
 whether the option was present in squid.conf More...
 
bool valued = false
 whether a configured option had a value More...
 

Detailed Description

template<class Value>
class Acl::OptionValue< Value >

Definition at line 66 of file Options.h.

Member Typedef Documentation

template<class Value>
typedef Value Acl::OptionValue< Value >::value_type

Definition at line 69 of file Options.h.

Constructor & Destructor Documentation

template<class Value>
Acl::OptionValue< Value >::OptionValue ( )
inline

Definition at line 71 of file Options.h.

template<class Value>
Acl::OptionValue< Value >::OptionValue ( const Value &  aValue)
inlineexplicit

Definition at line 72 of file Options.h.

Member Function Documentation

template<class Value>
Acl::OptionValue< Value >::operator bool ( ) const
inlineexplicit

Definition at line 74 of file Options.h.

Member Data Documentation

template<class Value>
bool Acl::OptionValue< Value >::configured = false

Definition at line 77 of file Options.h.

Referenced by Acl::OptionValue< CharacterSet >::operator bool().

template<class Value>
Value Acl::OptionValue< Value >::value
template<class Value>
bool Acl::OptionValue< Value >::valued = false

Definition at line 78 of file Options.h.


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors