eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
GtfDictViews.c File Reference
#include "GtfDictView.h"
#include "../formats/gtf.h"
Include dependency graph for GtfDictViews.c:

Data Structures

struct  iterate_keys_context
 

Functions

static void GtfDict_View_dealloc (GtfDict_view *self)
 
static Py_ssize_t GtfDict_view_length (GtfDict_view *self)
 
static Py_ssize_t GtfDict_view_len (GtfDict_view *self)
 
static int iterate_keys (void *const context, void *const e)
 
static PyObject * GtfDict_KeyView_iter (GtfDict_view *self)
 
static int iterate_check_key (void *const context, void *const value)
 
static int GtfDict_KeyView_contains (GtfDict_view *self, PyObject *key)
 
static int iterate_check_key_in (void *const context, void *const value)
 
static PyObject * GtfDict_KeyView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op)
 
static int iterate_values (void *const context, void *const e)
 
static PyObject * GtfDict_ValueView_iter (GtfDict_view *self)
 
static int iterate_check_value (void *const context, void *const value)
 
static int GtfDict_ValueView_contains (GtfDict_view *self, PyObject *value)
 
static int iterate_check_value_in (void *const context, void *const value)
 
static PyObject * GtfDict_ValueView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op)
 
static int iterate_items (void *const context, void *const e)
 
static PyObject * GtfDict_ItemView_iter (GtfDict_view *self)
 
static int iterate_check_item (void *const context, void *const value)
 
static int GtfDict_ItemView_contains (GtfDict_view *self, PyObject *value)
 
static int iterate_check_item_map_tuple (void *const context, void *const value)
 
static int iterate_check_item_in (void *const context, void *const value)
 
static PyObject * GtfDict_ItemView_richcompare (GtfDict_view *restrict self, PyObject *restrict other, const int op)
 

Variables

static PySequenceMethods GtfDict_KeyViewSeq
 
PyTypeObject GtfDict_KeyViewType
 
static PySequenceMethods GtfDict_ValueViewSeq
 
PyTypeObject GtfDict_ValueViewType
 
PySequenceMethods GtfDict_ItemViewSeq
 
PyTypeObject GtfDict_ItemViewType
 

Function Documentation

◆ GtfDict_ItemView_contains()

static int GtfDict_ItemView_contains ( GtfDict_view self,
PyObject *  value 
)
static
Here is the call graph for this function:

◆ GtfDict_ItemView_iter()

static PyObject * GtfDict_ItemView_iter ( GtfDict_view self)
static
Here is the call graph for this function:

◆ GtfDict_ItemView_richcompare()

static PyObject * GtfDict_ItemView_richcompare ( GtfDict_view *restrict  self,
PyObject *restrict  other,
const int  op 
)
static
Here is the call graph for this function:

◆ GtfDict_KeyView_contains()

static int GtfDict_KeyView_contains ( GtfDict_view self,
PyObject *  key 
)
static
Here is the call graph for this function:

◆ GtfDict_KeyView_iter()

static PyObject * GtfDict_KeyView_iter ( GtfDict_view self)
static
Here is the call graph for this function:

◆ GtfDict_KeyView_richcompare()

static PyObject * GtfDict_KeyView_richcompare ( GtfDict_view *restrict  self,
PyObject *restrict  other,
const int  op 
)
static
Here is the call graph for this function:

◆ GtfDict_ValueView_contains()

static int GtfDict_ValueView_contains ( GtfDict_view self,
PyObject *  value 
)
static
Here is the call graph for this function:

◆ GtfDict_ValueView_iter()

static PyObject * GtfDict_ValueView_iter ( GtfDict_view self)
static
Here is the call graph for this function:

◆ GtfDict_ValueView_richcompare()

static PyObject * GtfDict_ValueView_richcompare ( GtfDict_view *restrict  self,
PyObject *restrict  other,
const int  op 
)
static
Here is the call graph for this function:

◆ GtfDict_View_dealloc()

static void GtfDict_View_dealloc ( GtfDict_view self)
static

◆ GtfDict_view_len()

static Py_ssize_t GtfDict_view_len ( GtfDict_view self)
static
Here is the call graph for this function:

◆ GtfDict_view_length()

static Py_ssize_t GtfDict_view_length ( GtfDict_view self)
static
Here is the caller graph for this function:

◆ iterate_check_item()

static int iterate_check_item ( void *const  context,
void *const  value 
)
static
Here is the caller graph for this function:

◆ iterate_check_item_in()

static int iterate_check_item_in ( void *const  context,
void *const  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ iterate_check_item_map_tuple()

static int iterate_check_item_map_tuple ( void *const  context,
void *const  value 
)
static
Here is the caller graph for this function:

◆ iterate_check_key()

static int iterate_check_key ( void *const  context,
void *const  value 
)
static
Here is the caller graph for this function:

◆ iterate_check_key_in()

static int iterate_check_key_in ( void *const  context,
void *const  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ iterate_check_value()

static int iterate_check_value ( void *const  context,
void *const  value 
)
static
Here is the caller graph for this function:

◆ iterate_check_value_in()

static int iterate_check_value_in ( void *const  context,
void *const  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ iterate_items()

static int iterate_items ( void *const  context,
void *const  e 
)
static
Here is the caller graph for this function:

◆ iterate_keys()

static int iterate_keys ( void *const  context,
void *const  e 
)
static
Here is the caller graph for this function:

◆ iterate_values()

static int iterate_values ( void *const  context,
void *const  e 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ GtfDict_ItemViewSeq

PySequenceMethods GtfDict_ItemViewSeq
Initial value:
= {
.sq_contains = (objobjproc)GtfDict_ItemView_contains,
.sq_length = (lenfunc)GtfDict_view_len}
static int GtfDict_ItemView_contains(GtfDict_view *self, PyObject *value)
Definition GtfDictViews.c:297
static Py_ssize_t GtfDict_view_len(GtfDict_view *self)
Definition GtfDictViews.c:16

◆ GtfDict_ItemViewType

PyTypeObject GtfDict_ItemViewType
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "eccLib.GtfDict_ItemView",
.tp_basicsize = sizeof(GtfDict_view),
.tp_doc = PyDoc_STR("A view of the items in the GtfDict"),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_richcompare = (richcmpfunc)GtfDict_ItemView_richcompare,
.tp_iter = (getiterfunc)GtfDict_ItemView_iter,
.tp_dealloc = (destructor)GtfDict_View_dealloc,
.tp_as_sequence = &GtfDict_ItemViewSeq,
}
PySequenceMethods GtfDict_ItemViewSeq
Definition GtfDictViews.c:361
static void GtfDict_View_dealloc(GtfDict_view *self)
Definition GtfDictViews.c:7
static PyObject * GtfDict_ItemView_iter(GtfDict_view *self)
Definition GtfDictViews.c:245
static PyObject * GtfDict_ItemView_richcompare(GtfDict_view *restrict self, PyObject *restrict other, const int op)
Definition GtfDictViews.c:332
Definition GtfDictView.h:8

◆ GtfDict_KeyViewSeq

PySequenceMethods GtfDict_KeyViewSeq
static
Initial value:
= {
.sq_contains = (objobjproc)GtfDict_KeyView_contains,
.sq_length = (lenfunc)GtfDict_view_len}
static int GtfDict_KeyView_contains(GtfDict_view *self, PyObject *key)
Definition GtfDictViews.c:70

◆ GtfDict_KeyViewType

PyTypeObject GtfDict_KeyViewType
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "eccLib.GtfDict_KeyView",
.tp_basicsize = sizeof(GtfDict_view),
.tp_doc = PyDoc_STR("A view of the keys in the GtfDict"),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_richcompare = (richcmpfunc)GtfDict_KeyView_richcompare,
.tp_iter = (getiterfunc)GtfDict_KeyView_iter,
.tp_dealloc = (destructor)GtfDict_View_dealloc,
.tp_as_sequence = &GtfDict_KeyViewSeq,
}
static PySequenceMethods GtfDict_KeyViewSeq
Definition GtfDictViews.c:113
static PyObject * GtfDict_KeyView_iter(GtfDict_view *self)
Definition GtfDictViews.c:34
static PyObject * GtfDict_KeyView_richcompare(GtfDict_view *restrict self, PyObject *restrict other, const int op)
Definition GtfDictViews.c:91

◆ GtfDict_ValueViewSeq

PySequenceMethods GtfDict_ValueViewSeq
static
Initial value:
= {
.sq_contains = (objobjproc)GtfDict_ValueView_contains,
.sq_length = (lenfunc)GtfDict_view_len}
static int GtfDict_ValueView_contains(GtfDict_view *self, PyObject *value)
Definition GtfDictViews.c:171

◆ GtfDict_ValueViewType

PyTypeObject GtfDict_ValueViewType
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "eccLib.GtfDict_ValueView",
.tp_basicsize = sizeof(GtfDict_view),
.tp_doc = PyDoc_STR("A view of the values in the GtfDict"),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_richcompare = (richcmpfunc)GtfDict_ValueView_richcompare,
.tp_iter = (getiterfunc)GtfDict_ValueView_iter,
.tp_dealloc = (destructor)GtfDict_View_dealloc,
.tp_as_sequence = &GtfDict_ValueViewSeq,
}
static PyObject * GtfDict_ValueView_iter(GtfDict_view *self)
Definition GtfDictViews.c:139
static PySequenceMethods GtfDict_ValueViewSeq
Definition GtfDictViews.c:215
static PyObject * GtfDict_ValueView_richcompare(GtfDict_view *restrict self, PyObject *restrict other, const int op)
Definition GtfDictViews.c:186