21#include <CoolKernel/ChannelSelection.h>
22#include <CoolKernel/IObject.h>
23#include <CoolKernel/IObjectIterator.h>
24#include <CoolKernel/IFolder.h>
25#include <CoolKernel/IDatabase.h>
26#include <CoolKernel/IDatabaseSvc.h>
28#include <CoolKernel/IRecordSelection.h>
29#include <CoolKernel/FieldSelection.h>
31#include <CoolApplication/DatabaseSvcFactory.h>
33using cool::DatabaseSvcFactory;
34using cool::IDatabasePtr;
37using cool::IFolderPtr;
38using cool::ChannelSelection;
39using cool::IObjectIteratorPtr;
40using cool::IObjectVectorPtr;
41using cool::ValidityKey;
55const cool::RecordSpecification
59 ValidityKey since, ValidityKey until,
60 const ChannelSelection &cs = ChannelSelection::all(),
64 PyObject *inner_object_converter = NULL,
72 const long max_records = -1,
73 const bool with_channel =
true,
74 const bool loud =
false,
76 PyObject *channel_name_mapping = NULL,
77 const bool with_time =
false,
78 const bool as_unicode =
false);
81 const std::string& name,
82 const cool::StorageType::TypeId typeId,
83 cool::FieldSelection::Relation relation,
const cool::RecordSpecification get_coracool_payload_spec(IDatabasePtr cooldb, const string &folder)
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)
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)
vector< const cool::IRecordSelection * > make_selection_vector()
cool::FieldSelection * make_fieldselection(const std::string &name, const cool::StorageType::TypeId typeId, cool::FieldSelection::Relation relation, PyObject *refValue)
const vector< const cool::IRecordSelection * > dummy_recordselection_vector