Classes | |
struct | Choices |
struct | Choices< false > |
struct | EmptySchema |
struct | is_eigen_vector |
struct | is_eigen_vector< Eigen::Matrix< Scalar, Rows, 1, Options, MaxRows, 1 > > |
struct | is_schema |
struct | is_std_map |
struct | is_std_map< std::map< std::string, T > > |
struct | is_std_vector |
struct | is_std_vector< std::vector< T, Allocator > > |
struct | MemberPointerWrapper |
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 |
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 |
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 |