57 m_##READ = a; \ |
57 m_##READ = a; \ |
58 } |
58 } |
59 |
59 |
60 #define PROPERTY_CUSTOM_WRITE(READ) \ |
60 #define PROPERTY_CUSTOM_WRITE(READ) \ |
61 ; |
61 ; |
|
62 |
|
63 #define readAccess(A) inline decltype(_##A) A() const { return _##A; } |
|
64 #define writeAccess(A,B) inline void B (decltype(_##A) const& a) const { _##A = a; } |
62 |
65 |
63 // ============================================================================= |
66 // ============================================================================= |
64 // |
67 // |
65 #define elif(A) else if (A) |
68 #define elif(A) else if (A) |
66 |
69 |