RenderMan API  23.0
RixHashUtils Class Referenceabstract

#include <RixInterfaces.h>

Inheritance diagram for RixHashUtils:
RixInterface

Public Member Functions

virtual uint32_t XXHash32 (void const *input, size_t size, unsigned seed)=0
 Compute 32-bit hash using xxHash and an explicit seed value. More...
 
virtual uint64_t XXHash64 (void const *input, size_t size, unsigned seed)=0
 Compute 64-bit hash using xxHash and an explicit seed value. More...
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Protected Member Functions

 RixHashUtils ()
 constructor for internal use only More...
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Additional Inherited Members

- Public Types inherited from RixInterface
enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 
- Protected Attributes inherited from RixInterface
int m_version
 Version number of this interface. More...
 

Detailed Description

A wrapper for provided hash functions. Currently only offers an implementation of xxHash 32 & 64.

Definition at line 224 of file RixInterfaces.h.

Constructor & Destructor Documentation

◆ RixHashUtils()

RixHashUtils::RixHashUtils ( )
inlineprotected

constructor for internal use only

Definition at line 235 of file RixInterfaces.h.

Member Function Documentation

◆ XXHash32()

virtual uint32_t RixHashUtils::XXHash32 ( void const *  input,
size_t  size,
unsigned  seed 
)
pure virtual

Compute 32-bit hash using xxHash and an explicit seed value.

◆ XXHash64()

virtual uint64_t RixHashUtils::XXHash64 ( void const *  input,
size_t  size,
unsigned  seed 
)
pure virtual

Compute 64-bit hash using xxHash and an explicit seed value.


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