Panda3D
pta_int.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file pta_int.h
10  * @author drose
11  * @date 2000-05-10
12  */
13 
14 #ifndef PTA_INT_H
15 #define PTA_INT_H
16 
17 #include "pandabase.h"
18 
19 #include "pointerToArray.h"
20 #include "vector_int.h"
21 
22 /**
23  * A pta of ints. This class is defined once here, and exported to PANDA.DLL;
24  * other packages that want to use a pta of this type (whether they need to
25  * export it or not) should include this header file, rather than defining the
26  * pta again.
27  */
28 
29 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<int> >)
30 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<int>)
31 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<int>)
32 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<int>)
33 
34 typedef PointerToArray<int> PTA_int;
35 typedef ConstPointerToArray<int> CPTA_int;
36 
37 #endif
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase< ReferenceCountedVector< int > >) EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS
A pta of ints.
This is the base class for PointerTo and ConstPointerTo.
Definition: pointerToBase.h:29
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A special kind of PointerTo that stores an array of the indicated element type, instead of a single e...
This is the base class for PointerToArray and ConstPointerToArray.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines the object that is actually stored and reference-counted internally by a PointerToArray.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Similar to PointerToArray, except that its contents may not be modified.