Helpers to easily define forward declarations.
More...
Go to the source code of this file.
Detailed Description
Helpers to easily define forward declarations.
Macro Definition Documentation
| #define FORWARD_DECLARE |
( |
|
T | ) |
|
Value:namespace makVrv {\
class T;\
typedef std::list<T*> List##T##s; \
typedef std::vector<T*> Vector##T##s; \
typedef boost::unordered_set<T*> UnorderedSet##T##s; \
typedef std::map<std::string, T*> Map##T##s; \
typedef std::list<const T*> ConstList##T##s; \
typedef std::vector<const T*> ConstVector##T##s; \
typedef boost::unordered_set<const T*> ConstUnorderedSet##T##s; \
typedef std::map<std::string, const T*> ConstMap##T##s; \
}
| #define FORWARD_DECLARE_DIFFERENT_SUFFIX |
( |
|
T, |
|
|
|
U |
|
) |
| |
Value:namespace makVrv {\
class T;\
typedef std::list<T*> List##U##s; \
typedef std::vector<T*> Vector##U##s; \
typedef std::deque<T*> Deque##U##s; \
typedef boost::unordered_set<T*> UnorderedSet##U##s; \
typedef std::map<std::string, T*> Map##U##s; \
typedef std::list<const T*> ConstList##U##s; \
typedef std::vector<const T*> ConstVector##U##s; \
typedef std::deque<const T*> ConstDeque##U##s; \
typedef boost::unordered_set<const T*> ConstUnorderedSet##U##s; \
typedef std::map<std::string, const T*> ConstMap##U##s; \
}
| #define FORWARD_DECLARE_ALT_PLURAL |
( |
|
T | ) |
|
Value:namespace makVrv {\
class T;\
typedef std::list<T*> List##T##es; \
typedef std::vector<T*> Vector##T##es; \
typedef boost::unordered_set<T*> UnorderedSet##T##es; \
typedef std::map<std::string, T*> Map##T##es; \
typedef std::list<const T*> ConstList##T##es; \
typedef std::vector<const T*> ConstVector##T##es; \
typedef boost::unordered_set<const T*> ConstUnorderedSet##T##es; \
typedef std::map<std::string, const T*> ConstMap##T##es; \
}