10#include <boost/python/enum.hpp>
20 boost::python::enum_<PropertyMode::Type>(
"PropertyMode")
21 .value(
"Optional", PropertyMode::Optional)
22 .value(
"Mandatory", PropertyMode::Mandatory);
26 boost::python::enum_<LockMode::Type>(
"LockMode").value(
"Lock", LockMode::Lock).value(
"NoLock", LockMode::NoLock);
29 WorkspacePropertyExporter<Workspace>::define(
"WorkspaceProperty");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_WorkspaceProperty()
A property class for workspaces.
Base Workspace Abstract Class.
Enumeration for locking behaviour.
Enumeration for a mandatory/optional property.
A helper struct to export WorkspaceProperty<> types to Python.