HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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:837
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697

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); }
int int32
Definition: SYS_Types.h:39
const GLdouble * v
Definition: glcorearb.h:837
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
long long int64
Definition: SYS_Types.h:116
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697

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:837
float fpreal32
Definition: SYS_Types.h:200
double fpreal64
Definition: SYS_Types.h:201
SYS_FORCE_INLINE const UT_StringHolder & UTmakeUnsafeRef(const UT_StringRef &ref)
Convert a UT_StringRef into a UT_StringHolder that is a shallow reference.
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697

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); }
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
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.