11#include <framework/database/DBAccessorBase.h>
53 explicit PyDBObj(
const std::string& name,
bool required =
true);
56 explicit PyDBObj(
const TClass* objClass,
bool required =
true);
59 explicit PyDBObj(
const std::string& name,
const TClass* objClass,
bool required =
true);
62 using DBAccessorBase::operator bool;
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).
const T * getObject() const
Return a pointer to the Object already cast to the correct type.
Class to access a DBObjPtr from Python.
PyObject * getIntraRunBoundariesList() const
Get the intra-run boundaries, if any, as a python list.
bool isValid() const
Check whether a valid object was obtained from the database.
const TObject * _obj() const
Return the object.
Abstract base class for different kinds of events.