IDA C++ SDK 9.2
Loading...
Searching...
No Matches
refcnted_regex_t Class Reference

#include <regex.h>

Inheritance diagram for refcnted_regex_t:
qrefcnt_obj_t

Public Member Functions

virtual void idaapi release (void) override
 Call destructor.
int exec (const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)
int process_errors (int code, qstring *errmsg)
size_t nsub (void)
 DECLARE_UNCOPYABLE (refcnted_regex_t)
Public Member Functions inherited from qrefcnt_obj_t
 qrefcnt_obj_t (void)
 Constructor.

Static Public Member Functions

static refcnted_regex_tcreate (const qstring &text, bool case_insensitive, qstring *errmsg)

Additional Inherited Members

Public Attributes inherited from qrefcnt_obj_t
int refcnt
 counter

Member Function Documentation

◆ release()

virtual void idaapi refcnted_regex_t::release ( void )
inlineoverridevirtual

Call destructor.

We use release() instead of operator delete() to maintain binary compatibility with all compilers (vc and gcc use different vtable layouts for operator delete)

Implements qrefcnt_obj_t.

◆ exec()

int refcnted_regex_t::exec ( const char * string,
size_t nmatch,
regmatch_t pmatch[],
int eflags )
inline

◆ process_errors()

int refcnted_regex_t::process_errors ( int code,
qstring * errmsg )
inline

◆ create()

refcnted_regex_t * refcnted_regex_t::create ( const qstring & text,
bool case_insensitive,
qstring * errmsg )
inlinestatic

◆ nsub()

size_t refcnted_regex_t::nsub ( void )
inline

◆ DECLARE_UNCOPYABLE()

refcnted_regex_t::DECLARE_UNCOPYABLE ( refcnted_regex_t )

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