RAVE
|
Python version of the Area registry. More...
#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pyodimsources.h"
#include "rave_alloc.h"
#include "pyodimsource.h"
Macros | |
#define | PYODIMSOURCES_MODULE |
to get correct part in pyodimsources.h | |
#define | raiseException_gotoTag(tag, type, msg) |
Sets a python exception and goto tag. | |
#define | raiseException_returnNULL(type, msg) |
Sets a python exception and return NULL. | |
Functions | |
PYRAVE_DEBUG_MODULE ("_odimsources") | |
Debug this module. | |
PyDoc_STRVAR (_pyodimsources_type_doc, "The odim sources registry provides the user with odim sources when working with the data.\n" "\n" "A simple example on how this odim sources registry can be used is:\n" " import _odimsources\n" " reg = _odimsources.load(\"odim_sources.xml\"))\n" " source = reg.get(\"sekkr\")") | |
PyDoc_STRVAR (_pyodimsources_module_doc, "This class provides functionality for querying an odim sources registry.\n" "\n" "See the load function for information about format of the xml file.\n" "\n" "Usage:\n" " import _odimsources\n" " reg = _odimsources.load(\"/tmp/odim_sources.xml\")\n" " area = reg.get(\"sekkr\")\n") | |
MOD_INIT (_odimsources) | |
Variables | |
PyTypeObject | PyOdimSources_Type |
Python version of the Area registry.
#define PYODIMSOURCES_MODULE |
to get correct part in pyodimsources.h
#define raiseException_gotoTag | ( | tag, | |
type, | |||
msg ) |
Sets a python exception and goto tag.
#define raiseException_returnNULL | ( | type, | |
msg ) |
Sets a python exception and return NULL.
PYRAVE_DEBUG_MODULE | ( | "_odimsources" | ) |
Debug this module.