ZBar Bar Code Reader Library  version 0.10
enum.c File Reference
Include dependency graph for enum.c:

Functions

static int enum_clear (zbarEnum *self)
 
static void enum_dealloc (zbarEnum *self)
 
static int enum_traverse (zbarEnum *self, visitproc visit, void *arg)
 
static void enumitem_dealloc (zbarEnumItem *self)
 
static zbarEnumItemenumitem_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static int enumitem_print (zbarEnumItem *self, FILE *fp, int flags)
 
static PyObject * enumitem_repr (zbarEnumItem *self)
 
static PyObject * enumitem_str (zbarEnumItem *self)
 
int zbarEnum_Add (zbarEnum *self, int val, const char *name)
 
zbarEnumzbarEnum_New ()
 
zbarEnumItemzbarEnumItem_New (PyObject *byname, PyObject *byvalue, int val, const char *name)
 

Variables

static char enum_doc []
 
static char enumitem_doc []
 
PyTypeObject zbarEnum_Type
 
PyTypeObject zbarEnumItem_Type
 

Function Documentation

static int enum_clear ( zbarEnum self)
static

Referenced by enum_dealloc().

Here is the caller graph for this function:

static void enum_dealloc ( zbarEnum self)
static

References enum_clear().

Here is the call graph for this function:

static int enum_traverse ( zbarEnum self,
visitproc  visit,
void arg 
)
static
static void enumitem_dealloc ( zbarEnumItem self)
static
static zbarEnumItem* enumitem_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwds 
)
static

References name, and zbarEnumItem::val.

static int enumitem_print ( zbarEnumItem self,
FILE *  fp,
int  flags 
)
static
static PyObject* enumitem_repr ( zbarEnumItem self)
static

References name.

static PyObject* enumitem_str ( zbarEnumItem self)
static
int zbarEnum_Add ( zbarEnum self,
int  val,
const char *  name 
)

References zbarEnumItem_New().

Referenced by initzbar().

Here is the call graph for this function:

Here is the caller graph for this function:

zbarEnum* zbarEnum_New ( void  )

References zbarEnum_Type.

Referenced by initzbar().

Here is the caller graph for this function:

zbarEnumItem* zbarEnumItem_New ( PyObject *  byname,
PyObject *  byvalue,
int  val,
const char *  name 
)

References zbarEnumItem_Type.

Referenced by initzbar(), and zbarEnum_Add().

Here is the caller graph for this function:

Variable Documentation

char enum_doc[]
static
char enumitem_doc[]
static
PyTypeObject zbarEnum_Type

Referenced by initzbar(), and zbarEnum_New().

PyTypeObject zbarEnumItem_Type

Referenced by initzbar(), and zbarEnumItem_New().