Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes
net_instaweb::Wildcard Class Reference

List of all members.

Public Member Functions

 Wildcard (const StringPiece &wildcard_spec)
bool Match (const StringPiece &str) const
 Determines whether a string matches the wildcard.
bool IsSimple () const
const StringPiece spec () const
 Returns the original wildcard specification.
WildcardDuplicate () const
 Makes a duplicate copy of the wildcard object.

Static Public Attributes

static const char kMatchAny
 *
static const char kMatchOne
 ?

Constructor & Destructor Documentation

net_instaweb::Wildcard::Wildcard ( const StringPiece &  wildcard_spec) [explicit]

Create a wildcard object with the specification using * and ? as wildcards. There is currently no way to quote * or ?.


Member Function Documentation

bool net_instaweb::Wildcard::IsSimple ( ) const [inline]

Determines whether this wildcard is just a simple name, lacking any wildcard characters.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines