HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_AIFCompare Class Referenceabstract

Attribute Interface class to perform comparisons on attributes. More...

#include <GA_AIFCompare.h>

Public Member Functions

 GA_AIFCompare ()
 
virtual ~GA_AIFCompare ()
 
virtual uint hash (const GA_Attribute &a, const GA_Offset i) const
 
virtual bool isEqual (bool &result, const GA_Attribute &a, GA_Offset ai, const GA_Attribute &b, GA_Offset bi) const =0
 
virtual bool isEqual (bool &result, const GA_Attribute &a, const GA_Range &ai, const GA_Attribute &b, const GA_Range &bi) const =0
 
virtual bool isAlmostEqual (bool &result, const GA_Attribute &a, GA_Offset ai, const GA_Attribute &b, GA_Offset bi, int ulps=50) const =0
 
virtual bool isAlmostEqual (bool &result, const GA_Attribute &a, const GA_Range &ai, const GA_Attribute &b, const GA_Range &bi, int ulps=50) const =0
 

Detailed Description

Attribute Interface class to perform comparisons on attributes.

This class provides the interface to compare the attribute data.

Definition at line 27 of file GA_AIFCompare.h.

Constructor & Destructor Documentation

GA_AIFCompare::GA_AIFCompare ( )
virtual GA_AIFCompare::~GA_AIFCompare ( )
virtual

Member Function Documentation

virtual uint GA_AIFCompare::hash ( const GA_Attribute a,
const GA_Offset  i 
) const
inlinevirtual

Definition at line 56 of file GA_AIFCompare.h.

virtual bool GA_AIFCompare::isAlmostEqual ( bool &  result,
const GA_Attribute a,
GA_Offset  ai,
const GA_Attribute b,
GA_Offset  bi,
int  ulps = 50 
) const
pure virtual

Compares attributes a and b for a given offset or range, and sets the result argument to true if the two attributes are deemed equal, or to false if they are different. Returns true if the comparison operation was successful, or false if there was some kind of error.

virtual bool GA_AIFCompare::isAlmostEqual ( bool &  result,
const GA_Attribute a,
const GA_Range ai,
const GA_Attribute b,
const GA_Range bi,
int  ulps = 50 
) const
pure virtual

Compares attributes a and b for a given offset or range, and sets the result argument to true if the two attributes are deemed equal, or to false if they are different. Returns true if the comparison operation was successful, or false if there was some kind of error.

virtual bool GA_AIFCompare::isEqual ( bool &  result,
const GA_Attribute a,
GA_Offset  ai,
const GA_Attribute b,
GA_Offset  bi 
) const
pure virtual

Compares attributes a and b for a given offset or range, and sets the result argument to true if the two attributes are deemed equal, or to false if they are different. Returns true if the comparison operation was successful, or false if there was some kind of error.

virtual bool GA_AIFCompare::isEqual ( bool &  result,
const GA_Attribute a,
const GA_Range ai,
const GA_Attribute b,
const GA_Range bi 
) const
pure virtual

Compares attributes a and b for a given offset or range, and sets the result argument to true if the two attributes are deemed equal, or to false if they are different. Returns true if the comparison operation was successful, or false if there was some kind of error.


The documentation for this class was generated from the following file: