oasys::Regsub Class Reference

#include <Regex.h>

Inheritance diagram for oasys::Regsub:

oasys::Regex List of all members.

Detailed Description

Definition at line 74 of file Regex.h.

Public Member Functions

 Regsub (const char *regex, const char *sub_spec, int flags=0)
 ~Regsub ()
int subst (const char *str, std::string *result, int flags=0)

Static Public Member Functions

static int subst (const char *regex, const char *str, const char *sub_spec, std::string *result, int cflags=0, int rflags=0)

Protected Attributes

std::string sub_spec_


Constructor & Destructor Documentation

oasys::Regsub::Regsub ( const char *  regex,
const char *  sub_spec,
int  flags = 0 
)

Definition at line 99 of file Regex.cc.

oasys::Regsub::~Regsub (  ) 

Definition at line 104 of file Regex.cc.


Member Function Documentation

int oasys::Regsub::subst ( const char *  regex,
const char *  str,
const char *  sub_spec,
std::string *  result,
int  cflags = 0,
int  rflags = 0 
) [static]

Definition at line 163 of file Regex.cc.

References subst().

Referenced by subst().

int oasys::Regsub::subst ( const char *  str,
std::string *  result,
int  flags = 0 
)

Definition at line 109 of file Regex.cc.

References oasys::Regex::match(), oasys::Regex::matches_, oasys::Regex::num_matches(), and sub_spec_.


Member Data Documentation

std::string oasys::Regsub::sub_spec_ [protected]

Definition at line 86 of file Regex.h.

Referenced by subst().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:08 2006 for DTN Reference Implementation by  doxygen 1.5.1