ADTF
Loading...
Searching...
No Matches
adtf::base::spider Namespace Reference

Namespace for all functionality of the ADTF Base SDK provided since v3.18. More...

Classes

class  cProperties
 
class  cProperty
 
class  cPropertyValue
 
class  cRawMemoryRedirect
 
class  cStringLengthProxy
 
class  cStringRedirect
 
class  property
 
class  property< T, typename std::enable_if<!detail::is_user_defined_property_value< T >::value >::type >
 

Typedefs

using tPropertyVisitorCallback
 

Functions

template<typename T>
tResult get_property_value (const IPropertyValue &oValue, T &xValue)
 
template<typename T>
get_property_value (const IPropertyValue &oValue)
 
tResult visit_property (const ant::IProperties &oProperties, const char *strPropertyName, const std::function< tResult(const IProperty &oProperty)> &fnCallback)
 
tResult visit_property_by_path (const ant::IProperties &oProperties, const char *strPropertyPathAndName, const std::function< tResult(const IProperty &oProperty)> &fnCallback)
 
void visit_properties (const ant::IProperties &oProperties, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void visit_properties (const ant::IProperties &oProperties, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
void visit_sub_properties (const ant::IProperty &oProperty, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void visit_sub_properties (const ant::IProperty &oProperty, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
void visit_sub_properties (const ant::IProperties &oProperties, const char *strPropertyName, const tPropertyVisitorCallback &fnCallback)
 
template<typename SubPropertyType>
void visit_sub_properties (const ant::IProperties &oProperties, const char *strPropertyName, const std::function< void(const char *, SubPropertyType)> &fnCallback)
 
tResult is_equal (const ant::IProperties &oLeftProperties, const ant::IProperties &oRightProperties)
 
tResult is_equal (const ant::IProperty &oLeftProperty, const ant::IProperty &oRightProperty)
 

Detailed Description

Namespace for all functionality of the ADTF Base SDK provided since v3.18.

Function Documentation

◆ is_equal() [1/2]

tResult adtf::base::spider::is_equal ( const ant::IProperties & oLeftProperties,
const ant::IProperties & oRightProperties )

Check if two property sets are equal.

Parameters
[in]oLeftPropertiesThe operands for the check.
[in]oRightPropertiesThe operands for the check.
Returns
Standard result.

◆ is_equal() [2/2]

tResult adtf::base::spider::is_equal ( const ant::IProperty & oLeftProperty,
const ant::IProperty & oRightProperty )

Check if two properties are equal.

Parameters
[in]oLeftPropertyThe operands for the check.
[in]oRightPropertyThe operands for the check.
Returns
Standard result.

◆ visit_properties() [1/2]

template<typename SubPropertyType>
void adtf::base::spider::visit_properties ( const ant::IProperties & oProperties,
const std::function< void(const char *, SubPropertyType)> & fnCallback )

Utility function to visit all properties of a properties object

Template Parameters
SubPropertyTypeThe value type of the sub-properties.
Parameters
[in]oPropertiesThe properties object.
[out]fnCallbackThis is called for each sub-property.

◆ visit_properties() [2/2]

void adtf::base::spider::visit_properties ( const ant::IProperties & oProperties,
const tPropertyVisitorCallback & fnCallback )

Utility function to visit all properties of a properties object

Parameters
[in]oPropertiesThe properties object.
[out]fnCallbackThis is called for each property.

◆ visit_sub_properties() [1/4]

template<typename SubPropertyType>
void adtf::base::spider::visit_sub_properties ( const ant::IProperties & oProperties,
const char * strPropertyName,
const std::function< void(const char *, SubPropertyType)> & fnCallback )

Utility function to visit all sub-properties of a given property

Template Parameters
SubPropertyTypeThe value type of the sub-properties.
Parameters
[in]oPropertiesThe properties object.
[in]strPropertyNameThe name of the properties of which the sub-properties should be visited.
[out]fnCallbackThis is called for each sub-property.

◆ visit_sub_properties() [2/4]

void adtf::base::spider::visit_sub_properties ( const ant::IProperties & oProperties,
const char * strPropertyName,
const tPropertyVisitorCallback & fnCallback )

Utility function to visit all sub-properties of a given property

Parameters
[in]oPropertiesThe properties object.
[in]strPropertyNameThe name of the properties of which the sub-properties should be visited.
[out]fnCallbackThis is called for each sub-property.

◆ visit_sub_properties() [3/4]

template<typename SubPropertyType>
void adtf::base::spider::visit_sub_properties ( const ant::IProperty & oProperty,
const std::function< void(const char *, SubPropertyType)> & fnCallback )

Utility function to visit all sub-properties of a given property

Template Parameters
SubPropertyTypeThe value type of the sub-properties.
Parameters
[in]oPropertyThe property object.
[out]fnCallbackThis is called for each sub-property.

◆ visit_sub_properties() [4/4]

void adtf::base::spider::visit_sub_properties ( const ant::IProperty & oProperty,
const tPropertyVisitorCallback & fnCallback )

Utility function to visit all sub-properties of a given property

Parameters
[in]oPropertyThe property object.
[out]fnCallbackThis is called for each sub-property.