Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::SplitVariable Class Reference
Inheritance diagram for net_instaweb::SplitVariable:

Public Member Functions

 SplitVariable (Variable *rw, Variable *w)
virtual int64 Get () const
virtual StringPiece GetName () const
virtual int64 AddHelper (int64 delta)
 This is virtual so that subclasses can add platform-specific atomicity.
virtual void Clear ()
- Public Member Functions inherited from net_instaweb::Variable
int64 Add (int64 non_negative_delta)
 Adds 'delta' to the variable's value, returning the result.

Additional Inherited Members

Constructor & Destructor Documentation

net_instaweb::SplitVariable::SplitVariable ( Variable rw,
Variable w 

Variable 'rw' will be used to read and write, variable 'w' will be used for writes only. Does not take ownership of either 'rw' or 'w'. 'rw' and 'w' must be non-NULL.

Member Function Documentation

virtual StringPiece net_instaweb::SplitVariable::GetName ( ) const

Return some name representing the variable, provided that the specific implementation has some sensible way of doing so.

Implements net_instaweb::Variable.

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