|
mc_rtc
2.14.0
|
Classes | |
| struct | MemberPointerWrapper |
| struct | Choices |
| struct | Choices< false > |
| struct | is_schema |
| struct | is_std_vector |
| struct | is_std_vector< std::vector< T, Allocator > > |
| struct | is_std_map |
| struct | is_std_map< std::map< std::string, T > > |
| struct | is_eigen_vector |
| struct | is_eigen_vector< Eigen::Matrix< Scalar, Rows, 1, Options, MaxRows, 1 > > |
| struct | is_eigen_matrixxd |
| struct | is_eigen_matrixxd< Eigen::MatrixXd > |
| struct | EmptySchema |
Functions | |
| template<typename T , bool IsRequired, bool IsInteractive, bool HasChoices = false, bool IsStatic = false> | |
| void | addValueToForm (const T &value, const std::string &description, const details::Choices< HasChoices > &choices, gui::details::FormElements &form) |
| template<bool IsRequired, bool IsInteractive, bool HasChoices, typename... Args> | |
| void | variantToForm (const std::variant< Args... > &, gui::details::FormElements &form, const Choices< HasChoices > &choices) |
| template<typename T , ValueFlag Flags = ValueFlag::All, bool HasChoices = false> | |
| const T & | get_default (const T &default_, const std::integral_constant< ValueFlag, Flags > &={}, const details::Choices< HasChoices > &choices={}) |
Variables | |
| template<typename T > | |
| constexpr bool | is_schema_v = decltype(is_schema::test<T>(nullptr))::value |
| template<typename T > | |
| constexpr bool | is_std_vector_v = is_std_vector<T>::value |
| template<typename T > | |
| constexpr bool | is_std_vector_schema_v |
| template<typename T > | |
| constexpr bool | is_std_map_v = is_std_map<T>::value |
| template<typename T > | |
| constexpr bool | is_std_map_schema_v |
| template<typename T > | |
| constexpr bool | is_eigen_vector_v = is_eigen_vector<T>::value |
| template<typename T > | |
| constexpr bool | is_eigen_matrixxd_v = is_eigen_matrixxd<T>::value |
| void mc_rtc::schema::details::addValueToForm | ( | const T & | value, |
| const std::string & | description, | ||
| const details::Choices< HasChoices > & | choices, | ||
| gui::details::FormElements & | form | ||
| ) |
| const T& mc_rtc::schema::details::get_default | ( | const T & | default_, |
| const std::integral_constant< ValueFlag, Flags > & | = {}, |
||
| const details::Choices< HasChoices > & | choices = {} |
||
| ) |
Gets a default value:
| void mc_rtc::schema::details::variantToForm | ( | const std::variant< Args... > & | , |
| gui::details::FormElements & | form, | ||
| const Choices< HasChoices > & | choices | ||
| ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Type-trait to detect an std::map<Key, ValueT> where ValueT is a Schema-based type
|
inlineconstexpr |
|
inlineconstexpr |
Type-trait to detect an std::vector<T> where T is a Schema-based type
|
inlineconstexpr |