COVISE Core
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::CoviseRegexp ( const char *  regexp)

◆ ~CoviseRegexp()

CoviseRegexp::~CoviseRegexp ( )

Member Function Documentation

◆ getMatchFloat()

double CoviseRegexp::getMatchFloat ( int  position)

◆ getMatchInt()

int CoviseRegexp::getMatchInt ( int  position)

◆ getMatchString()

char * CoviseRegexp::getMatchString ( int  position)

◆ isMatching()

bool CoviseRegexp::isMatching ( const char *  line)

Member Data Documentation

◆ line_

char* covise::CoviseRegexp::line_
private

◆ matches_

regmatch_t covise::CoviseRegexp::matches_[maxmatches_]
private

◆ maxmatches_

const int covise::CoviseRegexp::maxmatches_ = 30
staticprivate

◆ preg_

regex_t covise::CoviseRegexp::preg_
private

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