COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
covise::CoviseRegexp Class Reference

#include <covise_regexp.h>

Public Member Functions

 CoviseRegexp (const char *regexp)
 
 ~CoviseRegexp ()
 
bool isMatching (const char *line)
 
char * getMatchString (int position)
 
int getMatchInt (int position)
 
double getMatchFloat (int position)
 

Private Attributes

regmatch_t matches_ [maxmatches_]
 
regex_t preg_
 
char * line_
 

Static Private Attributes

static const int maxmatches_ = 30
 

Constructor & Destructor Documentation

CoviseRegexp::CoviseRegexp ( const char *  regexp)
CoviseRegexp::~CoviseRegexp ( )

Member Function Documentation

double CoviseRegexp::getMatchFloat ( int  position)
int CoviseRegexp::getMatchInt ( int  position)
char * CoviseRegexp::getMatchString ( int  position)
bool CoviseRegexp::isMatching ( const char *  line)

Member Data Documentation

char* covise::CoviseRegexp::line_
private
regmatch_t covise::CoviseRegexp::matches_[maxmatches_]
private
const int covise::CoviseRegexp::maxmatches_ = 30
staticprivate
regex_t covise::CoviseRegexp::preg_
private

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