CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PathspecElementPattern::PlaintextSubPattern Class Reference
Inheritance diagram for PathspecElementPattern::PlaintextSubPattern:
Collaboration diagram for PathspecElementPattern::PlaintextSubPattern:

Public Member Functions

 PlaintextSubPattern ()
 
SubPatternClone () const
 
bool Compare (const SubPattern *other) const
 
void AddChar (const char chr)
 
bool IsEmpty () const
 
bool IsPlaintext () const
 
std::string GenerateRegularExpression (const bool is_relaxed) const
 
std::string GenerateGlobString () const
 
- Public Member Functions inherited from PathspecElementPattern::SubPattern
 SubPattern ()
 
virtual ~SubPattern ()
 
virtual bool IsWildcard () const
 
virtual bool IsPlaceholder () const
 

Protected Member Functions

 PlaintextSubPattern (const PlaintextSubPattern &other)
 
PlaintextSubPatternoperator= (const PlaintextSubPattern &other)
 
bool IsSpecialRegexCharacter (const char chr) const
 

Private Attributes

std::string chars_
 

Detailed Description

Definition at line 56 of file pathspec_pattern.h.

Constructor & Destructor Documentation

PathspecElementPattern::PlaintextSubPattern::PlaintextSubPattern ( )
inline

Definition at line 58 of file pathspec_pattern.h.

Referenced by Clone().

Here is the caller graph for this function:

PathspecElementPattern::PlaintextSubPattern::PlaintextSubPattern ( const PlaintextSubPattern other)
inlineprotected

Definition at line 70 of file pathspec_pattern.h.

Member Function Documentation

void PathspecElementPattern::PlaintextSubPattern::AddChar ( const char  chr)

Definition at line 174 of file pathspec_pattern.cc.

Referenced by PathspecElementPattern::ParsePlaintext().

Here is the caller graph for this function:

SubPattern* PathspecElementPattern::PlaintextSubPattern::Clone ( ) const
inlinevirtual

Implements PathspecElementPattern::SubPattern.

Definition at line 59 of file pathspec_pattern.h.

Here is the call graph for this function:

bool PathspecElementPattern::PlaintextSubPattern::Compare ( const SubPattern other) const
virtual

Implements PathspecElementPattern::SubPattern.

Definition at line 229 of file pathspec_pattern.cc.

Here is the call graph for this function:

std::string PathspecElementPattern::PlaintextSubPattern::GenerateGlobString ( ) const
virtual

Implements PathspecElementPattern::SubPattern.

Definition at line 197 of file pathspec_pattern.cc.

Here is the call graph for this function:

std::string PathspecElementPattern::PlaintextSubPattern::GenerateRegularExpression ( const bool  is_relaxed) const
virtual

Implements PathspecElementPattern::SubPattern.

Definition at line 179 of file pathspec_pattern.cc.

bool PathspecElementPattern::PlaintextSubPattern::IsEmpty ( ) const
inlinevirtual

Reimplemented from PathspecElementPattern::SubPattern.

Definition at line 63 of file pathspec_pattern.h.

bool PathspecElementPattern::PlaintextSubPattern::IsPlaintext ( ) const
inlinevirtual

Reimplemented from PathspecElementPattern::SubPattern.

Definition at line 64 of file pathspec_pattern.h.

bool PathspecElementPattern::PlaintextSubPattern::IsSpecialRegexCharacter ( const char  chr) const
protected

Definition at line 211 of file pathspec_pattern.cc.

PlaintextSubPattern& PathspecElementPattern::PlaintextSubPattern::operator= ( const PlaintextSubPattern other)
protected

Member Data Documentation

std::string PathspecElementPattern::PlaintextSubPattern::chars_
private

Definition at line 76 of file pathspec_pattern.h.

Referenced by AddChar(), Compare(), and IsEmpty().


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