ADTF
Loading...
Searching...
No Matches
properties_v2.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  cPropertyValue
 
struct  cPropertyValue::tUserDefined
 
class  cProperty
 
class  property< T, Enable >
 
class  property< T, typename std::enable_if<!detail::is_user_defined_property_value< T >::value >::type >
 
class  cProperties
 
class  cProperties
 
class  cProperty
 
class  cPropertyValue
 
class  property< T, Enable >
 

Namespaces

namespace  adtf
 Namespace for entire ADTF SDK.
 
namespace  adtf::base
 Namespace for the ADTF Base SDK.
 
namespace  adtf::base::spider
 Namespace for all functionality of the ADTF Base SDK provided since v3.18.
 

Typedefs

template<typename T>
using is_user_defined_property_value = std::integral_constant<bool, !(std::is_same_v<T, bool> || std::is_arithmetic_v<T> || std::is_same_v<T, std::string>)>
 
template<typename T>
using storage_type = typename std::conditional<is_user_defined_property_value<T>::value, cPropertyValue::tUserDefined, T>::type
 

Functions

template<typename T>
std::enable_if< is_user_defined_property_value< T >::value, tResult >::type get_property_value (const cPropertyValue &oValue, T &xValue)
 
template<typename T>
std::enable_if<!is_user_defined_property_value< T >::value, tResult >::type get_property_value (const cPropertyValue &oValue, T &xValue)
 
template<typename T>
tResult get_property_value (const IPropertyValue &oValue, T &xValue)
 
template<typename T>
get_property_value (const IPropertyValue &oValue)
 
template<typename T>
tResult get_property_value (const IPropertyValue &oValue, T &xValue)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file properties_v2.h.

Typedef Documentation

◆ is_user_defined_property_value

template<typename T>
using is_user_defined_property_value = std::integral_constant<bool, !(std::is_same_v<T, bool> || std::is_arithmetic_v<T> || std::is_same_v<T, std::string>)>

Definition at line 113 of file properties_v2.h.

◆ storage_type

template<typename T>
using storage_type = typename std::conditional<is_user_defined_property_value<T>::value, cPropertyValue::tUserDefined, T>::type

Definition at line 130 of file properties_v2.h.

Function Documentation

◆ get_property_value() [1/2]

template<typename T>
std::enable_if< is_user_defined_property_value< T >::value, tResult >::type get_property_value ( const cPropertyValue & oValue,
T & xValue )

Definition at line 116 of file properties_v2.h.

◆ get_property_value() [2/2]

template<typename T>
std::enable_if<!is_user_defined_property_value< T >::value, tResult >::type get_property_value ( const cPropertyValue & oValue,
T & xValue )

Definition at line 124 of file properties_v2.h.