#include "SIM_API.h"#include "SIM_Options.h"Go to the source code of this file.
Classes | |
| class | SIM_OptionsUser |
Defines | |
| #define | GET_DATA_FUNC_I(DataName, FuncName) |
| #define | GET_DATA_FUNC_E(DataName, FuncName, EnumType) |
| #define | GET_DATA_FUNC_B(DataName, FuncName) |
| #define | GET_DATA_FUNC_F(DataName, FuncName) |
| #define | GET_DATA_FUNC_V2(DataName, FuncName) |
| #define | GET_DATA_FUNC_UV(DataName, FuncName) |
| #define | GET_DATA_FUNC_V3(DataName, FuncName) |
| #define | GET_DATA_FUNC_UVW(DataName, FuncName) |
| #define | GET_DATA_FUNC_V4(DataName, FuncName) |
| #define | GET_DATA_FUNC_Q(DataName, FuncName) |
| #define | GET_DATA_FUNC_M3(DataName, FuncName) |
| #define | GET_DATA_FUNC_M4(DataName, FuncName) |
| #define | GET_DATA_FUNC_S(DataName, FuncName) |
| #define | GET_GUIDE_FUNC_I(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_E(DataName, FuncName, EnumType, Default) |
| #define | GET_GUIDE_FUNC_B(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_F(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_V2(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_V3(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_V4(DataName, FuncName, Default) |
| #define | GET_GUIDE_FUNC_S(DataName, FuncName, Default) |
| #define | SET_DATA_FUNC_I(DataName, FuncName) |
| #define | SET_DATA_FUNC_E(DataName, FuncName, EnumType) |
| #define | SET_DATA_FUNC_B(DataName, FuncName) |
| #define | SET_DATA_FUNC_F(DataName, FuncName) |
| #define | SET_DATA_FUNC_V2(DataName, FuncName) |
| #define | SET_DATA_FUNC_UV(DataName, FuncName) |
| #define | SET_DATA_FUNC_V3(DataName, FuncName) |
| #define | SET_DATA_FUNC_UVW(DataName, FuncName) |
| #define | SET_DATA_FUNC_V4(DataName, FuncName) |
| #define | SET_DATA_FUNC_Q(DataName, FuncName) |
| #define | SET_DATA_FUNC_M3(DataName, FuncName) |
| #define | SET_DATA_FUNC_M4(DataName, FuncName) |
| #define | SET_DATA_FUNC_S(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_I(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_E(DataName, FuncName, EnumType) |
| #define | GETSET_DATA_FUNCS_B(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_F(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_V2(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_UV(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_V3(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_UVW(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_V4(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_Q(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_M3(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_M4(DataName, FuncName) |
| #define | GETSET_DATA_FUNCS_S(DataName, FuncName) |
| #define GET_DATA_FUNC_B | ( | DataName, | |||
| FuncName | ) |
Value:
bool get##FuncName() const \ { return getOptions().getOptionB(DataName); }
Definition at line 54 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_E | ( | DataName, | |||
| FuncName, | |||||
| EnumType | ) |
Value:
EnumType get##FuncName() const \ { return static_cast<EnumType> \ (getOptions().getOptionI(DataName)); }
Definition at line 50 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_F | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 57 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_I | ( | DataName, | |||
| FuncName | ) |
Value:
int get##FuncName() const \ { return getOptions().getOptionI(DataName); }
Definition at line 47 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_M3 | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Matrix3 get##FuncName() const \ { return getOptions().getOptionM3(DataName); }
Definition at line 78 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_M4 | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Matrix4 get##FuncName() const \ { return getOptions().getOptionM4(DataName); }
Definition at line 81 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_Q | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Quaternion get##FuncName() const \ { return getOptions().getOptionQ(DataName); }
Definition at line 75 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_S | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 84 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_UV | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Vector2 get##FuncName() const \ { return getOptions().getOptionUV(DataName); }
Definition at line 63 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_UVW | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Vector3 get##FuncName() const \ { return getOptions().getOptionUVW(DataName); }
Definition at line 69 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_V2 | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Vector2 get##FuncName() const \ { return getOptions().getOptionV2(DataName); }
Definition at line 60 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_V3 | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Vector3 get##FuncName() const \ { return getOptions().getOptionV3(DataName); }
Definition at line 66 of file SIM_OptionsUser.h.
| #define GET_DATA_FUNC_V4 | ( | DataName, | |||
| FuncName | ) |
Value:
const UT_Vector4 get##FuncName() const \ { return getOptions().getOptionV4(DataName); }
Definition at line 72 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_B | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
bool get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionB(DataName) \ : Default; \ }
Definition at line 100 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_E | ( | DataName, | |||
| FuncName, | |||||
| EnumType, | |||||
| Default | ) |
Value:
EnumType get##FuncName(const SIM_Options &options) const \ { return static_cast<EnumType> (options.hasOption(DataName) \ ? options.getOptionI(DataName) \ : Default); \ }
Definition at line 94 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_F | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
fpreal get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionF(DataName) \ : Default; \ }
Definition at line 106 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_I | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
int get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionI(DataName) \ : Default; \ }
Definition at line 88 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_S | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
void get##FuncName(UT_String &value, const SIM_Options &options) const \ { if (options.hasOption(DataName)) \ options.getOptionS(DataName, value); \ else \ value = Default; \ }
Definition at line 131 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_V2 | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
const UT_Vector2 get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionV2(DataName) \ : UT_Vector2 Default; \ }
Definition at line 112 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_V3 | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
const UT_Vector3 get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionV3(DataName) \ : UT_Vector3 Default; \ }
Definition at line 118 of file SIM_OptionsUser.h.
| #define GET_GUIDE_FUNC_V4 | ( | DataName, | |||
| FuncName, | |||||
| Default | ) |
Value:
const UT_Vector4 get##FuncName(const SIM_Options &options) const \ { return options.hasOption(DataName) \ ? options.getOptionV4(DataName) \ : UT_Vector4 Default; \ }
Definition at line 124 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_B | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_B(DataName, FuncName) \ SET_DATA_FUNC_B(DataName, FuncName)
Definition at line 186 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_E | ( | DataName, | |||
| FuncName, | |||||
| EnumType | ) |
Value:
GET_DATA_FUNC_E(DataName, FuncName, EnumType) \ SET_DATA_FUNC_E(DataName, FuncName, EnumType)
Definition at line 183 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_F | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_F(DataName, FuncName) \ SET_DATA_FUNC_F(DataName, FuncName)
Definition at line 189 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_I | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_I(DataName, FuncName) \ SET_DATA_FUNC_I(DataName, FuncName)
Definition at line 180 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_M3 | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_M3(DataName, FuncName) \ SET_DATA_FUNC_M3(DataName, FuncName)
Definition at line 210 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_M4 | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_M4(DataName, FuncName) \ SET_DATA_FUNC_M4(DataName, FuncName)
Definition at line 213 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_Q | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_Q(DataName, FuncName) \ SET_DATA_FUNC_Q(DataName, FuncName)
Definition at line 207 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_S | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_S(DataName, FuncName) \ SET_DATA_FUNC_S(DataName, FuncName)
Definition at line 216 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_UV | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_UV(DataName, FuncName) \ SET_DATA_FUNC_UV(DataName, FuncName)
Definition at line 195 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_UVW | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_UVW(DataName, FuncName) \ SET_DATA_FUNC_UVW(DataName, FuncName)
Definition at line 201 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_V2 | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_V2(DataName, FuncName) \ SET_DATA_FUNC_V2(DataName, FuncName)
Definition at line 192 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_V3 | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_V3(DataName, FuncName) \ SET_DATA_FUNC_V3(DataName, FuncName)
Definition at line 198 of file SIM_OptionsUser.h.
| #define GETSET_DATA_FUNCS_V4 | ( | DataName, | |||
| FuncName | ) |
Value:
GET_DATA_FUNC_V4(DataName, FuncName) \ SET_DATA_FUNC_V4(DataName, FuncName)
Definition at line 204 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_B | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 146 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_E | ( | DataName, | |||
| FuncName, | |||||
| EnumType | ) |
Value:
void set##FuncName(const EnumType value) \ { getOptions().setOptionI(DataName, \ static_cast<int>(value)); }
Definition at line 142 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_F | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 149 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_I | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 139 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_M3 | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Matrix3 &value) \ { getOptions().setOptionM3(DataName, value); }
Definition at line 170 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_M4 | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Matrix4 &value) \ { getOptions().setOptionM4(DataName, value); }
Definition at line 173 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_Q | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Quaternion &value) \ { getOptions().setOptionQ(DataName, value); }
Definition at line 167 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_S | ( | DataName, | |||
| FuncName | ) |
Value:
Definition at line 176 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_UV | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Vector2 &value) \ { getOptions().setOptionUV(DataName, value); }
Definition at line 155 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_UVW | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Vector3 &value) \ { getOptions().setOptionUVW(DataName, value); }
Definition at line 161 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_V2 | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Vector2 &value) \ { getOptions().setOptionV2(DataName, value); }
Definition at line 152 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_V3 | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Vector3 &value) \ { getOptions().setOptionV3(DataName, value); }
Definition at line 158 of file SIM_OptionsUser.h.
| #define SET_DATA_FUNC_V4 | ( | DataName, | |||
| FuncName | ) |
Value:
void set##FuncName(const UT_Vector4 &value) \ { getOptions().setOptionV4(DataName, value); }
Definition at line 164 of file SIM_OptionsUser.h.
1.5.9