C++ main module for emicrom Package  1.0
Classes | Namespaces | Macros
CORE_Pointers.h File Reference
#include <boost/shared_array.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
Include dependency graph for CORE_Pointers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nullDeleter
 

Namespaces

 SharedPointer
 file CORE_Pointers.hpp CORE interface to reference-counting pointers
 
 SharedPointerConst
 
 SharedVector
 
 SharedVectorConst
 
 SharedPointerOfSharedVector
 
 SharedArray
 
 SharedArrayConst
 
 WeakArray
 
 WeakArrayConst
 
 WeakVector
 
 WeakVectorConst
 
 WeakPointer
 
 WeakPointerConst
 
 SP
 
 SPC
 
 WP
 
 WV
 
 SV
 
 SVC
 

Macros

#define NAME_SPACE_SPTR(X)
 
#define NAME_SPACE_SVPTR(X)
 
#define TYPEDEF_SPTR(X)
 
#define TYPEDEF_SAPTR(X)
 
#define DEFINE_SPTR(X)
 
#define DEFINE_SAPTR(X)
 
#define USE_THIS(X, Y)   SP_OBJECT(X)
 
#define SP_OBJECT(X)
 

Macro Definition Documentation

◆ DEFINE_SAPTR

#define DEFINE_SAPTR (   X)
Value:
class X; \
TYPEDEF_SAPTR(X)

◆ DEFINE_SPTR

#define DEFINE_SPTR (   X)
Value:
class X; \
TYPEDEF_SPTR(X)

◆ NAME_SPACE_SPTR

#define NAME_SPACE_SPTR (   X)
Value:
namespace SharedPointer \
{ \
typedef SPtr##X X; \
} \
namespace WeakPointer \
{ \
typedef WPtr##X X; \
} \
namespace SharedPointerConst \
{ \
typedef SPtrConst##X X;\
} \
namespace WeakPointerConst \
{ \
typedef WPtrConst##X X; \
};
Definition: CORE_Pointers.h:59
file CORE_Pointers.hpp CORE interface to reference-counting pointers
Definition: CORE_Pointers.h:46
Definition: CORE_Pointers.h:58
Definition: CORE_Pointers.h:47

◆ NAME_SPACE_SVPTR

#define NAME_SPACE_SVPTR (   X)

◆ SP_OBJECT

#define SP_OBJECT (   X)

◆ TYPEDEF_SAPTR

#define TYPEDEF_SAPTR (   X)
Value:
typedef boost::shared_array<X> X##SAPtr ; \
NAME_SPACE_SAPTR(X)

◆ TYPEDEF_SPTR

#define TYPEDEF_SPTR (   X)
Value:
typedef boost::weak_ptr<X> WPtr##X; \
typedef boost::shared_ptr<X> SPtr##X; \
typedef boost::shared_ptr<const X> SPtrConst##X; \
typedef boost::weak_ptr<const X> WPtrConst##X; \
NAME_SPACE_SPTR(X)

◆ USE_THIS

#define USE_THIS (   X,
 
)    SP_OBJECT(X)