ATLAS Offline Software
|
#include <Python.h>
#include <CoolKernel/ChannelSelection.h>
#include <CoolKernel/ITime.h>
#include <CoolKernel/IField.h>
#include <CoolKernel/FieldSelection.h>
#include <CoolKernel/CompositeSelection.h>
#include <CoolKernel/IObject.h>
#include <CoolKernel/IObjectIterator.h>
#include <CoolKernel/IFolder.h>
#include <CoolKernel/IDatabase.h>
#include <CoolKernel/IDatabaseSvc.h>
#include <CoolApplication/DatabaseSvcFactory.h>
#include <boost/typeof/typeof.hpp>
#include <boost/bind/bind.hpp>
#include <boost/function.hpp>
#include <vector>
#include <string>
#include <iostream>
#include <stdexcept>
#include "CxxUtils/checker_macros.h"
Go to the source code of this file.
Classes | |
class | IObjectIterator_Guard |
Macros | |
#define | likely(x) __builtin_expect((x),1) |
#define | unlikely(x) __builtin_expect((x),0) |
#define | MAKE_FS(type, converter) |
#define | MAKE_FETCHER(type, converter) |
Typedefs | |
typedef boost::function< PyObject *(const IObject &)> | payload_fetcher_t |
Functions | |
cool::IRecordSelection * | make_fieldselection (const std::string &name, const cool::StorageType::TypeId typeId, cool::FieldSelection::Relation relation, PyObject *refValue) |
vector< const cool::IRecordSelection * > | make_selection_vector () |
PyObject * | no_conversion_available (const IObject &) |
PyObject * | qr_PyString_FromBlob (const coral::Blob &blob) |
PyObject * | qr_PyString_FromStdString (const string &str) |
PyObject * | qr_PyUnicode_FromStdString (const string &str) |
template<typename T , typename FUNC_TYPE > | |
PyObject * | payload_fetcher (const IObject &o, const string &name, FUNC_TYPE *converter_function) |
payload_fetcher_t | create_payload_fetcher (const char *name, const string &type_name, bool string_to_unicode=false) |
PyObject * | make_iov_key (PyObject *iovkey_wrapper, unsigned long long value) |
PyObject * | apply_function (PyObject *function, PyObject *object) |
PyObject * | quick_retrieve (const IObjectIteratorPtr &objects, PyObject *object_converter, PyObject *to_fetch=NULL, const long max_records=-1, const bool with_channel=true, const bool loud=false, PyObject *iovkey_wrapper=NULL, PyObject *channel_name_mapping=NULL, const bool with_time=false, const bool as_unicode=false) |
Variables | |
ATLAS_NO_CHECK_FILE_THREAD_SAFETY | |
Definition at line 6 of file quick_retrieve.cxx.
#define MAKE_FETCHER | ( | type, | |
converter | |||
) |
#define MAKE_FS | ( | type, | |
converter | |||
) |
Definition at line 7 of file quick_retrieve.cxx.
typedef boost::function<PyObject* (const IObject&)> payload_fetcher_t |
Definition at line 102 of file quick_retrieve.cxx.
Definition at line 220 of file quick_retrieve.cxx.
payload_fetcher_t create_payload_fetcher | ( | const char * | name, |
const string & | type_name, | ||
bool | string_to_unicode = false |
||
) |
Definition at line 150 of file quick_retrieve.cxx.
cool::IRecordSelection* make_fieldselection | ( | const std::string & | name, |
const cool::StorageType::TypeId | typeId, | ||
cool::FieldSelection::Relation | relation, | ||
PyObject * | refValue | ||
) |
Definition at line 55 of file quick_retrieve.cxx.
Definition at line 95 of file quick_retrieve.cxx.
Definition at line 105 of file quick_retrieve.cxx.
|
inline |
Definition at line 136 of file quick_retrieve.cxx.
Definition at line 108 of file quick_retrieve.cxx.
Definition at line 127 of file quick_retrieve.cxx.
PyObject* quick_retrieve | ( | const IObjectIteratorPtr & | objects, |
PyObject * | object_converter, | ||
PyObject * | to_fetch = NULL , |
||
const long | max_records = -1 , |
||
const bool | with_channel = true , |
||
const bool | loud = false , |
||
PyObject * | iovkey_wrapper = NULL , |
||
PyObject * | channel_name_mapping = NULL , |
||
const bool | with_time = false , |
||
const bool | as_unicode = false |
||
) |
Definition at line 236 of file quick_retrieve.cxx.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |
Definition at line 33 of file quick_retrieve.cxx.