24 #ifndef ENTITYWITHOWNER_H 25 #define ENTITYWITHOWNER_H 28 #include <boost/python.hpp> 29 #include <boost/python/dict.hpp> 53 virtual boost::python::dict
getPyDict(
void)
const;
54 virtual void setPyDict(
const boost::python::dict &);
static void setVerbosityLevel(const int &)
Set the value of the verbosity level.
Definition: EntityWithOwner.cc:107
EntityWithOwner & operator=(const EntityWithOwner &)
Assignment operator.
Definition: EntityWithOwner.cc:53
Entity with a pointer to its owner.
Definition: EntityWithOwner.h:34
static int verbosity
Object that owns THIS ONE.
Definition: EntityWithOwner.h:39
virtual ~EntityWithOwner(void)
Virtual destructor.
Definition: EntityWithOwner.h:47
static int getVerbosityLevel(void)
Get the value of the verbosity level.
Definition: EntityWithOwner.cc:103
virtual bool isEqual(const EntityWithOwner &) const
Return true if both objects are equal.
Definition: EntityWithOwner.cc:69
virtual std::string getClassName(void) const
Returns demangled class name.
Definition: EntityWithOwner.cc:90
virtual bool operator==(const EntityWithOwner &) const
Comparison operator.
Definition: EntityWithOwner.cc:86
virtual boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: EntityWithOwner.cc:115
virtual void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: EntityWithOwner.cc:124
void set_owner(EntityWithOwner *owr)
Assigns the owner of the object.
Definition: EntityWithOwner.cc:111
EntityWithOwner(EntityWithOwner *owr=nullptr)
Default constructor.
Definition: EntityWithOwner.cc:33