|
Darwin Neuroevolution Framework
|
Wraps a core::Property pointer (non-onwning) More...
#include <python_bindings.h>
Public Member Functions | |
| py::object | autoCast () const |
| Automatic conversion to the appropriate Python type. | |
| double | asFloat () const |
| float implementation | |
| int | asInt () const |
| int implementation | |
| bool | asBool () const |
| bool implementation | |
| string | repr () const |
| repr implementation | |
| string | str () const |
| str implementation | |
Wraps a core::Property pointer (non-onwning)
The wrapped core::Property is a reference to a sub-object part of a core::PropertySet. The lifetime of this wrapper must be strictly within the lifetime of the parent core::PropertySet (this can be implemented using py::return_value_policy::reference_internal or py::keep_alive<>)
1.8.14