HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_OptionsUser.h File Reference
#include "SIM_API.h"
#include "SIM_Options.h"
#include <UT/UT_IStream.h>
#include <UT/UT_Ramp.h>
+ Include dependency graph for SIM_OptionsUser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SIM_OptionsUser
 

Macros

#define GET_DATA_FUNC_I_sh(DataName, FuncName)
 
#define GET_DATA_FUNC_I(DataName, FuncName)
 
#define GET_DATA_FUNC_E_sh(DataName, FuncName, EnumType)
 
#define GET_DATA_FUNC_E(DataName, FuncName, EnumType)
 
#define GET_DATA_FUNC_B_sh(DataName, FuncName)
 
#define GET_DATA_FUNC_B(DataName, FuncName)
 
#define GET_DATA_FUNC_F_sh(DataName, FuncName)
 
#define GET_DATA_FUNC_F(DataName, FuncName)
 
#define GET_DATA_FUNC_RAMP_sh(DataName, FuncName)
 
#define GET_DATA_FUNC_RAMP(DataName, FuncName)
 
#define _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, BaseType, Accessor)
 
#define _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, BaseType, Accessor)
 
#define GET_DATA_FUNC_V2(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V2D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2D, V2);
 
#define GET_DATA_FUNC_UV(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V3(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V3D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3D, V3);
 
#define GET_DATA_FUNC_UVW(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V4(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4, V4);
 
#define GET_DATA_FUNC_V4D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4D, V4);
 
#define GET_DATA_FUNC_Q(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Quaternion, Q);
 
#define GET_DATA_FUNC_QD(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_QuaternionD, Q);
 
#define GET_DATA_FUNC_M3(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix3, M3);
 
#define GET_DATA_FUNC_M4(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix4, M4);
 
#define GET_DATA_FUNC_V2_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V2D_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2D, V2);
 
#define GET_DATA_FUNC_UV_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V3_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V3D_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3D, V3);
 
#define GET_DATA_FUNC_UVW_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V4_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector4, V4);
 
#define GET_DATA_FUNC_V4D_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector4D, V4);
 
#define GET_DATA_FUNC_Q_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Quaternion, Q);
 
#define GET_DATA_FUNC_QD_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_QuaternionD, Q);
 
#define GET_DATA_FUNC_M3_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Matrix3, M3);
 
#define GET_DATA_FUNC_M4_sh(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Matrix4, M4);
 
#define GET_DATA_FUNC_S_sh(DataName, FuncName)
 
#define GET_DATA_FUNC_S(DataName, FuncName)
 
#define _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, BaseType, Accessor)
 
#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)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector2, V2)
 
#define GET_GUIDE_FUNC_V3(DataName, FuncName, Default)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector3, V3)
 
#define GET_GUIDE_FUNC_V4(DataName, FuncName, Default)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector4, V4)
 
#define GET_GUIDE_FUNC_S(DataName, FuncName, Default)
 
#define GET_GUIDE_FUNC_RAMP(DataName, FuncName)
 
#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 SET_DATA_FUNC_RAMP(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 GETSET_DATA_FUNCS_RAMP(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_I_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_E_sh(DataName, FuncName, EnumType)
 
#define GETSET_DATA_FUNCS_B_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_F_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V2_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_UV_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V3_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_UVW_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V4_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_Q_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_M3_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_M4_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_S_sh(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_RAMP_sh(DataName, FuncName)
 

Macro Definition Documentation

#define _BUILD_SIM_OPTION_GETTERS (   DataName,
  FuncName,
  BaseType,
  Accessor 
)
Value:
const BaseType##D get##FuncName##D() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOption##Accessor(dname.asRef()); } \
const BaseType##F get##FuncName##F() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOption##Accessor(dname.asRef()); } \
const BaseType##F get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOption##Accessor(dname.asRef()); }

Definition at line 92 of file SIM_OptionsUser.h.

#define _BUILD_SIM_OPTION_GETTERS_sh (   DataName,
  FuncName,
  BaseType,
  Accessor 
)
Value:
const BaseType##D get##FuncName##D() const \
{ return getOptions().getOption##Accessor(DataName); } \
const BaseType##F get##FuncName##F() const \
{ return getOptions().getOption##Accessor(DataName); } \
const BaseType##F get##FuncName() const \
{ return getOptions().getOption##Accessor(DataName); }

Definition at line 103 of file SIM_OptionsUser.h.

#define _BUILD_SIM_OPTION_GUIDE_GETTERS (   DataName,
  FuncName,
  Default,
  BaseType,
  Accessor 
)
Value:
const BaseType##D get##FuncName##D(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
} \
const BaseType##F get##FuncName##F(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
} \
const BaseType##F get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
}

Definition at line 173 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_B (   DataName,
  FuncName 
)
Value:
bool get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOptionB(dname.asRef()); }

Definition at line 64 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_B_sh (   DataName,
  FuncName 
)
Value:
bool get##FuncName() const \
{ return getOptions().getOptionB(DataName); }

Definition at line 61 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_E (   DataName,
  FuncName,
  EnumType 
)
Value:
EnumType get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return static_cast<EnumType> \
(getOptions().getOptionI(dname.asRef())); }

Definition at line 56 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_E_sh (   DataName,
  FuncName,
  EnumType 
)
Value:
EnumType get##FuncName() const \
{ return static_cast<EnumType> \
(getOptions().getOptionI(DataName)); }

Definition at line 52 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_F (   DataName,
  FuncName 
)
Value:
fpreal64 get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOptionF(dname.asRef()); }
double fpreal64
Definition: SYS_Types.h:201

Definition at line 71 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_F_sh (   DataName,
  FuncName 
)
Value:
fpreal64 get##FuncName() const \
{ return getOptions().getOptionF(DataName); }
double fpreal64
Definition: SYS_Types.h:201

Definition at line 68 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_I (   DataName,
  FuncName 
)
Value:
int64 get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOptionI(dname.asRef()); }
long long int64
Definition: SYS_Types.h:116

Definition at line 48 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_I_sh (   DataName,
  FuncName 
)
Value:
int64 get##FuncName() const \
{ return getOptions().getOptionI(DataName); }
long long int64
Definition: SYS_Types.h:116

Definition at line 45 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M3 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix3, M3);

Definition at line 131 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M3_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Matrix3, M3);

Definition at line 156 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M4 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix4, M4);

Definition at line 133 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M4_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Matrix4, M4);

Definition at line 158 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_Q (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Quaternion, Q);

Definition at line 127 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_Q_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Quaternion, Q);

Definition at line 152 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_QD (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_QuaternionD, Q);

Definition at line 129 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_QD_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_QuaternionD, Q);

Definition at line 154 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
bool get##FuncName(UT_Ramp &ramp) const \
{ static constexpr UT_StringLit dname(DataName); \
UT_StringHolder rs; \
rs = getOptions().getOptionS(dname.asRef()); \
UT_IStream is((const char *) rs, rs.length(), UT_ISTREAM_ASCII); \
return ramp.load(is); \
}
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92

Definition at line 83 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_RAMP_sh (   DataName,
  FuncName 
)
Value:
bool get##FuncName(UT_Ramp &ramp) const \
rs = getOptions().getOptionS(DataName); \
UT_IStream is((const char *) rs, rs.length(), UT_ISTREAM_ASCII); \
return ramp.load(is); \
}
exint length() const
bool load(UT_IStream &is)
Load string from stream. Use is.eof() to check eof status.
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92

Definition at line 76 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_S (   DataName,
  FuncName 
)
Value:
const UT_StringHolder &get##FuncName() const \
{ static constexpr UT_StringLit dname(DataName); \
return getOptions().getOptionS(dname.asRef()); } \
void get##FuncName(UT_String &value) const \
{ value = get##FuncName(); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 166 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_S_sh (   DataName,
  FuncName 
)
Value:
const UT_StringHolder &get##FuncName() const \
{ return getOptions().getOptionS(DataName); } \
void get##FuncName(UT_String &value) const \
{ value = get##FuncName(); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 161 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UV (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);

Definition at line 115 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UV_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2, V2);

Definition at line 140 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UVW (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);

Definition at line 121 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UVW_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3, V3);

Definition at line 146 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);

Definition at line 111 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2, V2);

Definition at line 136 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2D, V2);

Definition at line 113 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2D_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector2D, V2);

Definition at line 138 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);

Definition at line 117 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3, V3);

Definition at line 142 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3D, V3);

Definition at line 119 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3D_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector3D, V3);

Definition at line 144 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4, V4);

Definition at line 123 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector4, V4);

Definition at line 148 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4D, V4);

Definition at line 125 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4D_sh (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS_sh(DataName, FuncName, UT_Vector4D, V4);

Definition at line 150 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 202 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 196 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_F (   DataName,
  FuncName,
  Default 
)
Value:
fpreal64 get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOptionF(DataName) \
: Default; \
}
double fpreal64
Definition: SYS_Types.h:201

Definition at line 208 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_I (   DataName,
  FuncName,
  Default 
)
Value:
int64 get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOptionI(DataName) \
: Default; \
}
long long int64
Definition: SYS_Types.h:116

Definition at line 190 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
bool get##FuncName(UT_Ramp &ramp, const SIM_Options &options) const \
{ if (options.hasOption(DataName)) \
{ UT_String rs; \
options.getOptionS(DataName, rs); \
UT_IStream is((const char *) rs, rs.length(), UT_ISTREAM_ASCII); \
return ramp.load(is); } \
return false; \
}
unsigned length() const
Return length of string.
Definition: UT_String.h:546
bool load(UT_IStream &is)
Load string from stream. Use is.eof() to check eof status.
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92

Definition at line 229 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); \
}
GLsizei const GLfloat * value
Definition: glcorearb.h:824
Definition: core.h:1131

Definition at line 221 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V2 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector2, V2)

Definition at line 214 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V3 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector3, V3)

Definition at line 216 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V4 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector4, V4)

Definition at line 218 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)
#define SET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_B(DataName, FuncName)

Definition at line 309 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_B_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_B_sh(DataName, FuncName) \
SET_DATA_FUNC_B(DataName, FuncName)
#define SET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_B_sh(DataName, FuncName)

Definition at line 352 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)
#define GET_DATA_FUNC_E(DataName, FuncName, EnumType)
#define SET_DATA_FUNC_E(DataName, FuncName, EnumType)

Definition at line 306 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_E_sh (   DataName,
  FuncName,
  EnumType 
)
Value:
GET_DATA_FUNC_E_sh(DataName, FuncName, EnumType) \
SET_DATA_FUNC_E(DataName, FuncName, EnumType)
#define GET_DATA_FUNC_E_sh(DataName, FuncName, EnumType)
#define SET_DATA_FUNC_E(DataName, FuncName, EnumType)

Definition at line 349 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)
#define GET_DATA_FUNC_F(DataName, FuncName)
#define SET_DATA_FUNC_F(DataName, FuncName)

Definition at line 312 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_F_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_F_sh(DataName, FuncName) \
SET_DATA_FUNC_F(DataName, FuncName)
#define GET_DATA_FUNC_F_sh(DataName, FuncName)
#define SET_DATA_FUNC_F(DataName, FuncName)

Definition at line 355 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)
#define GET_DATA_FUNC_I(DataName, FuncName)
#define SET_DATA_FUNC_I(DataName, FuncName)

Definition at line 303 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_I_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_I_sh(DataName, FuncName) \
SET_DATA_FUNC_I(DataName, FuncName)
#define GET_DATA_FUNC_I_sh(DataName, FuncName)
#define SET_DATA_FUNC_I(DataName, FuncName)

Definition at line 346 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)
#define SET_DATA_FUNC_M3(DataName, FuncName)
#define GET_DATA_FUNC_M3(DataName, FuncName)

Definition at line 333 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_M3_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_M3_sh(DataName, FuncName) \
SET_DATA_FUNC_M3(DataName, FuncName)
#define GET_DATA_FUNC_M3_sh(DataName, FuncName)
#define SET_DATA_FUNC_M3(DataName, FuncName)

Definition at line 376 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)
#define GET_DATA_FUNC_M4(DataName, FuncName)
#define SET_DATA_FUNC_M4(DataName, FuncName)

Definition at line 336 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_M4_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_M4_sh(DataName, FuncName) \
SET_DATA_FUNC_M4(DataName, FuncName)
#define SET_DATA_FUNC_M4(DataName, FuncName)
#define GET_DATA_FUNC_M4_sh(DataName, FuncName)

Definition at line 379 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)
#define SET_DATA_FUNC_Q(DataName, FuncName)
#define GET_DATA_FUNC_Q(DataName, FuncName)

Definition at line 330 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_Q_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_Q_sh(DataName, FuncName) \
SET_DATA_FUNC_Q(DataName, FuncName)
#define SET_DATA_FUNC_Q(DataName, FuncName)
#define GET_DATA_FUNC_Q_sh(DataName, FuncName)

Definition at line 373 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_RAMP (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_RAMP(DataName, FuncName) \
SET_DATA_FUNC_RAMP(DataName, FuncName)
#define GET_DATA_FUNC_RAMP(DataName, FuncName)
#define SET_DATA_FUNC_RAMP(DataName, FuncName)

Definition at line 342 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_RAMP_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_RAMP_sh(DataName, FuncName) \
SET_DATA_FUNC_RAMP(DataName, FuncName)
#define SET_DATA_FUNC_RAMP(DataName, FuncName)
#define GET_DATA_FUNC_RAMP_sh(DataName, FuncName)

Definition at line 385 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)
#define SET_DATA_FUNC_S(DataName, FuncName)
#define GET_DATA_FUNC_S(DataName, FuncName)

Definition at line 339 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_S_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_S_sh(DataName, FuncName) \
SET_DATA_FUNC_S(DataName, FuncName)
#define SET_DATA_FUNC_S(DataName, FuncName)
#define GET_DATA_FUNC_S_sh(DataName, FuncName)

Definition at line 382 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)
#define SET_DATA_FUNC_UV(DataName, FuncName)
#define GET_DATA_FUNC_UV(DataName, FuncName)

Definition at line 318 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_UV_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_UV_sh(DataName, FuncName) \
SET_DATA_FUNC_UV(DataName, FuncName)
#define SET_DATA_FUNC_UV(DataName, FuncName)
#define GET_DATA_FUNC_UV_sh(DataName, FuncName)

Definition at line 361 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)
#define GET_DATA_FUNC_UVW(DataName, FuncName)
#define SET_DATA_FUNC_UVW(DataName, FuncName)

Definition at line 324 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_UVW_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_UVW_sh(DataName, FuncName) \
SET_DATA_FUNC_UVW(DataName, FuncName)
#define GET_DATA_FUNC_UVW_sh(DataName, FuncName)
#define SET_DATA_FUNC_UVW(DataName, FuncName)

Definition at line 367 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)
#define SET_DATA_FUNC_V2(DataName, FuncName)
#define GET_DATA_FUNC_V2(DataName, FuncName)

Definition at line 315 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V2_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V2_sh(DataName, FuncName) \
SET_DATA_FUNC_V2(DataName, FuncName)
#define SET_DATA_FUNC_V2(DataName, FuncName)
#define GET_DATA_FUNC_V2_sh(DataName, FuncName)

Definition at line 358 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)
#define GET_DATA_FUNC_V3(DataName, FuncName)
#define SET_DATA_FUNC_V3(DataName, FuncName)

Definition at line 321 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V3_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V3_sh(DataName, FuncName) \
SET_DATA_FUNC_V3(DataName, FuncName)
#define GET_DATA_FUNC_V3_sh(DataName, FuncName)
#define SET_DATA_FUNC_V3(DataName, FuncName)

Definition at line 364 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)
#define GET_DATA_FUNC_V4(DataName, FuncName)
#define SET_DATA_FUNC_V4(DataName, FuncName)

Definition at line 327 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V4_sh (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V4_sh(DataName, FuncName) \
SET_DATA_FUNC_V4(DataName, FuncName)
#define GET_DATA_FUNC_V4_sh(DataName, FuncName)
#define SET_DATA_FUNC_V4(DataName, FuncName)

Definition at line 370 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_B (   DataName,
  FuncName 
)
Value:
void set##FuncName(const bool value) \
{ getOptions().setOptionB(DataName, value); }
Definition: core.h:1131

Definition at line 246 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: core.h:1131

Definition at line 242 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_F (   DataName,
  FuncName 
)
Value:
void set##FuncName(const fpreal64 value) \
{ getOptions().setOptionF(DataName, value); }
double fpreal64
Definition: SYS_Types.h:201
Definition: core.h:1131

Definition at line 249 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_I (   DataName,
  FuncName 
)
Value:
void set##FuncName(const int64 value) \
{ getOptions().setOptionI(DataName, value); }
long long int64
Definition: SYS_Types.h:116
Definition: core.h:1131

Definition at line 239 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_M3 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Matrix3F &value) \
{ getOptions().setOptionM3(DataName, value); } \
void set##FuncName(const UT_Matrix3D &value) \
{ getOptions().setOptionM3(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 282 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_M4 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Matrix4F &value) \
{ getOptions().setOptionM4(DataName, value); } \
void set##FuncName(const UT_Matrix4D &value) \
{ getOptions().setOptionM4(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 287 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_Q (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_QuaternionF &value) \
{ getOptions().setOptionQ(DataName, value); } \
void set##FuncName(const UT_QuaternionD &value) \
{ getOptions().setOptionQ(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 277 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Ramp &ramp) const \
ramp.save(os); \
getOptions().setOptionS(DataName, os.str().buffer()); \
}
SYS_FORCE_INLINE const char * buffer() const
An output stream object that owns its own string buffer storage.
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92

Definition at line 296 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_S (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_StringHolder &value) \
{ getOptions().setOptionS(DataName, value); }
Definition: core.h:1131

Definition at line 292 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_UV (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector2F &value) \
{ getOptions().setOptionUV(DataName, value); } \
void set##FuncName(const UT_Vector2D &value) \
{ getOptions().setOptionUV(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 257 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_UVW (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector3F &value) \
{ getOptions().setOptionUVW(DataName, value); } \
void set##FuncName(const UT_Vector3D &value) \
{ getOptions().setOptionUVW(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 267 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V2 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector2F &value) \
{ getOptions().setOptionV2(DataName, value); } \
void set##FuncName(const UT_Vector2D &value) \
{ getOptions().setOptionV2(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 252 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V3 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector3F &value) \
{ getOptions().setOptionV3(DataName, value); } \
void set##FuncName(const UT_Vector3D &value) \
{ getOptions().setOptionV3(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 262 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V4 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector4F &value) \
{ getOptions().setOptionV4(DataName, value); } \
void set##FuncName(const UT_Vector4D &value) \
{ getOptions().setOptionV4(DataName, value); }
void
Definition: png.h:1083
Definition: core.h:1131

Definition at line 272 of file SIM_OptionsUser.h.