 |
Belle II Software
release-05-01-25
|
13 #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;
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.
const TObject * _obj() const
Return the object.
Base class for DBObjPtr and DBArray for easier common treatment.
PyDBObj(const std::string &name, bool required=true)
Construct the object from the name of the payload.
Abstract base class for different kinds of events.
Class to access a DBObjPtr from Python.
bool isValid() const
Check whether a valid object was obtained from the database.