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

Go to the source code of this file.

Classes

class  GA_SaveOptions
 

Macros

#define BOOL_ACCESSOR(NAME, GET, IMPORT, SET, DEFAULT)
 
#define INT_ACCESSOR(NAME, GET, IMPORT, SET, DEFAULT)
 
#define REAL_ACCESSOR(NAME, GET, IMPORT, SET, DEFAULT)
 
#define STR_ACCESSOR(NAME, GET, IMPORT, SET)
 

Macro Definition Documentation

#define BOOL_ACCESSOR (   NAME,
  GET,
  IMPORT,
  SET,
  DEFAULT 
)
Value:
static const char *GET##Name() { return NAME; } \
bool IMPORT(bool &v) const { return importOption(NAME, v); } \
bool GET() const { \
bool v; \
if (!importOption(NAME, v)) v = DEFAULT; \
return v; \
} \
void SET(bool v) { setOptionB(UTmakeUnsafeRef(NAME), v); }
const GLdouble * v
Definition: glcorearb.h:836
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.

Definition at line 45 of file GA_SaveOptions.h.

#define INT_ACCESSOR (   NAME,
  GET,
  IMPORT,
  SET,
  DEFAULT 
)
Value:
static const char *GET##Name() { return NAME; } \
bool IMPORT(int32 &v) const { return importOption(NAME, v); } \
bool IMPORT(int64 &v) const { return importOption(NAME, v); } \
int64 GET() const { \
if (!importOption(NAME, v)) v = DEFAULT; \
return v; \
} \
void SET(int64 v) { setOptionI(UTmakeUnsafeRef(NAME), v); }
const GLdouble * v
Definition: glcorearb.h:836
long long int64
Definition: SYS_Types.h:106
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
int int32
Definition: SYS_Types.h:34

Definition at line 54 of file GA_SaveOptions.h.

#define REAL_ACCESSOR (   NAME,
  GET,
  IMPORT,
  SET,
  DEFAULT 
)
Value:
static const char *GET##Name() { return NAME; } \
bool IMPORT(fpreal32 &v) const { return importOption(NAME, v); } \
bool IMPORT(fpreal64 &v) const { return importOption(NAME, v); } \
fpreal64 GET() const { \
if (!importOption(NAME, v)) v = DEFAULT; \
return v; \
} \
void SET(fpreal64 v) { setOptionI(UTmakeUnsafeRef(NAME), v); }
const GLdouble * v
Definition: glcorearb.h:836
double fpreal64
Definition: SYS_Types.h:191
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
float fpreal32
Definition: SYS_Types.h:190

Definition at line 64 of file GA_SaveOptions.h.

#define STR_ACCESSOR (   NAME,
  GET,
  IMPORT,
  SET 
)
Value:
static const char *GET##Name() { return NAME; } \
bool IMPORT(UT_StringHolder &v) const { return importOption(NAME, v); } \
UT_StringHolder GET() const { return getOptionS(NAME); } \
void SET(const UT_StringHolder &v) { setOptionS(UTmakeUnsafeRef(NAME), v); }
const GLdouble * v
Definition: glcorearb.h:836
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.

Definition at line 74 of file GA_SaveOptions.h.