IWORKPropertyInfo.h File Reference
#include <string>

Go to the source code of this file.

Classes

struct  libetonyek::IWORKPropertyInfo< Name >

Namespaces

namespace  libetonyek

Defines

#define IWORK_DECLARE_PROPERTY(name, type)
#define IWORK_IMPLEMENT_PROPERTY(name)   const IWORKPropertyID_t IWORKPropertyInfo<property::name>::id = #name

Typedefs

typedef std::string libetonyek::IWORKPropertyID_t

Define Documentation

#define IWORK_DECLARE_PROPERTY (   name,
  type 
)
Value:
namespace property { \
  struct name {}; \
} \
\
template<> \
struct IWORKPropertyInfo<property::name> \
{ \
  typedef type ValueType; \
  static const IWORKPropertyID_t id; \
}
#define IWORK_IMPLEMENT_PROPERTY (   name)    const IWORKPropertyID_t IWORKPropertyInfo<property::name>::id = #name