AuboCaps  0.6.0
class_forward.h File Reference
#include <memory>
Include dependency graph for class_forward.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARCS_ABI_EXPORT
 
#define ARCS_ABI_IMPORT
 
#define ARCS_ABI_LOCAL
 
#define ARCS_DECLARE_PTR(Name, Type)
 
#define ARCS_DECLARE_PTR_MEMBER(Type)
 
#define ARCS_CLASS_FORWARD(C)
 Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR. More...
 
#define ARCS_STRUCT_FORWARD(C)
 Like ARCS_CLASS_FORWARD, but forward declares the type as a struct instead of a class. More...
 

Macro Definition Documentation

#define ARCS_ABI_EXPORT

Definition at line 16 of file class_forward.h.

#define ARCS_ABI_IMPORT

Definition at line 17 of file class_forward.h.

#define ARCS_ABI_LOCAL

Definition at line 18 of file class_forward.h.

#define ARCS_CLASS_FORWARD (   C)
Value:
class C; \
#define ARCS_DECLARE_PTR(Name, Type)
Definition: class_forward.h:36

Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR.

Definition at line 68 of file class_forward.h.

#define ARCS_DECLARE_PTR (   Name,
  Type 
)
Value:
typedef std::shared_ptr<Type> Name##Ptr; \
typedef std::shared_ptr<const Type> Name##ConstPtr; \
typedef std::weak_ptr<Type> Name##WeakPtr; \
typedef std::weak_ptr<const Type> Name##ConstWeakPtr; \
typedef std::unique_ptr<Type> Name##UniquePtr; \
typedef std::unique_ptr<const Type> Name##ConstUniquePtr

Definition at line 36 of file class_forward.h.

#define ARCS_DECLARE_PTR_MEMBER (   Type)
Value:
typedef std::shared_ptr<Type> Ptr; \
typedef std::shared_ptr<const Type> ConstPtr; \
typedef std::weak_ptr<Type> WeakPtr; \
typedef std::weak_ptr<const Type> ConstWeakPtr; \
typedef std::unique_ptr<Type> UniquePtr; \
typedef std::unique_ptr<const Type> ConstUniquePtr

Definition at line 54 of file class_forward.h.

#define ARCS_STRUCT_FORWARD (   C)
Value:
struct C; \
#define ARCS_DECLARE_PTR(Name, Type)
Definition: class_forward.h:36

Like ARCS_CLASS_FORWARD, but forward declares the type as a struct instead of a class.

Definition at line 77 of file class_forward.h.