10#include <boost/python/class.hpp>
11#include <boost/python/register_ptr_to_python.hpp>
19 register_ptr_to_python<std::shared_ptr<SampleEnvironment>>();
21 class_<SampleEnvironment>(
"SampleEnvironment", no_init)
23 return_value_policy<reference_existing_object>())
25 "Returns the requested IObject. Index 0 is considered the container",
26 return_value_policy<reference_existing_object>())
28 "Returns the number of elements the environment is composed of.");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_SampleEnvironment()
Defines a single instance of a SampleEnvironment.
const Container & getContainer() const
const IObject & getComponent(const size_t index) const
Returns the requested IObject.