Regex_t Class Reference

#include <IniParser.h>

Inheritance diagram for Regex_t:

Rep List of all members.

Public Member Functions

 Regex_t ()
 has regex been regcomp'd and should it be regfree'd?
 ~Regex_t ()
int compile (const string &pattern, bool ignore_case)

Private Member Functions

 REP_BODY (Regex_t)

Private Attributes

regex_t regex
bool live
 glibc regex buffer

Friends

class Regex
 prohibits copying and assignment just like we want

Detailed Description

Wrapper to manage regex_t * Must not be copied because regex_t is opaque


Constructor & Destructor Documentation

Regex_t::Regex_t  )  [inline]
 

has regex been regcomp'd and should it be regfree'd?

Regex_t::~Regex_t  )  [inline]
 


Member Function Documentation

int Regex_t::compile const string &  pattern,
bool  ignore_case
[inline]
 

Initialize the regex Can be called only once

Parameters:
pattern a pattern (REG_EXTENDED) ignore_case REG_ICASE?
Returns:
0 for success

Regex_t::REP_BODY Regex_t   )  [private]
 


Friends And Related Function Documentation

friend class Regex [friend]
 

prohibits copying and assignment just like we want


Member Data Documentation

bool Regex_t::live [private]
 

glibc regex buffer

regex_t Regex_t::regex [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6