|
template<typename ElementsType > |
using | element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &)> |
| Callback type for member elements.
|
|
template<typename ElementsType > |
using | element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &)> |
| Callback type for member elements. More...
|
|
template<typename ElementsType > |
using | array_element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t)> |
| Callback type for array elements. More...
|
|
template<typename ElementsType > |
using | array_element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t)> |
| Callback type for array elements. More...
|
|
template<typename ElementsType > |
using | element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, const ddl::dd::datamodel::StructType::Element &)> |
| Callback type for member elements.
|
|
template<typename ElementsType > |
using | element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, const ddl::dd::datamodel::StructType::Element &)> |
| Callback type for member elements. More...
|
|
template<typename ElementsType > |
using | array_element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t, const ddl::dd::datamodel::StructType::Element &)> |
| Callback type for array elements. More...
|
|
template<typename ElementsType > |
using | array_element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t, const ddl::dd::datamodel::StructType::Element &)> |
| Callback type for array elements. More...
|
|
|
template<typename ElementsType > |
void | for_each_leaf_element (ElementsType &oElements, const element_callback< ElementsType > &fnCallback) |
| Iterates ALL leaf elements within ALL array elements. More...
|
|
template<typename T > |
std::vector< tCodecIndex > | get_codec_indices (const T &oDecoderOrFactory) |
| Get the codec indices object. More...
|
|
template<typename ElementsType > |
void | for_each_element (ElementsType &oElements, const element_callback< ElementsType > &fnCallback) |
| Iterates elements without array elements (also structures). More...
|
|
template<typename ElementsType > |
void | for_each_element_infix (ElementsType &oElements, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback) |
| Iterates elements and array elements in a callback-controlled fashion. More...
|
|
template<typename T > |
adtf_util::cVariant | get_value_as_variant (const T &oDecoder, const tCodecIndex &oCodecIndex) |
| Get value as variant. More...
|
|
template<typename ElementsType > |
void | for_each_element_infix (ElementsType &oElements, const ddl::dd::datamodel::StructType::Elements &oModelElements, const ddl::dd::datamodel::DataDefinition &oDataDefinition, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback) |
| Iterates elements and array elements in a callback-controlled fashion. More...
|
|
template<typename ElementsType > |
void | for_each_element_infix (std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &oCurrentElement, const ddl::dd::datamodel::StructType::Element &oModelElement, const ddl::dd::datamodel::DataDefinition &oDataDefinition, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback) |
|
Copyright © Audi Electronics Venture GmbH.
All rights reserved
Definition in file sample_codec.h.