|
Qore Programming Language
0.9.16
|
38 #ifndef _QORE_QOREREGEX_H
40 #define _QORE_QOREREGEX_H
42 #include "qore/intern/QoreRegexBase.h"
46 hashdecl QoreProgramLocation;
51 typedef std::function<
const QoreProgramLocation* ()> q_get_loc_t;
57 DLLLOCAL ~QoreRegex();
59 DLLLOCAL
void concat(
char c);
62 DLLLOCAL
void parse(q_get_loc_t get_loc);
65 DLLLOCAL
bool exec(
const char* str,
size_t len)
const;
70 DLLLOCAL
void setGlobal() {
74 DLLLOCAL
void ref()
const {
78 DLLLOCAL
void deref() {
83 DLLLOCAL QoreRegex* refSelf()
const {
85 return const_cast<QoreRegex*
>(
this);
91 DLLLOCAL
void init(
int64 opt = PCRE_UTF8);
94 #endif // _QORE_QOREREGEX_H
This is the list container type in Qore, dynamically allocated only, reference counted.
Definition: QoreListNode.h:52
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260
DLLEXPORT bool ROdereference() const
atomically decrements the reference count
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
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