14#include <CoolKernel/ChannelSelection.h>
15#include <CoolKernel/IObject.h>
16#include <CoolKernel/IObjectIterator.h>
17#include <CoolKernel/IFolder.h>
18#include <CoolKernel/IDatabase.h>
19#include <CoolKernel/IDatabaseSvc.h>
21#include <CoolKernel/IRecordSelection.h>
22#include <CoolKernel/FieldSelection.h>
24#include <CoolApplication/DatabaseSvcFactory.h>
26using cool::DatabaseSvcFactory;
27using cool::IDatabasePtr;
30using cool::IFolderPtr;
31using cool::ChannelSelection;
32using cool::IObjectIteratorPtr;
33using cool::IObjectVectorPtr;
34using cool::ValidityKey;
48const cool::RecordSpecification
52 ValidityKey since, ValidityKey until,
53 const ChannelSelection &cs = ChannelSelection::all(),
57 PyObject *inner_object_converter = NULL,
65 const long max_records = -1,
66 const bool with_channel =
true,
67 const bool loud =
false,
69 PyObject *channel_name_mapping = NULL,
70 const bool with_time =
false,
71 const bool as_unicode =
false);
74 const std::string& name,
75 const cool::StorageType::TypeId typeId,
76 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