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 <boost/bind/bind.hpp>
#include <boost/function.hpp>
#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 boost::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 boost::function<PyObject* (const AttributeList&)> coral_attribute_fetcher_t |
Definition at line 53 of file pythonic_coracool.cxx.
Definition at line 161 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 198 of file pythonic_coracool.cxx.
coral_attribute_fetcher_t create_attribute_fetcher | ( | const char * | name, |
const string & | type_name | ||
) |
Definition at line 71 of file pythonic_coracool.cxx.
Definition at line 63 of file pythonic_coracool.cxx.
CoraCoolFolderPtr fetch_coracool_folder | ( | IDatabasePtr | cooldb, |
const string & | folder | ||
) |
Definition at line 172 of file pythonic_coracool.cxx.
const cool::RecordSpecification get_coracool_payload_spec | ( | IDatabasePtr | cooldb, |
const string & | folder | ||
) |
Definition at line 184 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 132 of file pythonic_coracool.cxx.
Definition at line 56 of file pythonic_coracool.cxx.
Definition at line 108 of file quick_retrieve.cxx.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |
Definition at line 35 of file pythonic_coracool.cxx.