Page Speed Optimization Libraries
1.13.35.1
|
#include "rewrite_options.h"
Public Member Functions | |
virtual bool | SetFromString (StringPiece value_string, GoogleString *error_detail)=0 |
virtual void | Merge (const OptionBase *src)=0 |
virtual bool | was_set () const =0 |
virtual GoogleString | Signature (const Hasher *hasher) const =0 |
virtual GoogleString | ToString () const =0 |
const char * | id () const |
const char * | help_text () const |
OptionScope | scope () const |
StringPiece | option_name () const |
bool | is_used_for_signature_computation () const |
virtual const PropertyBase * | property () const =0 |
Base class for Option – the instantiation of a Property that occurs in each RewriteOptions instance.
|
pure virtual |
Returns if parsing was successful. error_detail will be appended to to an error message if this returns false. Implementors are not required to set *error_detail; its the callers responsibility to do so.
Implemented in net_instaweb::RewriteOptions::Option< T >, net_instaweb::RewriteOptions::Option< RewriteLevel >, net_instaweb::RewriteOptions::Option< EnabledEnum >, net_instaweb::RewriteOptions::Option< int >, net_instaweb::RewriteOptions::Option< ResourceCategorySet >, net_instaweb::RewriteOptions::Option< GoogleString >, net_instaweb::RewriteOptions::Option< net_instaweb::RewriteOptions::AllowVaryOn >, net_instaweb::RewriteOptions::Option< int64 >, net_instaweb::RewriteOptions::Option< net_instaweb::RewriteOptions::ResponsiveDensities >, net_instaweb::RewriteOptions::Option< bool >, and net_instaweb::RewriteOptions::Option< net_instaweb::RewriteOptions::BeaconUrl >.