VR-Forces 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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)