SetTrie
|
#include <Python.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <math.h>
Classes | |
struct | swig_type_info |
struct | swig_cast_info |
struct | swig_module_info |
struct | swig_const_info |
struct | swig_globalvar |
struct | swig_varlinkobject |
struct | SwigPyClientData |
struct | SwigPyObject |
struct | SwigPyPacked |
Typedefs | |
typedef void *(* | swig_converter_func) (void *, int *) |
typedef struct swig_type_info *(* | swig_dycast_func) (void **) |
typedef struct swig_type_info | swig_type_info |
typedef struct swig_cast_info | swig_cast_info |
typedef struct swig_module_info | swig_module_info |
typedef struct swig_const_info | swig_const_info |
typedef struct swig_globalvar | swig_globalvar |
typedef struct swig_varlinkobject | swig_varlinkobject |
Functions | |
SWIGRUNTIME int | SWIG_TypeNameComp (const char *f1, const char *l1, const char *f2, const char *l2) |
SWIGRUNTIME int | SWIG_TypeCmp (const char *nb, const char *tb) |
SWIGRUNTIME int | SWIG_TypeEquiv (const char *nb, const char *tb) |
SWIGRUNTIME swig_cast_info * | SWIG_TypeCheck (const char *c, swig_type_info *ty) |
SWIGRUNTIME swig_cast_info * | SWIG_TypeCheckStruct (const swig_type_info *from, swig_type_info *ty) |
SWIGRUNTIMEINLINE void * | SWIG_TypeCast (swig_cast_info *ty, void *ptr, int *newmemory) |
SWIGRUNTIME swig_type_info * | SWIG_TypeDynamicCast (swig_type_info *ty, void **ptr) |
SWIGRUNTIMEINLINE const char * | SWIG_TypeName (const swig_type_info *ty) |
SWIGRUNTIME const char * | SWIG_TypePrettyName (const swig_type_info *type) |
SWIGRUNTIME void | SWIG_TypeClientData (swig_type_info *ti, void *clientdata) |
SWIGRUNTIME void | SWIG_TypeNewClientData (swig_type_info *ti, void *clientdata) |
SWIGRUNTIME swig_type_info * | SWIG_MangledTypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name) |
SWIGRUNTIME swig_type_info * | SWIG_TypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name) |
SWIGRUNTIME char * | SWIG_PackData (char *c, void *ptr, size_t sz) |
SWIGRUNTIME const char * | SWIG_UnpackData (const char *c, void *ptr, size_t sz) |
SWIGRUNTIME char * | SWIG_PackVoidPtr (char *buff, void *ptr, const char *name, size_t bsz) |
SWIGRUNTIME const char * | SWIG_UnpackVoidPtr (const char *c, void **ptr, const char *name) |
SWIGRUNTIME char * | SWIG_PackDataName (char *buff, void *ptr, size_t sz, const char *name, size_t bsz) |
SWIGRUNTIME const char * | SWIG_UnpackDataName (const char *c, void *ptr, size_t sz, const char *name) |
SWIGINTERN const char * | SWIG_PyUnicode_AsUTF8AndSize (PyObject *str, Py_ssize_t *psize, PyObject **pbytes) |
SWIGINTERN PyObject * | SWIG_Python_str_FromChar (const char *c) |
SWIGRUNTIME PyObject * | SWIG_Python_ErrorType (int code) |
SWIGRUNTIME void | SWIG_Python_AddErrorMsg (const char *mesg) |
SWIGRUNTIME int | SWIG_Python_TypeErrorOccurred (PyObject *obj) |
SWIGRUNTIME void | SWIG_Python_RaiseOrModifyTypeError (const char *message) |
SWIGINTERN void | SWIG_Python_SetErrorObj (PyObject *errtype, PyObject *obj) |
SWIGINTERN void | SWIG_Python_SetErrorMsg (PyObject *errtype, const char *msg) |
SWIGINTERN void | SWIG_Python_SetConstant (PyObject *d, const char *name, PyObject *obj) |
SWIGINTERN PyObject * | SWIG_Python_AppendOutput (PyObject *result, PyObject *obj) |
SWIGINTERN Py_ssize_t | SWIG_Python_UnpackTuple (PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) |
SWIGINTERN int | SWIG_Python_CheckNoKeywords (PyObject *kwargs, const char *name) |
SWIGINTERN PyObject * | swig_varlink_repr (PyObject *SWIGUNUSEDPARM(v)) |
SWIGINTERN PyObject * | swig_varlink_str (PyObject *o) |
SWIGINTERN void | swig_varlink_dealloc (PyObject *o) |
SWIGINTERN PyObject * | swig_varlink_getattr (PyObject *o, char *n) |
SWIGINTERN int | swig_varlink_setattr (PyObject *o, char *n, PyObject *p) |
SWIGINTERN PyTypeObject * | swig_varlink_type (void) |
SWIGINTERN PyObject * | SWIG_Python_newvarlink (void) |
SWIGINTERN void | SWIG_Python_addvarlink (PyObject *p, const char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p)) |
SWIGINTERN PyObject * | SWIG_globals (void) |
SWIGRUNTIMEINLINE PyObject * | SWIG_Py_Void (void) |
SWIGRUNTIMEINLINE int | SWIG_Python_CheckImplicit (swig_type_info *ty) |
SWIGRUNTIMEINLINE PyObject * | SWIG_Python_ExceptionType (swig_type_info *desc) |
SWIGRUNTIME SwigPyClientData * | SwigPyClientData_New (PyObject *obj) |
SWIGRUNTIME void | SwigPyClientData_Del (SwigPyClientData *data) |
SWIGRUNTIME PyObject * | SwigPyObject_long (SwigPyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_format (const char *fmt, SwigPyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_oct (SwigPyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_hex (SwigPyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_repr (SwigPyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_repr2 (PyObject *v, PyObject *SWIGUNUSEDPARM(args)) |
SWIGRUNTIME int | SwigPyObject_compare (SwigPyObject *v, SwigPyObject *w) |
SWIGRUNTIME PyObject * | SwigPyObject_richcompare (SwigPyObject *v, SwigPyObject *w, int op) |
SWIGRUNTIME PyTypeObject * | SwigPyObject_TypeOnce (void) |
SWIGRUNTIME PyTypeObject * | SwigPyObject_type (void) |
SWIGRUNTIMEINLINE int | SwigPyObject_Check (PyObject *op) |
SWIGRUNTIME PyObject * | SwigPyObject_New (void *ptr, swig_type_info *ty, int own) |
SWIGRUNTIME void | SwigPyObject_dealloc (PyObject *v) |
SWIGRUNTIME PyObject * | SwigPyObject_append (PyObject *v, PyObject *next) |
SWIGRUNTIME PyObject * | SwigPyObject_next (PyObject *v, PyObject *SWIGUNUSEDPARM(args)) |
SWIGINTERN PyObject * | SwigPyObject_disown (PyObject *v, PyObject *SWIGUNUSEDPARM(args)) |
SWIGINTERN PyObject * | SwigPyObject_acquire (PyObject *v, PyObject *SWIGUNUSEDPARM(args)) |
SWIGINTERN PyObject * | SwigPyObject_own (PyObject *v, PyObject *args) |
SWIGRUNTIME PyObject * | SwigPyPacked_repr (SwigPyPacked *v) |
SWIGRUNTIME PyObject * | SwigPyPacked_str (SwigPyPacked *v) |
SWIGRUNTIME int | SwigPyPacked_compare (SwigPyPacked *v, SwigPyPacked *w) |
SWIGRUNTIME PyTypeObject * | SwigPyPacked_TypeOnce (void) |
SWIGRUNTIME PyTypeObject * | SwigPyPacked_type (void) |
SWIGRUNTIMEINLINE int | SwigPyPacked_Check (PyObject *op) |
SWIGRUNTIME void | SwigPyPacked_dealloc (PyObject *v) |
SWIGRUNTIME PyObject * | SwigPyPacked_New (void *ptr, size_t size, swig_type_info *ty) |
SWIGRUNTIME swig_type_info * | SwigPyPacked_UnpackData (PyObject *obj, void *ptr, size_t size) |
SWIGRUNTIME PyObject * | SWIG_This (void) |
SWIGRUNTIME SwigPyObject * | SWIG_Python_GetSwigThis (PyObject *pyobj) |
SWIGRUNTIME int | SWIG_Python_AcquirePtr (PyObject *obj, int own) |
SWIGRUNTIME int | SWIG_Python_ConvertPtrAndOwn (PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) |
SWIGRUNTIME int | SWIG_Python_ConvertFunctionPtr (PyObject *obj, void **ptr, swig_type_info *ty) |
SWIGRUNTIME int | SWIG_Python_ConvertPacked (PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) |
SWIGRUNTIME PyObject * | SWIG_Python_NewShadowInstance (SwigPyClientData *data, PyObject *swig_this) |
SWIGRUNTIME int | SWIG_Python_SetSwigThis (PyObject *inst, PyObject *swig_this) |
SWIGINTERN PyObject * | SWIG_Python_InitShadowInstance (PyObject *args) |
SWIGRUNTIME PyObject * | SWIG_Python_NewPointerObj (PyObject *self, void *ptr, swig_type_info *type, int flags) |
SWIGRUNTIMEINLINE PyObject * | SWIG_Python_NewPackedObj (void *ptr, size_t sz, swig_type_info *type) |
SWIGRUNTIME PyObject * | SWIG_Python_TypeCache (void) |
SWIGRUNTIME swig_module_info * | SWIG_Python_GetModule (void *SWIGUNUSEDPARM(clientdata)) |
SWIGRUNTIME void | SWIG_Python_DestroyModule (PyObject *obj) |
SWIGRUNTIME void | SWIG_Python_SetModule (swig_module_info *swig_module) |
SWIGRUNTIME swig_type_info * | SWIG_Python_TypeQuery (const char *type) |
SWIGRUNTIME int | SWIG_Python_AddErrMesg (const char *mesg, int infront) |
SWIGRUNTIME int | SWIG_Python_ArgFail (int argnum) |
SWIGRUNTIMEINLINE const char * | SwigPyObject_GetDesc (PyObject *self) |
SWIGRUNTIME void | SWIG_Python_TypeError (const char *type, PyObject *obj) |
SWIGRUNTIME void * | SWIG_Python_MustGetPtr (PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) |
int | new_settrie () |
void | destroy_settrie (int st_id) |
void | insert (int st_id, char *set, char *str_id) |
char * | find (int st_id, char *set) |
int | supersets (int st_id, char *set) |
int | subsets (int st_id, char *set) |
int | elements (int st_id, int set_id) |
int | next_set_id (int st_id, int set_id) |
int | num_sets (int st_id) |
char * | set_name (int st_id, int set_id) |
int | remove (int st_id, int set_id) |
int | purge (int st_id, int dry_run) |
int | iterator_size (int iter_id) |
char * | iterator_next (int iter_id) |
void | destroy_iterator (int iter_id) |
int | save_as_binary_image (int st_id) |
bool | push_binary_image_block (int st_id, char *p_block) |
int | binary_image_size (int image_id) |
char * | binary_image_next (int image_id) |
void | destroy_binary_image (int image_id) |
void | cleanup_globals () |
SWIGINTERNINLINE PyObject * | SWIG_From_int (int value) |
SWIGINTERN int | SWIG_AsVal_double (PyObject *obj, double *val) |
SWIGINTERNINLINE int | SWIG_CanCastAsInteger (double *d, double min, double max) |
SWIGINTERN int | SWIG_AsVal_long (PyObject *obj, long *val) |
SWIGINTERN int | SWIG_AsVal_int (PyObject *obj, int *val) |
SWIGINTERN swig_type_info * | SWIG_pchar_descriptor (void) |
SWIGINTERN int | SWIG_AsCharPtrAndSize (PyObject *obj, char **cptr, size_t *psize, int *alloc) |
SWIGINTERNINLINE PyObject * | SWIG_FromCharPtrAndSize (const char *carray, size_t size) |
SWIGINTERNINLINE PyObject * | SWIG_FromCharPtr (const char *cptr) |
SWIGINTERNINLINE PyObject * | SWIG_From_bool (bool value) |
SWIGINTERN PyObject * | _wrap_new_settrie (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_destroy_settrie (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_insert (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_find (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_supersets (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_subsets (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_elements (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_next_set_id (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_num_sets (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_set_name (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_remove (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_purge (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_iterator_size (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_iterator_next (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_destroy_iterator (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_save_as_binary_image (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_push_binary_image_block (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_binary_image_size (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_binary_image_next (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_destroy_binary_image (PyObject *self, PyObject *args) |
SWIGINTERN PyObject * | _wrap_cleanup_globals (PyObject *self, PyObject *args) |
SWIGRUNTIME void | SWIG_InitializeModule (SWIG_INIT_CLIENT_DATA_TYPE clientdata) |
SWIGRUNTIME void | SWIG_PropagateClientData (void) |
SWIGINTERN void | SWIG_Python_InstallConstants (PyObject *d, swig_const_info constants[]) |
SWIGINTERN void | SWIG_Python_FixMethods (PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) |
#define Py_hash_t long |
#define PY_SSIZE_T_CLEAN |
#define Py_TYPE | ( | op | ) | ((op)->ob_type) |
#define PyDescr_NAME | ( | x | ) | (((PyDescrObject *)(x))->d_name) |
#define PyDescr_TYPE | ( | x | ) | (((PyDescrObject *)(x))->d_type) |
#define PyObject_DEL PyObject_Del |
#define SWIG_AcquirePtr | ( | ptr, | |
src | |||
) | SWIG_Python_AcquirePtr(ptr, src) |
#define SWIG_AddCast | ( | r | ) | (r) |
#define SWIG_AddNewMask | ( | r | ) | (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) |
#define SWIG_AddTmpMask | ( | r | ) | (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) |
#define SWIG_addvarlink | ( | p, | |
name, | |||
get_attr, | |||
set_attr | |||
) | SWIG_Python_addvarlink(p, name, get_attr, set_attr) |
#define SWIG_arg_fail | ( | arg | ) | SWIG_Python_ArgFail(arg) |
#define SWIG_ArgError | ( | r | ) | ((r != SWIG_ERROR) ? r : SWIG_TypeError) |
#define SWIG_as_voidptr | ( | a | ) | (void *)((const void *)(a)) |
#define SWIG_as_voidptrptr | ( | a | ) | ((void)SWIG_as_voidptr(*a),(void**)(a)) |
#define SWIG_AttributeError -11 |
#define SWIG_BADOBJ (SWIG_ERROR) |
#define SWIG_BUFFER_SIZE 1024 |
#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN) |
#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2) |
#define SWIG_CAST_NEW_MEMORY 0x2 |
#define SWIG_CASTRANKLIMIT (1 << 8) |
#define SWIG_CheckImplicit | ( | ty | ) | SWIG_Python_CheckImplicit(ty) |
#define SWIG_CheckState | ( | r | ) | (SWIG_IsOK(r) ? 1 : 0) |
#define SWIG_contract_assert | ( | expr, | |
msg | |||
) | do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) |
#define SWIG_ConvertFunctionPtr | ( | obj, | |
pptr, | |||
type | |||
) | SWIG_Python_ConvertFunctionPtr(obj, pptr, type) |
#define SWIG_ConvertInstance | ( | obj, | |
pptr, | |||
type, | |||
flags | |||
) | SWIG_ConvertPtr(obj, pptr, type, flags) |
#define SWIG_ConvertMember | ( | obj, | |
ptr, | |||
sz, | |||
ty | |||
) | SWIG_Python_ConvertPacked(obj, ptr, sz, ty) |
#define SWIG_ConvertPacked | ( | obj, | |
ptr, | |||
sz, | |||
ty | |||
) | SWIG_Python_ConvertPacked(obj, ptr, sz, ty) |
#define SWIG_ConvertPtr | ( | obj, | |
pptr, | |||
type, | |||
flags | |||
) | SWIG_Python_ConvertPtr(obj, pptr, type, flags) |
#define SWIG_ConvertPtrAndOwn | ( | obj, | |
pptr, | |||
type, | |||
flags, | |||
own | |||
) | SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) |
#define SWIG_DelNewMask | ( | r | ) | (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) |
#define SWIG_DelTmpMask | ( | r | ) | (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) |
#define SWIG_DivisionByZero -6 |
#define SWIG_ERROR (-1) |
#define SWIG_Error | ( | code, | |
msg | |||
) | SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) |
#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) |
#define SWIG_ErrorType | ( | code | ) | SWIG_Python_ErrorType(code) |
#define SWIG_exception_fail | ( | code, | |
msg | |||
) | do { SWIG_Error(code, msg); SWIG_fail; } while(0) |
#define SWIG_fail goto fail |
#define SWIG_GetModule | ( | clientdata | ) | SWIG_Python_GetModule(clientdata) |
#define SWIG_IndexError -4 |
SWIGEXPORT void SWIG_init | ( | void | ) | init_py_settrie |
#define SWIG_INIT_CLIENT_DATA_TYPE void * |
#define SWIG_InstallConstants | ( | d, | |
constants | |||
) | SWIG_Python_InstallConstants(d, constants) |
#define SWIG_InternalNewPointerObj | ( | ptr, | |
type, | |||
flags | |||
) | SWIG_Python_NewPointerObj(NULL, ptr, type, flags) |
#define SWIG_IOError -2 |
#define SWIG_IsNewObj | ( | r | ) | (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) |
#define SWIG_IsOK | ( | r | ) | (r >= 0) |
#define SWIG_IsTmpObj | ( | r | ) | (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) |
#define SWIG_MangledTypeQuery | ( | name | ) | SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) |
#define SWIG_MemoryError -12 |
#define SWIG_MustGetPtr | ( | p, | |
type, | |||
argnum, | |||
flags | |||
) | SWIG_Python_MustGetPtr(p, type, argnum, flags) |
#define SWIG_name "_py_settrie" |
#define SWIG_NewClientData | ( | obj | ) | SwigPyClientData_New(obj) |
#define SWIG_NewFunctionPtrObj | ( | ptr, | |
type | |||
) | SWIG_Python_NewPointerObj(NULL, ptr, type, 0) |
#define SWIG_NewInstanceObj | ( | ptr, | |
type, | |||
flags | |||
) | SWIG_NewPointerObj(ptr, type, flags) |
#define SWIG_NewMemberObj | ( | ptr, | |
sz, | |||
type | |||
) | SWIG_Python_NewPackedObj(ptr, sz, type) |
#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) |
#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) |
#define SWIG_NewPackedObj | ( | ptr, | |
sz, | |||
type | |||
) | SWIG_Python_NewPackedObj(ptr, sz, type) |
#define SWIG_NewPointerObj | ( | ptr, | |
type, | |||
flags | |||
) | SWIG_Python_NewPointerObj(NULL, ptr, type, flags) |
#define SWIG_newvarlink | ( | ) | SWIG_Python_newvarlink() |
#define SWIG_NULLPTR NULL |
#define SWIG_NullReferenceError -13 |
#define SWIG_OK (0) |
#define SWIG_OLDOBJ (SWIG_OK) |
#define SWIG_OverflowError -7 |
#define swig_owntype int |
#define SWIG_POINTER_CLEAR 0x8 |
#define SWIG_POINTER_DISOWN 0x1 |
#define SWIG_POINTER_EXCEPTION 0 |
#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) |
#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) |
#define SWIG_POINTER_NO_NULL 0x4 |
#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) |
#define SWIG_POINTER_OWN 0x1 |
#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) |
#define SWIG_PY_BINARY 5 |
#define SWIG_PY_POINTER 4 |
#define SWIG_Python_CallFunctor | ( | functor, | |
obj | |||
) | PyObject_CallFunctionObjArgs(functor, obj, NULL); |
#define SWIG_Python_ConvertPtr | ( | obj, | |
pptr, | |||
type, | |||
flags | |||
) | SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) |
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE |
#define SWIG_PYTHON_INITIALIZE_THREADS |
#define SWIG_Python_Raise | ( | obj, | |
type, | |||
desc | |||
) | SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
#define SWIG_Python_str_FromFormat PyString_FromFormat |
#define SWIG_PYTHON_THREAD_BEGIN_ALLOW |
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK |
#define SWIG_PYTHON_THREAD_END_ALLOW |
#define SWIG_PYTHON_THREAD_END_BLOCK |
#define SWIG_RUNTIME_VERSION "4" |
#define SWIG_RuntimeError -3 |
#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg |
#define SWIG_SetErrorObj SWIG_Python_SetErrorObj |
#define SWIG_SetModule | ( | clientdata, | |
pointer | |||
) | SWIG_Python_SetModule(pointer) |
#define SWIG_snprintf | ( | O, | |
S, | |||
F, | |||
A | |||
) | sprintf(O,F,A) |
#define SWIG_snprintf2 | ( | O, | |
S, | |||
F, | |||
A, | |||
B | |||
) | sprintf(O,F,A,B) |
#define SWIG_STATIC_POINTER | ( | var | ) | var = 0; if (!var) var |
#define SWIG_SyntaxError -8 |
#define SWIG_SystemError -10 |
#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) |
#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) |
#define SWIG_TYPE_TABLE_NAME |
#define SWIG_TypeError -5 |
#define SWIG_TypeQuery | ( | name | ) | SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
#define SWIG_TypeQuery SWIG_Python_TypeQuery |
#define SWIG_UnknownError -1 |
#define SWIG_ValueError -9 |
#define SWIG_VERSION 0x040200 |
#define SWIGEXPORT |
#define SWIGINLINE |
#define SWIGINTERN static SWIGUNUSED |
#define SWIGINTERNINLINE SWIGINTERN SWIGINLINE |
#define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME |
#define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME) |
#define SWIGPY_USE_CAPSULE |
#define SWIGPYTHON |
#define SWIGRUNTIME SWIGINTERN |
#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
#define SWIGSTDCALL |
#define SWIGTEMPLATEDISAMBIGUATOR |
#define SWIGTYPE_p_char swig_types[0] |
#define SWIGUNUSED |
#define SWIGUNUSEDPARM | ( | p | ) | p SWIGUNUSED |
typedef struct swig_cast_info swig_cast_info |
typedef struct swig_const_info swig_const_info |
typedef void *(* swig_converter_func) (void *, int *) |
typedef struct swig_type_info *(* swig_dycast_func) (void **) |
typedef struct swig_globalvar swig_globalvar |
typedef struct swig_module_info swig_module_info |
typedef struct swig_type_info swig_type_info |
typedef struct swig_varlinkobject swig_varlinkobject |
SWIGINTERN PyObject * _wrap_binary_image_next | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_binary_image_size | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_cleanup_globals | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_destroy_binary_image | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_destroy_iterator | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_destroy_settrie | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_elements | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_find | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_insert | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_iterator_next | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_iterator_size | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_new_settrie | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_next_set_id | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_num_sets | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_purge | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_push_binary_image_block | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_remove | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_save_as_binary_image | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_set_name | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_subsets | ( | PyObject * | self, |
PyObject * | args | ||
) |
SWIGINTERN PyObject * _wrap_supersets | ( | PyObject * | self, |
PyObject * | args | ||
) |
|
extern |
Return the first unread binary images block in an iterator returned by a save_as_binary_image() call.
image_id | The image_id returned by a previous save_as_binary_image() call. |
|
extern |
Return the number of unread binary images blocks in an iterator returned by a save_as_binary_image() call.
image_id | The image_id returned by a previous save_as_binary_image() call. |
|
extern |
Free the memory allocated for the answer buffer.
|
extern |
Destroy an iterator for a binary image(returned by save_as_binary_image()).
image_id | The image_id returned by a previous save_as_binary_image() call. |
|
extern |
Destroy an iterator (returned by subsets() or supersets()).
iter_id | The iter_id returned by a previous subsets() or supersets() call. |
|
extern |
Destroy a SetTrie object that was used via the Python interface.
st_id | The st_id returned by a previous new_settrie() call. |
|
extern |
Return all the elements in a set from a SetTrie identified by set_id as an iterator of strings.
st_id | The st_id returned by a previous new_settrie() call. |
set_id | A valid set_id returned by a successful next_set_id() call. |
|
extern |
Find a Python set (serialized by a str() call) for a complete match inside a SetTrie object.
st_id | The st_id returned by a previous new_settrie() call. |
set | A Python set serialized by a str() call. |
|
extern |
Insert a Python set (serialized by a str() call) into a SetTrie object.
st_id | The st_id returned by a previous new_settrie() call. |
set | A Python set serialized by a str() call. |
str_id | An id representing this set that will be returned in searches. |
|
extern |
Return the first unread item in an iterator (returned by subsets() or supersets()).
iter_id | The iter_id returned by a previous subsets() or supersets() call. |
|
extern |
Return the number of unread items in an iterator (returned by subsets() or supersets()).
iter_id | The iter_id returned by a previous subsets() or supersets() call. |
|
extern |
Create a new SetTrie object that can be used via the Python interface.
To free the resources allocated by this ID, the (python) caller must call destroy_settrie() with the st_id and never use the same st_id after that.
|
extern |
Return the integer set_id of the next set stored in a SetTrie after a given set_id to iterate over all the sets in the object.
st_id | The st_id returned by a previous new_settrie() call. |
set_id | A valid set_id returned by previous call or the constant -1 to return the first set. Note that 0 may be the set_id of the empty set in case the empty set is in the SetTrie. |
|
extern |
Return the number of sets in a SetTrie object.
st_id | The st_id returned by a previous new_settrie() call. |
|
extern |
Purges (reassigns node integer ids and frees RAM) after a series of remove() calls.
st_id | The st_id returned by a previous new_settrie() call. |
dry_run | If nonzero, does nothing and returns the number of dirty nodes. |
|
extern |
Pushes raw image blocks into an initially empty SetTrie object and finally creates it already populated with the binary image.
st_id | The st_id returned by a previous new_settrie() call. The object must be empty (never inserted). |
p_block | If non-empty, a block in the right order making a binary image obtained for a previous save_as_binary_image() call. If empty, an order to .load() the SetTrie object and destroyed the previously stored blocks. |
|
extern |
Removes a set from the object by its unique integer id.
st_id | The st_id returned by a previous new_settrie() call. |
set_id | A valid set_id returned by a successful next_set_id() call. |
|
extern |
Saves a SetTrie object as a BinaryImage.
st_id | The st_id returned by a previous new_settrie() call. |
|
extern |
Return the name (Python id) of a set stored in a SetTrie identified by its binary (int) set_id.
st_id | The st_id returned by a previous new_settrie() call. |
set_id | A valid set_id returned by a successful next_set_id() call. |
|
extern |
Find all the subsets of a given Python set (serialized by a str() call) stored inside a SetTrie object.
st_id | The st_id returned by a previous new_settrie() call. |
set | A Python set serialized by a str() call. |
|
extern |
Find all the supersets of a given Python set (serialized by a str() call) stored inside a SetTrie object.
st_id | The st_id returned by a previous new_settrie() call. |
set | A Python set serialized by a str() call. |
SWIGINTERN int SWIG_AsCharPtrAndSize | ( | PyObject * | obj, |
char ** | cptr, | ||
size_t * | psize, | ||
int * | alloc | ||
) |
SWIGINTERN int SWIG_AsVal_double | ( | PyObject * | obj, |
double * | val | ||
) |
SWIGINTERN int SWIG_AsVal_int | ( | PyObject * | obj, |
int * | val | ||
) |
SWIGINTERN int SWIG_AsVal_long | ( | PyObject * | obj, |
long * | val | ||
) |
SWIGINTERNINLINE int SWIG_CanCastAsInteger | ( | double * | d, |
double | min, | ||
double | max | ||
) |
SWIGINTERNINLINE PyObject * SWIG_From_bool | ( | bool | value | ) |
SWIGINTERNINLINE PyObject * SWIG_From_int | ( | int | value | ) |
SWIGINTERNINLINE PyObject * SWIG_FromCharPtr | ( | const char * | cptr | ) |
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize | ( | const char * | carray, |
size_t | size | ||
) |
SWIGINTERN PyObject * SWIG_globals | ( | void | ) |
SWIGRUNTIME void SWIG_InitializeModule | ( | SWIG_INIT_CLIENT_DATA_TYPE | clientdata | ) |
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule | ( | swig_module_info * | start, |
swig_module_info * | end, | ||
const char * | name | ||
) |
SWIGRUNTIME char * SWIG_PackData | ( | char * | c, |
void * | ptr, | ||
size_t | sz | ||
) |
SWIGRUNTIME char * SWIG_PackDataName | ( | char * | buff, |
void * | ptr, | ||
size_t | sz, | ||
const char * | name, | ||
size_t | bsz | ||
) |
SWIGRUNTIME char * SWIG_PackVoidPtr | ( | char * | buff, |
void * | ptr, | ||
const char * | name, | ||
size_t | bsz | ||
) |
SWIGINTERN swig_type_info * SWIG_pchar_descriptor | ( | void | ) |
SWIGRUNTIME void SWIG_PropagateClientData | ( | void | ) |
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void | ( | void | ) |
SWIGRUNTIME int SWIG_Python_AcquirePtr | ( | PyObject * | obj, |
int | own | ||
) |
SWIGRUNTIME int SWIG_Python_AddErrMesg | ( | const char * | mesg, |
int | infront | ||
) |
SWIGRUNTIME void SWIG_Python_AddErrorMsg | ( | const char * | mesg | ) |
SWIGINTERN void SWIG_Python_addvarlink | ( | PyObject * | p, |
const char * | name, | ||
PyObject *(*)(void) | get_attr, | ||
int(*)(PyObject *p) | set_attr | ||
) |
SWIGINTERN PyObject * SWIG_Python_AppendOutput | ( | PyObject * | result, |
PyObject * | obj | ||
) |
SWIGRUNTIME int SWIG_Python_ArgFail | ( | int | argnum | ) |
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit | ( | swig_type_info * | ty | ) |
SWIGINTERN int SWIG_Python_CheckNoKeywords | ( | PyObject * | kwargs, |
const char * | name | ||
) |
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr | ( | PyObject * | obj, |
void ** | ptr, | ||
swig_type_info * | ty | ||
) |
SWIGRUNTIME int SWIG_Python_ConvertPacked | ( | PyObject * | obj, |
void * | ptr, | ||
size_t | sz, | ||
swig_type_info * | ty | ||
) |
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn | ( | PyObject * | obj, |
void ** | ptr, | ||
swig_type_info * | ty, | ||
int | flags, | ||
int * | own | ||
) |
SWIGRUNTIME void SWIG_Python_DestroyModule | ( | PyObject * | obj | ) |
SWIGRUNTIME PyObject * SWIG_Python_ErrorType | ( | int | code | ) |
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType | ( | swig_type_info * | desc | ) |
SWIGINTERN void SWIG_Python_FixMethods | ( | PyMethodDef * | methods, |
const swig_const_info * | const_table, | ||
swig_type_info ** | types, | ||
swig_type_info ** | types_initial | ||
) |
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule | ( | void * | SWIGUNUSEDPARMclientdata | ) |
SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis | ( | PyObject * | pyobj | ) |
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance | ( | PyObject * | args | ) |
SWIGINTERN void SWIG_Python_InstallConstants | ( | PyObject * | d, |
swig_const_info | constants[] | ||
) |
SWIGRUNTIME void * SWIG_Python_MustGetPtr | ( | PyObject * | obj, |
swig_type_info * | ty, | ||
int | SWIGUNUSEDPARMargnum, | ||
int | flags | ||
) |
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj | ( | void * | ptr, |
size_t | sz, | ||
swig_type_info * | type | ||
) |
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj | ( | PyObject * | self, |
void * | ptr, | ||
swig_type_info * | type, | ||
int | flags | ||
) |
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance | ( | SwigPyClientData * | data, |
PyObject * | swig_this | ||
) |
SWIGINTERN PyObject * SWIG_Python_newvarlink | ( | void | ) |
SWIGRUNTIME void SWIG_Python_RaiseOrModifyTypeError | ( | const char * | message | ) |
SWIGINTERN void SWIG_Python_SetConstant | ( | PyObject * | d, |
const char * | name, | ||
PyObject * | obj | ||
) |
SWIGINTERN void SWIG_Python_SetErrorMsg | ( | PyObject * | errtype, |
const char * | msg | ||
) |
SWIGINTERN void SWIG_Python_SetErrorObj | ( | PyObject * | errtype, |
PyObject * | obj | ||
) |
SWIGRUNTIME void SWIG_Python_SetModule | ( | swig_module_info * | swig_module | ) |
SWIGRUNTIME int SWIG_Python_SetSwigThis | ( | PyObject * | inst, |
PyObject * | swig_this | ||
) |
SWIGINTERN PyObject * SWIG_Python_str_FromChar | ( | const char * | c | ) |
SWIGRUNTIME PyObject * SWIG_Python_TypeCache | ( | void | ) |
SWIGRUNTIME void SWIG_Python_TypeError | ( | const char * | type, |
PyObject * | obj | ||
) |
SWIGRUNTIME int SWIG_Python_TypeErrorOccurred | ( | PyObject * | obj | ) |
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery | ( | const char * | type | ) |
SWIGINTERN Py_ssize_t SWIG_Python_UnpackTuple | ( | PyObject * | args, |
const char * | name, | ||
Py_ssize_t | min, | ||
Py_ssize_t | max, | ||
PyObject ** | objs | ||
) |
SWIGINTERN const char * SWIG_PyUnicode_AsUTF8AndSize | ( | PyObject * | str, |
Py_ssize_t * | psize, | ||
PyObject ** | pbytes | ||
) |
SWIGRUNTIME PyObject * SWIG_This | ( | void | ) |
SWIGRUNTIMEINLINE void * SWIG_TypeCast | ( | swig_cast_info * | ty, |
void * | ptr, | ||
int * | newmemory | ||
) |
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck | ( | const char * | c, |
swig_type_info * | ty | ||
) |
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct | ( | const swig_type_info * | from, |
swig_type_info * | ty | ||
) |
SWIGRUNTIME void SWIG_TypeClientData | ( | swig_type_info * | ti, |
void * | clientdata | ||
) |
SWIGRUNTIME int SWIG_TypeCmp | ( | const char * | nb, |
const char * | tb | ||
) |
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast | ( | swig_type_info * | ty, |
void ** | ptr | ||
) |
SWIGRUNTIME int SWIG_TypeEquiv | ( | const char * | nb, |
const char * | tb | ||
) |
SWIGRUNTIMEINLINE const char * SWIG_TypeName | ( | const swig_type_info * | ty | ) |
SWIGRUNTIME int SWIG_TypeNameComp | ( | const char * | f1, |
const char * | l1, | ||
const char * | f2, | ||
const char * | l2 | ||
) |
SWIGRUNTIME void SWIG_TypeNewClientData | ( | swig_type_info * | ti, |
void * | clientdata | ||
) |
SWIGRUNTIME const char * SWIG_TypePrettyName | ( | const swig_type_info * | type | ) |
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule | ( | swig_module_info * | start, |
swig_module_info * | end, | ||
const char * | name | ||
) |
SWIGRUNTIME const char * SWIG_UnpackData | ( | const char * | c, |
void * | ptr, | ||
size_t | sz | ||
) |
SWIGRUNTIME const char * SWIG_UnpackDataName | ( | const char * | c, |
void * | ptr, | ||
size_t | sz, | ||
const char * | name | ||
) |
SWIGRUNTIME const char * SWIG_UnpackVoidPtr | ( | const char * | c, |
void ** | ptr, | ||
const char * | name | ||
) |
SWIGINTERN void swig_varlink_dealloc | ( | PyObject * | o | ) |
SWIGINTERN PyObject * swig_varlink_getattr | ( | PyObject * | o, |
char * | n | ||
) |
SWIGINTERN PyObject * swig_varlink_repr | ( | PyObject * | SWIGUNUSEDPARMv | ) |
SWIGINTERN int swig_varlink_setattr | ( | PyObject * | o, |
char * | n, | ||
PyObject * | p | ||
) |
SWIGINTERN PyObject * swig_varlink_str | ( | PyObject * | o | ) |
SWIGINTERN PyTypeObject * swig_varlink_type | ( | void | ) |
SWIGRUNTIME void SwigPyClientData_Del | ( | SwigPyClientData * | data | ) |
SWIGRUNTIME SwigPyClientData * SwigPyClientData_New | ( | PyObject * | obj | ) |
SWIGINTERN PyObject * SwigPyObject_acquire | ( | PyObject * | v, |
PyObject * | SWIGUNUSEDPARMargs | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_append | ( | PyObject * | v, |
PyObject * | next | ||
) |
SWIGRUNTIMEINLINE int SwigPyObject_Check | ( | PyObject * | op | ) |
SWIGRUNTIME int SwigPyObject_compare | ( | SwigPyObject * | v, |
SwigPyObject * | w | ||
) |
SWIGRUNTIME void SwigPyObject_dealloc | ( | PyObject * | v | ) |
SWIGINTERN PyObject * SwigPyObject_disown | ( | PyObject * | v, |
PyObject * | SWIGUNUSEDPARMargs | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_format | ( | const char * | fmt, |
SwigPyObject * | v | ||
) |
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc | ( | PyObject * | self | ) |
SWIGRUNTIME PyObject * SwigPyObject_hex | ( | SwigPyObject * | v | ) |
SWIGRUNTIME PyObject * SwigPyObject_long | ( | SwigPyObject * | v | ) |
SWIGRUNTIME PyObject * SwigPyObject_New | ( | void * | ptr, |
swig_type_info * | ty, | ||
int | own | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_next | ( | PyObject * | v, |
PyObject * | SWIGUNUSEDPARMargs | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_oct | ( | SwigPyObject * | v | ) |
SWIGINTERN PyObject * SwigPyObject_own | ( | PyObject * | v, |
PyObject * | args | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_repr | ( | SwigPyObject * | v | ) |
SWIGRUNTIME PyObject * SwigPyObject_repr2 | ( | PyObject * | v, |
PyObject * | SWIGUNUSEDPARMargs | ||
) |
SWIGRUNTIME PyObject * SwigPyObject_richcompare | ( | SwigPyObject * | v, |
SwigPyObject * | w, | ||
int | op | ||
) |
SWIGRUNTIME PyTypeObject * SwigPyObject_type | ( | void | ) |
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce | ( | void | ) |
SWIGRUNTIMEINLINE int SwigPyPacked_Check | ( | PyObject * | op | ) |
SWIGRUNTIME int SwigPyPacked_compare | ( | SwigPyPacked * | v, |
SwigPyPacked * | w | ||
) |
SWIGRUNTIME void SwigPyPacked_dealloc | ( | PyObject * | v | ) |
SWIGRUNTIME PyObject * SwigPyPacked_New | ( | void * | ptr, |
size_t | size, | ||
swig_type_info * | ty | ||
) |
SWIGRUNTIME PyObject * SwigPyPacked_repr | ( | SwigPyPacked * | v | ) |
SWIGRUNTIME PyObject * SwigPyPacked_str | ( | SwigPyPacked * | v | ) |
SWIGRUNTIME PyTypeObject * SwigPyPacked_type | ( | void | ) |
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce | ( | void | ) |
SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData | ( | PyObject * | obj, |
void * | ptr, | ||
size_t | size | ||
) |