ADTF  3.18.2
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/codec/access_element.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  is_factory< T >
 For internal use only. More...
 
struct  dispatcher< T, typename std::enable_if<!is_factory< T >::value >::type >
 
struct  dispatcher< T, typename std::enable_if< is_factory< T >::value >::type >
 For internal use only. More...
 

Namespaces

 adtf_ddl
 Namespace for the mainpage_pkg_ddl.
 
 adtf_ddl::access_element
 Namespace for access_element functions.
 
 adtf_ddl::access_element::detail
 Namespace for all internally used functionality implemented.
 

Functions

template<typename T >
tResult find_complex_index (const T &oDecoder, const A_UTILS_NS::cString &strStructName, size_t &nIndex, const char *strPostfix)
 For internal use only.
 
template<typename T >
tResult find_index (const T &oDecoder, const A_UTILS_NS::cString &strElementName, size_t &nIndex)
 Find the index of an element by name. More...
 
template<typename T >
tResult find_struct_index (const T &oDecoder, const A_UTILS_NS::cString &strStructName, size_t &nIndex)
 Find the index of the first element of a sub-structure by name. More...
 
template<typename T >
tResult find_array_index (const T &oDecoder, const A_UTILS_NS::cString &strArrayName, size_t &nIndex)
 Find the index of the first element of an array by name. More...
 
template<typename T >
tResult find_array_end_index (const T &oDecoder, const A_UTILS_NS::cString &strArrayName, size_t &nIndex)
 Find the index of the first element after an array by name. More...
 
template<typename T >
tResult get_value (const T &oDecoder, const A_UTILS_NS::cString &strElementName, void *pValue)
 Get the value of an element by name. More...
 
template<typename T >
tResult set_value (T &oCodec, const A_UTILS_NS::cString &strElementName, const void *pValue)
 Set the value of an element by name. More...
 
template<typename T >
A_UTILS_NS::cVariant get_value (const T &oDecoder, const A_UTILS_NS::cString &strElementName)
 Get the value of an element by name. More...
 
template<typename T >
tResult set_value (T &oCodec, const A_UTILS_NS::cString &strElementName, const A_UTILS_NS::cVariant &oValue)
 Set the value of an element by name. More...
 
template<typename T >
A_UTILS_NS::cVariant get_value (const T &oDecoder, size_t nElement)
 Get the value of an element by index. More...
 
template<typename T >
const void * get_value_address (const T &oDecoder, const A_UTILS_NS::cString &strElementName)
 Get a pointer to an element by name. More...
 
template<typename T >
void * get_value_address (T &oCodec, const A_UTILS_NS::cString &strElementName)
 Get a pointer to an element by name. More...
 
template<typename Struct , typename T >
const Struct * get_struct_address (const T &oDecoder, const A_UTILS_NS::cString &strStructName)
 Get a pointer to a sub-structure by name. More...
 
template<typename Struct , typename T >
Struct * get_struct_address (T &oCodec, const A_UTILS_NS::cString &strStructName)
 Get a pointer to a sub-structure by name. More...
 
template<typename T , typename Codec >
tResult get_struct_value (const Codec &oDecoder, const A_UTILS_NS::cString &strStructName, T *pStructValue)
 Copy a sub-structure out of the structure. More...
 
template<typename T , typename Codec >
tResult set_struct_value (Codec &oCodec, const A_UTILS_NS::cString &strStructName, const T *pStructValue)
 Copy a sub-structure into the structure. More...
 
template<typename ArrayType , typename T >
const ArrayType * get_array_address (const T &oDecoder, const A_UTILS_NS::cString &strArrayName)
 Get a pointer to an array by name. More...
 
template<typename ArrayType , typename T >
ArrayType * get_array_address (T &oCodec, const A_UTILS_NS::cString &strArrayName)
 Get a pointer to an array by name. More...
 
template<typename Codec >
tResult get_array (const Codec &oDecoder, const A_UTILS_NS::cString &strArrayName, const void *&pStartAddress, size_t &nSize)
 Get information about an array. More...
 
template<typename T , typename Codec >
tResult get_array_value (const Codec &oDecoder, const A_UTILS_NS::cString &strArrayName, T *pArrayValue)
 Copy an array out of the structure. More...
 
template<typename T >
tResult reset (T &oCodec, const A_UTILS_NS::cString &strElementName)
 Set the value of the requested element to zero. More...
 
template<typename T >
A_UTILS_NS::cString get_value_as_string (const T &oDecoder, size_t nElement)
 Get the value of an element as a string, using enum value names if available. More...
 
template<typename T >
A_UTILS_NS::cString get_value_as_string (const T &oDecoder, const A_UTILS_NS::cString &strElementName)
 Get the value of an element as a string, using enum value names if available. More...
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/codec/access_element.h.