14#ifndef DDL_STRUCT_ELEMENT_ACCESS_LEGACY_CLASS_HEADER
15#define DDL_STRUCT_ELEMENT_ACCESS_LEGACY_CLASS_HEADER
34template <
typename AccessType>
44 return &_legacy_struct_element;
55 auto codec_index = access.resolve(leaf_index, _legacy_struct_element.name);
56 const auto& layout = codec_index.getLayout();
57 const auto& type_info = *(layout.type_info);
58 _legacy_struct_element.p_enum = type_info.getLegacyAccessEnumType();
59 _legacy_struct_element.type =
Definition result_type_decl.h:34
Legacy helper for the ddl::StructElement.
Definition access_element_legacy.h:35
a_util::result::Result getStructElement(const AccessType &access, size_t leaf_index, const ddl::StructElement *&struct_element) const
Fill the local Struct Element and retrieves the Struct Element pointer for legacy in struct_element.
Definition access_element_legacy.h:72
const ddl::StructElement * getStructElement() const
Get the converted StructElement pointer.
Definition access_element_legacy.h:42
const ddl::StructElement * getStructElement(const AccessType &access, size_t leaf_index) const
Fill the local Struct Element and retrieves the Struct Element pointer for legacy.
Definition access_element_legacy.h:53
#define RETURN_ERROR_DESCRIPTION(_errcode,...)
Definition error_def.h:39
VariantType
Enumeration of supported Variant types.
Definition variant.h:25
definition of the access_element namespace (codecs)
Definition access_element.h:25
definition of the ddl namespace
Definition codec.h:21
#define _MAKE_RESULT(_no, _label)
Definition result_info_decl.h:36
Definition struct_element.h:32