HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_BoundingRectHash.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: UT_BoundingRectHash.h (UT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __UT_BoundingRectHash_H__
12 #define __UT_BoundingRectHash_H__
13 
14 #include "UT_API.h"
15 #include "UT_BoundingRect.h"
16 #include <SYS/SYS_Hash.h>
17 
18 /// @file
19 /// Include this if you need to hash UT_BoundingRect
20 
21 /// Compute UT_BoundingRect hash
22 template <typename T>
23 inline uint64
25 {
26  return SYShashRange(begin(), end());
27 }
28 
29 #endif
unsigned long long uint64
Definition: SYS_Types.h:117
GLuint GLuint end
Definition: glcorearb.h:475
uint64 hash() const
Compute UT_BoundingRect hash.
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.
Definition: node.h:558