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 xopts=pathname|noescape|period)
 glob_match (const string_vector &p=string_vector(), unsigned int xopts=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 &str) const
Array< boolmatch (const string_vector &str) const
string_vector glob (void) const

Member Enumeration Documentation

Enumerator:
pathname 
noescape 
period 

Constructor & Destructor Documentation

glob_match::glob_match ( const std::string &  p,
unsigned int  xopts = pathname|noescape|period 
) [inline]
glob_match::glob_match ( const string_vector p = string_vector (),
unsigned int  xopts = 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   )  const
Array<bool> glob_match::match ( const string_vector str  )  const [inline]
bool glob_match::match ( const std::string &  str  )  const
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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines