9#include <boost/python/class.hpp>
10#include <boost/python/register_ptr_to_python.hpp>
19 register_ptr_to_python<std::shared_ptr<ICompAssembly>>();
21 class_<ICompAssembly, boost::python::bases<IComponent>, boost::noncopyable>(
"ICompAssembly", no_init)
24 .def(
"__getitem__", &ICompAssembly::operator[], (arg(
"self"), arg(
"index")),
25 "Return the component at the given index");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_ICompAssembly()
Class for Assembly of geometric components.
virtual int nelements() const =0
Return the number of elements in the assembly.
base class for Geometric IComponent