Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::RewriteOptions::Option< T > Class Template Reference

#include "rewrite_options.h"

Inheritance diagram for net_instaweb::RewriteOptions::Option< T >:
net_instaweb::RewriteOptions::OptionTemplateBase< T > net_instaweb::RewriteOptions::OptionBase

Public Member Functions

virtual bool SetFromString (StringPiece value_string, GoogleString *error_detail)
 Sets value_ from value_string.
 
virtual GoogleString Signature (const Hasher *hasher) const
 
virtual GoogleString ToString () const
 
- Public Member Functions inherited from net_instaweb::RewriteOptions::OptionTemplateBase< T >
virtual bool was_set () const
 
void set (const T &val)
 
void set_default (const T &val)
 
const T & value () const
 
T & mutable_value ()
 
virtual void Merge (const OptionBase *src)
 
void MergeHelper (const OptionTemplateBase *src)
 
void set_property (const Property< T > *property)
 The static properties of an Option are held in a Property<T>*. More...
 
virtual const PropertyBaseproperty () const
 
void set_global_default (const T &val)
 
void DoNotUseForSignatureComputation ()
 
- Public Member Functions inherited from net_instaweb::RewriteOptions::OptionBase
const char * id () const
 
const char * help_text () const
 
OptionScope scope () const
 
StringPiece option_name () const
 
bool is_used_for_signature_computation () const
 

Additional Inherited Members

- Public Types inherited from net_instaweb::RewriteOptions::OptionTemplateBase< T >
typedef T ValueType
 

Detailed Description

template<class T>
class net_instaweb::RewriteOptions::Option< T >

Subclassing OptionTemplateBase so that the conversion functions that need to invoke static overloaded functions are declared only here. Enables subclasses of RewriteOptions to override these in case they use Option types not visible here.


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