11#include <framework/database/DBAccessorBase.h>
46 explicit PyDBArray(
const std::string& name,
bool required =
true);
49 explicit PyDBArray(
const TClass* objClass,
bool required =
true);
52 explicit PyDBArray(
const std::string& name,
const TClass* objClass,
bool required =
true);
55 using DBAccessorBase::operator bool;
67 const TObject*
_get(
int i)
const;
Base class for DBObjPtr and DBArray for easier common treatment.
bool isValid() const
Check whether a valid object was obtained from the database.
bool hasChanged()
Check whether the object has changed since the last call to hasChanged of the accessor).
Class to access a DB Array from Python.
PyObject * getIntraRunBoundariesList() const
Get the intra-run boundaries, if any, as a python list.
const TObject * _get(int i) const
Element access.
int __len__() const
Get the number of entries in a pythonic way to enable len(array)
int getEntries() const
Get the number of entries.
Abstract base class for different kinds of events.