VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros
DtForwardDeclare.h File Reference

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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)