![]() |
VR-Forces Developer's Guide
|
Go to the source code of this file.
Namespaces | |
| makVrf | |
Macros | |
| #define | DEFINE_REF_ACCESSORS(ReturnType, Method, Member) |
| #define | DEFINE_MUTATOR(Type, Mutator) void set##Mutator(const Type& v) { my##Mutator = v; }; |
| #define | DEFINE_MUTATOR_PROTOTYPE(Type, Mutator) void set##Mutator(const Type& v); |
| #define | DEFINE_ACCESSOR_MUTATOR(ReturnType, Accessor, Mutator) |
| #define | DEFINE_ACCESSOR_MUTATOR_PROTOTYPE(ReturnType, Accessor, Mutator) |
| #define | UNDEFINED_RETURNVALUE_ACCESSOR(ReturnType, Member) virtual const ReturnType Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define | UNDEFINED_RETURNREF_ACCESSOR(ReturnType, Member) virtual const ReturnType& Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define | UNDEFINED_RETURNREF_CONST_ACCESSOR(ReturnType, Member) virtual const ReturnType& Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define | UNDEFINED_RETURNREF_ACCESSORS(ReturnType, Member) |
| #define | UNDEFINED_MUTATOR(Type, Set) virtual void set##Set(const Type& v) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define | UNDEFINED_MUTATOR_WITH_ARGS(Set,...) virtual void set##Set(__VA_ARGS__) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define | UNDEFINED_MUTATOR_METHOD(Set,...) virtual void set##Set(__VA_ARGS__) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define | UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR(Type, Member, Set) |
| #define | UNDEFINED_RETURNREF_ACCESSOR_MUTATOR(Type, Member, Set) |
| #define | UNDEFINED_RETURNREF_ACCESSORS_MUTATOR(Type, Member, Set) |
| #define | UNDEFINED_CONST_METHOD(Type, Method,...) virtual Type Method(__VA_ARGS__) const { throw DtUnimplementedMethod("The const " #Method " const method is unimplemented"); }; |
| #define | UNDEFINED_METHOD(Type, Method,...) virtual Type Method(__VA_ARGS__) { throw DtUnimplementedMethod("The " #Method " method is unimplemented"); }; |
| #define DEFINE_REF_ACCESSORS | ( | ReturnType, | |
| Method, | |||
| Member | |||
| ) |
| #define DEFINE_MUTATOR | ( | Type, | |
| Mutator | |||
| ) | void set##Mutator(const Type& v) { my##Mutator = v; }; |
| #define DEFINE_MUTATOR_PROTOTYPE | ( | Type, | |
| Mutator | |||
| ) | void set##Mutator(const Type& v); |
| #define DEFINE_ACCESSOR_MUTATOR | ( | ReturnType, | |
| Accessor, | |||
| Mutator | |||
| ) |
| #define DEFINE_ACCESSOR_MUTATOR_PROTOTYPE | ( | ReturnType, | |
| Accessor, | |||
| Mutator | |||
| ) |
| #define UNDEFINED_RETURNVALUE_ACCESSOR | ( | ReturnType, | |
| Member | |||
| ) | virtual const ReturnType Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define UNDEFINED_RETURNREF_ACCESSOR | ( | ReturnType, | |
| Member | |||
| ) | virtual const ReturnType& Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define UNDEFINED_RETURNREF_CONST_ACCESSOR | ( | ReturnType, | |
| Member | |||
| ) | virtual const ReturnType& Member() const { throw DtUnimplementedMethod("The const &" #Member " const method is unimplemented"); }; |
| #define UNDEFINED_RETURNREF_ACCESSORS | ( | ReturnType, | |
| Member | |||
| ) |
| #define UNDEFINED_MUTATOR | ( | Type, | |
| Set | |||
| ) | virtual void set##Set(const Type& v) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define UNDEFINED_MUTATOR_WITH_ARGS | ( | Set, | |
| ... | |||
| ) | virtual void set##Set(__VA_ARGS__) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define UNDEFINED_MUTATOR_METHOD | ( | Set, | |
| ... | |||
| ) | virtual void set##Set(__VA_ARGS__) { throw DtUnimplementedMethod("The set" #Set " method is unimplemented"); }; |
| #define UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | Type, | |
| Member, | |||
| Set | |||
| ) |
| #define UNDEFINED_RETURNREF_ACCESSOR_MUTATOR | ( | Type, | |
| Member, | |||
| Set | |||
| ) |
| #define UNDEFINED_RETURNREF_ACCESSORS_MUTATOR | ( | Type, | |
| Member, | |||
| Set | |||
| ) |
| #define UNDEFINED_CONST_METHOD | ( | Type, | |
| Method, | |||
| ... | |||
| ) | virtual Type Method(__VA_ARGS__) const { throw DtUnimplementedMethod("The const " #Method " const method is unimplemented"); }; |
| #define UNDEFINED_METHOD | ( | Type, | |
| Method, | |||
| ... | |||
| ) | virtual Type Method(__VA_ARGS__) { throw DtUnimplementedMethod("The " #Method " method is unimplemented"); }; |