|
| static element_type | getElement (access_type &access, std::string_view full_path) |
| | Get a element object for the given full_element_name.
|
| |
| static element_type | getElement (access_type &access, const CodecIndex &index) |
| | Get a element object for the given index.
|
| |
| static element_type | getChildElement (access_type &access, const CodecIndex &parent_index, std::string_view relative_path) |
| | Get a child element object for the given element_name.
|
| |
| template<typename T> |
| static T | getValue (access_type &access, const CodecIndex &index) |
| | Get the value as type T.
|
| |
| static a_util::variant::Variant | getVariantValue (access_type &access, const CodecIndex &index) |
| | Get the value as variant.
|
| |
| static std::string | getStringValue (access_type &access, const CodecIndex &index) |
| | Get the value as type string.
|
| |
| static void | getRawValue (access_type &access, const CodecIndex &index, void *value, size_t value_size) |
| | Get the value by copy to the given value buffer.
|
| |
| static const void * | getAddress (access_type &access, const CodecIndex &index) |
| | Get the address of the element.
|
| |
| static element_type | getElement (access_type &access, std::string_view full_path) |
| | Get a element object for the given full_element_name.
|
| |
| static element_type | getElement (access_type &access, const CodecIndex &index) |
| | Get a element object for the given index.
|
| |
| static element_type | getChildElement (access_type &access, const CodecIndex &parent_index, std::string_view relative_path) |
| | Get a child element object for the given element_name.
|
| |
| static size_t | getChildCount (access_type &access, const CodecIndex &index) |
| | Get the Child Count.
|
| |
| static std::string | getFullName (access_type &access, const CodecIndex &index) |
| | Get the full name of the element within its main structure. If the element is an array you get the elements array name representation: "main_element.element_name[0]" or main_element.element_name[1] ... etc. If the element is not an array you get the elements name representation: "main_element.element_name".
|
| |
| static std::string | getName (access_type &access, const CodecIndex &index) |
| | Get the name of the element within its level structure. If the element is an array you get the elements array name representation: "element_name[0]" or element_name[1] ... etc. If the element is not an array you get the elements name representation: "element_name".
|
| |
| static std::string | getBaseName (access_type &access, const CodecIndex &index) |
| | Get the name of the element within its level structure. If the element is an array you get the elements base name representation : "element_name" for each array element. If the element is not an array you get the elements name representation is also the base name representation: "element_name".
|
| |
| static void | resolve (access_type &access, CodecIndex &index) |
| | Resolves the given CodecIndex and set the layout information.
|
| |
template<typename AccessType>
class ddl::codec::DecoderElementAccess< AccessType >
A element access type concept template to retrieve element information from the AccessType and get the element value. This class is to retrieve common information of the element and get the element value content.
- See also
- DecoderElement.
- Template Parameters
-
| AccessType | The AccessType for the element (Codec, Decoder, etc. ) |