49 register_ptr_to_python<std::shared_ptr<ICompAssembly>>();
51 class_<ICompAssembly, boost::python::bases<IComponent>, boost::noncopyable>(
"ICompAssembly", no_init)
52 .def(
"nelements", &nelementsDeprecated, arg(
"self"),
53 "Returns the number of elements in the assembly "
54 "(deprecated, use ComponentInfo.componentsInSubtree)")
55 .def(
"__len__", &nelementsDeprecated, arg(
"self"),
56 "Returns the number of elements in the assembly "
57 "(deprecated, use ComponentInfo.componentsInSubtree)")
58 .def(
"__getitem__", &getItemDeprecated, (arg(
"self"), arg(
"index")),
59 "Return the component at the given index "
60 "(deprecated, use ComponentInfo.children/componentsInSubtree)");