xc
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
EntityWithOwner Class Reference

Entity with a pointer to its owner. More...

#include <EntityWithOwner.h>

Inheritance diagram for EntityWithOwner:
Inheritance graph
[legend]

Public Member Functions

 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwner & operator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
virtual boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
virtual void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwner * Owner (void)
 
const EntityWithOwner * Owner (void) const
 

Static Public Member Functions

static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 

Protected Member Functions

virtual bool isEqual (const EntityWithOwner &) const
 Return true if both objects are equal.
 

Static Protected Attributes

static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Entity with a pointer to its owner.

Member Data Documentation

◆ verbosity

int EntityWithOwner::verbosity = 1
staticprotected

Object that owns THIS ONE.

Verbosity level.


The documentation for this class was generated from the following files: