factory-py.cc
Go to the documentation of this file.
1 // Copyright 2010, Florent Lamiraux, Thomas Moulard, LAAS-CNRS.
2 
3 #include <dynamic-graph/factory.h>
4 
5 #include <iostream>
6 
8 
11 
12 namespace dynamicgraph {
13 namespace python {
14 
15 namespace factory {
16 
20 bp::tuple getEntityClassList() {
21  std::vector<std::string> classNames;
23  return to_py_tuple(classNames.begin(), classNames.end());
24 }
25 
26 } // namespace factory
27 } // namespace python
28 } // namespace dynamicgraph
void listEntities(std::vector< std::string > &list) const
bp::tuple to_py_tuple(Iterator begin, Iterator end)
bp::tuple getEntityClassList()
Get name of entity.
Definition: factory-py.cc:20
static FactoryStorage * getInstance()


dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:55:50