C++ main module for emicrom Package  1.0
CORE_ListPointers.h
Go to the documentation of this file.
1 #ifndef CORE_ListPointers_H
2 #define CORE_ListPointers_H
3 
4 
5 #include <boost/shared_array.hpp>
6 #include <boost/shared_ptr.hpp>
7 #include <boost/weak_ptr.hpp>
8 #include <boost/enable_shared_from_this.hpp>
9 
11 #include "CORE_WeakPointersList.h"
13 
15 #include "CORE_WeakPointersArray.h"
16 
17 #define TYPEDEF_SVPTR(X) \
18  typedef CORE_SharedPointersList<const X> SVPtrConst##X; \
19  typedef CORE_SharedPointersList<X> SVPtr##X; \
20  typedef CORE_WeakPointersList<X> WVPtr##X; \
21  typedef CORE_WeakPointersList<const X> WVPtrConst##X; \
22  typedef CORE_SharedPointersArray<const X> SAPtrConst##X; \
23  typedef CORE_SharedPointersArray<X> SAPtr##X; \
24  typedef CORE_WeakPointersArray<X> WAPtr##X; \
25  typedef CORE_WeakPointersArray<const X> WAPtrConst##X; \
26  NAME_SPACE_SVPTR(X)
27 
28 
29 #define DEFINE_SVPTR(X) \
30  class X; \
31  TYPEDEF_SVPTR(X)
32 
34 
35 // a vector of boost pointer of primitive type vector
46 
47 
48 
49 #endif /* CORE_ListPointers_H */
this class describes an array
Definition: CORE_Vector.h:19
#define TYPEDEF_SVPTR(X)
Definition: CORE_ListPointers.h:17
#define DEFINE_SVPTR(X)
Definition: CORE_ListPointers.h:29
abstract base class for most classes.
Definition: CORE_Object.h:53