![]() |
ATLAS Offline Software
|
#include <Python.h>#include <CoolKernel/ChannelSelection.h>#include <CoolKernel/IFolder.h>#include <CoolKernel/IDatabase.h>#include "CoralBase/Attribute.h"#include "CoralBase/AttributeList.h"#include "CoralBase/AttributeListSpecification.h"#include <CoraCool/CoraCoolDatabaseSvcFactory.h>#include <CoraCool/CoraCoolDatabaseSvc.h>#include <CoraCool/CoraCoolDatabase.h>#include <CoraCool/CoraCoolFolder.h>#include <CoraCool/CoraCoolObjectIter.h>#include <CoraCool/CoraCoolObject.h>#include <functional>#include <string>#include <iostream>#include "CxxUtils/checker_macros.h"Go to the source code of this file.
Macros | |
| #define | likely(x) __builtin_expect((x),1) |
| #define | unlikely(x) __builtin_expect((x),0) |
| #define | MAKE_FETCHER(type, converter) |
Typedefs | |
| typedef std::function< PyObject *(const AttributeList &)> | coral_attribute_fetcher_t |
Functions | |
| PyObject * | no_coral_conversion_available (const AttributeList &) |
| PyObject * | qr_PyString_FromBlob (const coral::Blob &blob) |
| PyObject * | qr_PyString_FromStdString (const string &str) |
| template<typename T > | |
| const T & | fetch_attribute_data (const coral::Attribute &A) |
| coral_attribute_fetcher_t | create_attribute_fetcher (const char *name, const string &type_name) |
| bool | make_fetchers (PyObject *to_fetch, const AttributeList &attribute_list, vector< coral_attribute_fetcher_t > &payload_fetchers) |
| PyObject * | apply_function (PyObject *function, PyObject *object) |
| CoraCoolFolderPtr | fetch_coracool_folder (IDatabasePtr cooldb, const string &folder) |
| const cool::RecordSpecification | get_coracool_payload_spec (IDatabasePtr cooldb, const string &folder) |
| PyObject * | make_iov_key (PyObject *iovkey_wrapper, unsigned long long value) |
| PyObject * | browse_coracool (IDatabasePtr cooldb, const string &folder, ValidityKey since, ValidityKey until, const ChannelSelection &cs=ChannelSelection::all(), const char *tag="", PyObject *to_fetch=NULL, PyObject *object_converter=NULL, PyObject *inner_object_converter=NULL, PyObject *iovkey_wrapper=NULL) |
Variables | |
| ATLAS_NO_CHECK_FILE_THREAD_SAFETY | |
Definition at line 9 of file pythonic_coracool.cxx.
| #define MAKE_FETCHER | ( | type, | |
| converter | |||
| ) |
Definition at line 10 of file pythonic_coracool.cxx.
| typedef std::function<PyObject* (const AttributeList&)> coral_attribute_fetcher_t |
Definition at line 52 of file pythonic_coracool.cxx.
Definition at line 151 of file pythonic_coracool.cxx.
| PyObject* browse_coracool | ( | IDatabasePtr | cooldb, |
| const string & | folder, | ||
| ValidityKey | since, | ||
| ValidityKey | until, | ||
| const ChannelSelection & | cs = ChannelSelection::all(), |
||
| const char * | tag = "", |
||
| PyObject * | to_fetch = NULL, |
||
| PyObject * | object_converter = NULL, |
||
| PyObject * | inner_object_converter = NULL, |
||
| PyObject * | iovkey_wrapper = NULL |
||
| ) |
Definition at line 188 of file pythonic_coracool.cxx.
| coral_attribute_fetcher_t create_attribute_fetcher | ( | const char * | name, |
| const string & | type_name | ||
| ) |
Definition at line 70 of file pythonic_coracool.cxx.
Definition at line 62 of file pythonic_coracool.cxx.
| CoraCoolFolderPtr fetch_coracool_folder | ( | IDatabasePtr | cooldb, |
| const string & | folder | ||
| ) |
Definition at line 162 of file pythonic_coracool.cxx.
| const cool::RecordSpecification get_coracool_payload_spec | ( | IDatabasePtr | cooldb, |
| const string & | folder | ||
| ) |
Definition at line 174 of file pythonic_coracool.cxx.
| bool make_fetchers | ( | PyObject * | to_fetch, |
| const AttributeList & | attribute_list, | ||
| vector< coral_attribute_fetcher_t > & | payload_fetchers | ||
| ) |
Definition at line 125 of file pythonic_coracool.cxx.
Definition at line 55 of file pythonic_coracool.cxx.
Definition at line 105 of file quick_retrieve.cxx.
| ATLAS_NO_CHECK_FILE_THREAD_SAFETY |
Definition at line 34 of file pythonic_coracool.cxx.
1.8.18