VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 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; \
}

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)