Navigation

Operators and Keywords

Function List:

C++ API

glob_match Class Reference

#include <glob-match.h>

Collaboration diagram for glob_match:

List of all members.


Public Types

enum  opts { pathname = 1, noescape = 2, period = 4 }

Public Member Functions

 glob_match (const std::string &p, unsigned int f=pathname|noescape|period)
 glob_match (const string_vector &p=string_vector(), unsigned int f=pathname|noescape|period)
 glob_match (const glob_match &gm)
glob_matchoperator= (const glob_match &gm)
 ~glob_match (void)
void set_pattern (const std::string &p)
void set_pattern (const string_vector &p)
bool match (const std::string &)
Array< boolmatch (const string_vector &)
string_vector glob (void)

Member Enumeration Documentation

Enumerator:
pathname 
noescape 
period 


Constructor & Destructor Documentation

glob_match::glob_match ( const std::string p,
unsigned int  f = pathname|noescape|period 
) [inline]

glob_match::glob_match ( const string_vector p = string_vector (),
unsigned int  f = pathname|noescape|period 
) [inline]

glob_match::glob_match ( const glob_match gm  )  [inline]

glob_match::~glob_match ( void   )  [inline]


Member Function Documentation

string_vector glob_match::glob ( void   ) 

Array< bool > glob_match::match ( const string_vector s  ) 

bool glob_match::match ( const std::string s  ) 

glob_match& glob_match::operator= ( const glob_match gm  )  [inline]

void glob_match::set_pattern ( const string_vector p  )  [inline]

void glob_match::set_pattern ( const std::string p  )  [inline]


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