Page Speed Optimization Libraries
1.5.27.2
|
#include "rewrite_options.h"
Public Types | |
typedef OptionClass RewriteOptionsSubclass::* | OptionOffset |
typedef OptionClass::ValueType | ValueType |
Public Member Functions | |
PropertyLeaf (ValueType default_value, OptionOffset offset, const char *id, OptionEnum option_enum) | |
virtual void | InitializeOption (RewriteOptions *options) const |
Leaf subclass of Property<ValueType>, which is templated on the class of the corresponding Option. The template parameters here are RewriteOptionsSubclass -- the subclass of RewriteOptions in which this option is instantiated, e.g. ApacheConfig. OptionClass -- the subclass of OptionBase that is being instantiated in each RewriteOptionsSubclass. These template parameters are generally automatically discovered by the compiler when AddProperty is called.
typedef OptionClass RewriteOptionsSubclass::* net_instaweb::RewriteOptions::PropertyLeaf< RewriteOptionsSubclass, OptionClass >::OptionOffset |
Fancy C++ pointers to members; a typesafe version of offsetof. See http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp? topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fcplr034.htm
virtual void net_instaweb::RewriteOptions::PropertyLeaf< RewriteOptionsSubclass, OptionClass >::InitializeOption | ( | RewriteOptions * | options | ) | const [inline, virtual] |
Connect the specified RewriteOption to this property. set_index() must previously have been called on this.
Implements net_instaweb::RewriteOptions::PropertyBase.