ADTF  3.18.2
cDDLCompareFunctor< T >

functional pattern to use std find algorithms More...

Public Member Functions

 cDDLCompareFunctor (const A_UTILS_NS::cString &strPattern)
 CTR. More...
 
bool operator() (const T *poEntry)
 Compare function for pattern. More...
 

Public Attributes

const A_UTILS_NS::cStringm_strPattern
 the name of the pattern
 

Detailed Description

template<typename T = IDDL>
struct adtf_ddl::cDDLCompareFunctor< T >

functional pattern to use std find algorithms

Definition at line 157 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/ddlrepresentation/ddl.h.

Constructor & Destructor Documentation

◆ cDDLCompareFunctor()

cDDLCompareFunctor ( const A_UTILS_NS::cString strPattern)
inline

CTR.

Parameters
[in]strPatternthe name of the pattern

Definition at line 167 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/ddlrepresentation/ddl.h.

Member Function Documentation

◆ operator()()

bool operator() ( const T *  poEntry)
inline

Compare function for pattern.

Parameters
[in]poEntrypointer to the DDL object
Returns
true if equal, false otherwise

Definition at line 178 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/ddlrepresentation/ddl.h.

References string_base< storageT >::IsEqual(), and cDDLCompareFunctor< T >::m_strPattern.