VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
DtForwardDeclare.h File Reference

Helpers to easily define forward declarations. More...

Go to the source code of this file.

Macros

#define FORWARD_DECLARE(T)
#define FORWARD_DECLARE_DIFFERENT_SUFFIX(T, U)
#define FORWARD_DECLARE_ALT_PLURAL(T)

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,
 
)
Value:
namespace makVrv {\
class T;\
typedef std::list<T*> List##U##s; \
typedef std::vector<T*> Vector##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 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; \
}

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)