ADTF  3.18.2
a_util::result::detail Namespace Reference

Serves as namespace for result implementation details. More...

Classes

class  ErrorDescription
 Implements the error description interface for heap allocated error cases. More...
 
class  ResultInfoDescription
 Implements the error description interface using static data from a_util::result::ResultInfo<T> More...
 
class  IErrorDescription
 The internal interface to ensure binary compatibility of error result descriptions. More...
 
class  ReferenceCountedObject
 Default implementation of a reference counter. More...
 
class  UncountedObject
 Default implementation of a non-counting reference counter. More...
 
struct  ErrorDescriptionType
 type needed for reference counting More...
 
class  ReferenceCountedObject< IErrorDescription, ErrorDescriptionType >
 Specialization to disable dynamic allocation with new() by providing an operator new overload. More...
 
class  ReferenceCountedObjectInterface
 An internal stable interface to ensure binary compatibility of reference counting. More...
 
struct  ResultDescriptionTraits
 Traits type for the result description. More...
 
class  ResultDescription
 Wrapper for either a pointer to a detailed description object or simply a numeric error code. More...
 

Typedefs

typedef ErrorDescription ErrorDescriptionType
 Alias type needed for reference counting.
 

Functions

template<typename T >
bool operator== (const ResultDescription< T > &lhs, const ResultDescription< T > &rhs)
 Compare two result description objects for equality. More...
 
template<typename T >
bool operator!= (const ResultDescription< T > &lhs, const ResultDescription< T > &rhs)
 Compare two result description objects for inequality. More...
 

Detailed Description

Serves as namespace for result implementation details.

Function Documentation

◆ operator!=()

bool operator!= ( const ResultDescription< T > &  lhs,
const ResultDescription< T > &  rhs 
)
inline

Compare two result description objects for inequality.

Template Parameters
TDetailed description type
Parameters
[in]lhsLeft hand side result description object
[in]rhsRight hand side result description object
Returns
true if both result description objects compare not equal, false otherwise

Definition at line 287 of file result_description_impl.h.

◆ operator==()

bool operator== ( const ResultDescription< T > &  lhs,
const ResultDescription< T > &  rhs 
)
inline

Compare two result description objects for equality.

Template Parameters
TDetailed description type
Parameters
[in]lhsLeft hand side result description object
[in]rhsRight hand side result description object
Returns
true if both result description objects compare equal, false otherwise

Definition at line 277 of file result_description_impl.h.

References ResultDescription< DescriptionIntf >::getDetailedDescription(), and ResultDescription< DescriptionIntf >::getErrorCode().