ADTF
Loading...
Searching...
No Matches
property_helper.h File Reference
#include <adtfbase/property_intf.h>
#include <adtfucom3/adtf_ucom3.h>
#include <adtfbase/properties.h>
#include <adtfbase/property.h>
#include <type_traits>
Include dependency graph for property_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  adtf::base::cPropertiesHelper
 

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::base
 Namespace for the ADTF Base SDK.
 

Typedefs

using adtf::base::tPropertyVisitorCallback = std::function<void(const ant::IProperty& oProperty)>
 

Functions

template<typename PropertyType>
void adtf::base::detail::call_callback (const ant::IProperty &oProperty, const std::function< void(const char *, PropertyType)> &fnCallback)
 
template<typename PropertyType>
tResult adtf::base::detail::get_property_value_from_property (const IProperty &oProperty, PropertyType &oFoundValue)
 
std::pair< std::string, std::string > adtf::base::split_parents_and_leaf (const char *strPropertyPathAndName)
 
tResult adtf::base::create_property_tree (ant::IProperties &oProperties, const char *strPath)
 
void adtf::base::visit_properties (const ant::IProperties &oProperties, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void adtf::base::visit_properties (const ant::IProperties &oProperties, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
void adtf::base::visit_sub_properties (const ant::IProperty &oProperty, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void adtf::base::visit_sub_properties (const ant::IProperty &oProperty, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
void adtf::base::visit_sub_properties (const ant::IProperties &oProperties, const char *strPropertyName, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void adtf::base::visit_sub_properties (const ant::IProperties &oProperties, const char *strPropertyName, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
tResult adtf::base::visit_property (const ant::IProperties &oProperties, const char *strPropertyName, const std::function< tResult(const IProperty &oProperty)> &fnCallback)
 
tResult adtf::base::visit_property_by_path (const ant::IProperties &oProperties, const char *strPropertyPathAndName, const std::function< tResult(const IProperty &oProperty)> &fnCallback)
 
template<typename VALUETYPE>
tResult adtf::base::set_property (ant::IProperties &oProperties, const char *strNameOfValue, VALUETYPE oValue)
 
tResult adtf::base::set_property (ant::IProperties &oProperties, const char *strNameOfValue, const char *poValue)
 
template<typename T>
T adtf::base::get_property (const ant::IProperties &oProperties, const char *strNameOfValue, const T &oDefaultValue)
 
template<typename VALUETYPE>
VALUETYPE adtf::base::get_property (const ant::IProperties &oProperties, const char *strNameOfValue)
 
template<typename VALUETYPE>
tResult adtf::base::set_property_by_path (ant::IProperties &oProperties, const char *strPathAndName, VALUETYPE oValue)
 
template<typename T>
T adtf::base::get_property_by_path (const ant::IProperties &oProperties, const char *strPathAndName, const T &oDefaultValue)
 
template<typename VALUETYPE>
VALUETYPE adtf::base::get_property_by_path (const ant::IProperties &oProperties, const char *strPathAndName)
 
tResult adtf::base::get_property_object_by_path (const ant::IProperties &oProperties, const char *strPropertyPathAndName, ant::IProperty &oProperty)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved