HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_PrimitiveTypeIdHash.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GA_PrimitiveTypeId.h ( GA Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GA_PrimitiveTypeIdHash__
12 #define __GA_PrimitiveTypeIdHash__
13 
14 #include "GA_API.h"
15 #include "GA_PrimitiveTypeId.h"
16 #include <SYS/SYS_Hash.h>
17 #include <SYS/SYS_Inline.h>
18 
21 {
22  return SYShash(pi.get());
23 }
24 
25 #endif
std::size_t SYS_HashType
Define the type for hash values.
Definition: SYS_Hash.h:19
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
SYS_FORCE_INLINE int get() const
constexpr T pi()
Pi constant taken from Boost to match old behaviour.
Definition: Math.h:119
size_t hash_value(const CH_ChannelRef &ref)