|
Qore Programming Language
0.9.16
|
34 #ifndef _QORE_QOREREGEXSUBST_H
36 #define _QORE_QOREREGEXSUBST_H
38 #include "qore/intern/QoreRegexBase.h"
39 #include <sys/types.h>
48 DLLLOCAL
static void concat(
QoreString *str,
int *ovector,
int olen,
const char *ptr,
const char *target,
int rc);
51 DLLLOCAL QoreRegexSubst();
56 DLLLOCAL ~QoreRegexSubst();
59 DLLLOCAL
void parse();
62 DLLLOCAL
void concatSource(
char c);
63 DLLLOCAL
void concatTarget(
char c);
64 DLLLOCAL
void setGlobal();
67 DLLLOCAL
void ref()
const {
71 DLLLOCAL
void deref() {
76 DLLLOCAL QoreRegexSubst* refSelf()
const {
78 return const_cast<QoreRegexSubst*
>(
this);
82 #endif // _QORE_QOREREGEXSUBST_H
DLLEXPORT bool ROdereference() const
atomically decrements the reference count
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
DLLEXPORT void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
DLLEXPORT void ROreference() const
atomically increments the reference count
provides atomic reference counting to Qore objects
Definition: QoreReferenceCounter.h:44
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:50