HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UT_PtrArray.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: Utility Library (C++)
7
*
8
* COMMENTS:
9
* This is a class template that implements a resizable array of
10
* arbitrary objects. The template parameter represents the type
11
* of object, and is called utPtr. You can instantiate this class
12
* with any object or pointer, such as:
13
* UT_PtrArray<GeoPoint*> pObj;
14
*/
15
16
#ifndef __UT_PtrArray_h__
17
#define __UT_PtrArray_h__
18
19
#include "
UT_ValArray.h
"
20
21
#include <
SYS/SYS_Types.h
>
22
23
// TODO: Do not add new methods to this class. The methods implemented
24
// here are only provided for compatibility until we sweep the baseline to
25
// use the UT_ValArray interface exclusively.
26
template
<
typename
T>
27
class
SYS_DEPRECATED
(13.0)
UT_PtrArray
:
public
UT_ValArray
<T> {
28
public
:
29
UT_PtrArray
(
const
UT_PtrArray<T>
&
a
)
30
:
UT_ValArray
<
T
>(a) {}
31
explicit
UT_PtrArray
(
exint
capacity = 0)
32
:
UT_ValArray
<
T
>(capacity) {}
33
};
34
35
#endif
SYS_DEPRECATED
#define SYS_DEPRECATED(__V__)
Definition:
SYS_Deprecated.h:38
exint
int64 exint
Definition:
SYS_Types.h:125
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
glcorearb.h:1222
UT_ValArray
Definition:
GA_ArrayDataArray.h:33
SYS_Types.h
UT_PtrArray::UT_PtrArray
UT_PtrArray(const UT_PtrArray< T > &a)
Definition:
UT_PtrArray.h:29
UT_PtrArray::UT_PtrArray
UT_PtrArray(exint capacity=0)
Definition:
UT_PtrArray.h:31
UT_ValArray.h
OBJ_MatchTransform::T
UT_PtrArray
Definition:
UT_PtrArray.h:27
UT
UT_PtrArray.h
Generated on Fri Nov 8 2024 03:41:57 for HDK by
1.8.6