Drake
drake::pydrake::internal Namespace Reference

Functions

py::object GetParamAliases ()
 
py::object GetPyParamScalarImpl (const std::type_info &tinfo)
 
template<typename T >
py::object GetPyParamScalarImpl (type_pack< T >={})
 
template<typename T , T Value>
py::object GetPyParamScalarImpl (type_pack< std::integral_constant< T, Value >>={})
 
py::object GetOrInitTemplate (py::handle scope, const std::string &name, const std::string &template_cls_name, py::tuple args=py::tuple(), py::dict kwargs=py::dict())
 
void AddInstantiation (py::handle py_template, py::handle obj, py::tuple param)
 
std::string GetInstantiationName (py::handle py_template, py::tuple param)
 

Function Documentation

◆ AddInstantiation()

void drake::pydrake::internal::AddInstantiation ( py::handle  py_template,
py::handle  obj,
py::tuple  param 
)
inline

◆ GetInstantiationName()

std::string drake::pydrake::internal::GetInstantiationName ( py::handle  py_template,
py::tuple  param 
)
inline

◆ GetOrInitTemplate()

py::object drake::pydrake::internal::GetOrInitTemplate ( py::handle  scope,
const std::string &  name,
const std::string &  template_cls_name,
py::tuple  args = py::tuple(),
py::dict  kwargs = py::dict() 
)
inline

◆ GetParamAliases()

py::object GetParamAliases ( )

◆ GetPyParamScalarImpl() [1/3]

py::object drake::pydrake::internal::GetPyParamScalarImpl ( type_pack< T = {})
inline

◆ GetPyParamScalarImpl() [2/3]

py::object drake::pydrake::internal::GetPyParamScalarImpl ( type_pack< std::integral_constant< T, Value >>  = {})
inline

◆ GetPyParamScalarImpl() [3/3]

py::object GetPyParamScalarImpl ( const std::type_info &  tinfo)