macros.h File Reference

#include <string>
#include <vector>

Defines

#define IS_A(P, T)   (dynamic_cast<T>(P)!=NULL)
#define DECLARE_MANAGEMENT_LAYER(T)
#define IMPLEMENT_MANAGEMENT_LAYER(T)
#define UNSIGNED_BIT(a)   ((unsigned long)(1L<<(unsigned long)(a)))
#define BIT(a)   (long(1L<<long(a)))
#define UNSIGNED_INT_BIT(a)   ((unsigned int)(1L<<(unsigned int)(a)))

Define Documentation

#define BIT (  )     (long(1L<<long(a)))

#define DECLARE_MANAGEMENT_LAYER (  ) 

Value:

private:                                        \
      static std::vector<T*> instances;            \
      static void RegisterInstance(T* instance);   \
      static void DeregisterInstance(T* instance); \
   public:                                         \
      static int GetInstanceCount();               \
      static T* GetInstance(int index);            \
      static T* GetInstance(std::string name);

#define IMPLEMENT_MANAGEMENT_LAYER (  ) 

#define IS_A ( P,
 )     (dynamic_cast<T>(P)!=NULL)

#define UNSIGNED_BIT (  )     ((unsigned long)(1L<<(unsigned long)(a)))

#define UNSIGNED_INT_BIT (  )     ((unsigned int)(1L<<(unsigned int)(a)))


http://www.delta3d.org
2.0.0 generated 14 Feb 2008