storage::Regex Class Reference

#include <Regex.h>

List of all members.

Public Member Functions

 Regex (const char *, int=REG_EXTENDED, unsigned int=10)
 Regex (const string &, int=REG_EXTENDED, unsigned int=10)
 ~Regex ()
string getPattern () const
int getCflags () const
bool match (const string &, int=0) const
regoff_t so (unsigned int) const
regoff_t eo (unsigned int) const
string cap (unsigned int) const

Static Public Attributes

static const string & ws = "[ ]*"
static const string & number = "[o-9]+"

Private Attributes

const string pattern
const int cflags
const unsigned int nm
regex_t rx
int my_nl_msg_cat_cntr
regmatch_t * rm
string last_str


Constructor & Destructor Documentation

Regex::Regex const char *  ,
int  = REG_EXTENDED,
unsigned  int = 10
 

Regex::Regex const string &  ,
int  = REG_EXTENDED,
unsigned  int = 10
 

Regex::~Regex  ) 
 


Member Function Documentation

string Regex::cap unsigned  int  )  const
 

regoff_t Regex::eo unsigned  int  )  const
 

int storage::Regex::getCflags  )  const [inline]
 

string storage::Regex::getPattern  )  const [inline]
 

bool Regex::match const string &  ,
int  = 0
const
 

regoff_t Regex::so unsigned  int  )  const
 


Member Data Documentation

const int storage::Regex::cflags [private]
 

string storage::Regex::last_str [mutable, private]
 

int storage::Regex::my_nl_msg_cat_cntr [mutable, private]
 

const unsigned int storage::Regex::nm [private]
 

const string & Regex::number = "[o-9]+" [static]
 

const string storage::Regex::pattern [private]
 

regmatch_t* storage::Regex::rm [mutable, private]
 

regex_t storage::Regex::rx [mutable, private]
 

const string & Regex::ws = "[ ]*" [static]
 


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:40:25 2006 for yast2-storage by  doxygen 1.4.6