Regex_t Class Reference

#include <IniParser.h>

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

Regex_t::REP_BODY ( Regex_t   )  [private]

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


Friends And Related Function Documentation

friend class Regex [friend]

prohibits copying and assignment just like we want


Member Data Documentation

regex_t Regex_t::regex [private]

bool Regex_t::live [private]

glibc regex buffer


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 01:20:22 2007 for yast2-core by  doxygen 1.5.0