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

Go to the source code of this file.

Classes

class  UT_Array< T >
 
class  GA_MergeOptions
 Provide options when performing a merge operation. More...
 

Macros

#define IMPL_ENUM(TYPE, DEF)
 

Macro Definition Documentation

#define IMPL_ENUM (   TYPE,
  DEF 
)
Value:
TYPE get##TYPE() const { \
if (my##TYPE[GA_ATTRIB_OWNER_N] >= 0) \
return my##TYPE[GA_ATTRIB_OWNER_N]; \
return DEF; \
} \
TYPE get##TYPE(GA_AttributeOwner owner) const { \
if (my##TYPE[owner] >= 0) return my##TYPE[owner]; \
return get##TYPE(); \
} \
void set##TYPE(TYPE v) { my##TYPE[GA_ATTRIB_OWNER_N] = v; } \
void set##TYPE(TYPE v, GA_AttributeOwner owner) { \
my##TYPE[owner] = v; \
}
GA_AttributeOwner
Definition: GA_Types.h:33

Definition at line 169 of file GA_MergeOptions.h.