eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
GtfReader.h
Go to the documentation of this file.
1
6#ifndef GTFREADER_H
7#define GTFREADER_H
8
9#include <Python.h>
10
11#include "../hashmap_ext.h"
12#include "../reader.h"
13
32typedef struct {
33 struct reader base;
39 hashmap_t attr_keys;
45 hashmap_t attr_vals;
50 PyObject *attr_tp;
51} GtfReader;
52
59typedef struct {
60 struct file base;
65 PyObject *attr_tp;
66} GtfFile;
67
72extern PyTypeObject GtfFileType;
73
78extern PyTypeObject GtfReaderType;
79
80#endif
PyTypeObject GtfFileType
The Python type definition for the GtfFile object.
Definition GtfReader.c:83
PyTypeObject GtfReaderType
The Python type definition for the GtfReader object.
Definition GtfReader.c:163
A file that holds GTF data.
Definition GtfReader.h:59
PyObject * attr_tp
Mapping from attribute key to converter callable for the value, or None.
Definition GtfReader.h:65
A reader that reads GTF files.
Definition GtfReader.h:32
PyObject * attr_tp
Mapping from attribute key to converter callable for the value, or None.
Definition GtfReader.h:50
hashmap_t attr_vals
The hashmap value cache.
Definition GtfReader.h:45
hashmap_t attr_keys
The hashmap key cache.
Definition GtfReader.h:39
File base struct.
Definition reader.h:71
Reader base struct.
Definition reader.h:33