All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::detail::ConvertConstraint< CLIST > Struct Template Reference

Convert a constraint to a proper type. More...

#include <roboptim/core/detail/utility.hh>

Public Member Functions

template<typename C >
boost::shared_ptr< typename
cast_constraint_type< C, CLIST >
::type > 
operator() (const boost::shared_ptr< C > &c) const
 

Detailed Description

template<typename CLIST>
struct roboptim::detail::ConvertConstraint< CLIST >

Convert a constraint to a proper type.

Template Parameters
CLISTa vector of valid constraint types.

Member Function Documentation

template<typename CLIST>
template<typename C >
boost::shared_ptr<typename cast_constraint_type<C, CLIST>::type> roboptim::detail::ConvertConstraint< CLIST >::operator() ( const boost::shared_ptr< C > &  c) const
inline