All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_VtArray.h File Reference
#include <GT/GT_DataArray.h>
#include <GT/GT_DANumeric.h>
#include <UT/UT_XXHash.h>
#include <SYS/SYS_Compiler.h>
#include <SYS/SYS_Math.h>
#include "pxr/pxr.h"
#include "pxr/base/vt/array.h"
#include "gusd/UT_TypeTraits.h"
#include "gusd/GT_Utils.h"
+ Include dependency graph for GT_VtArray.h:

Go to the source code of this file.


class  GusdGT_VtArray< T >


#define _DECL_GETTERS(suffix, podt)

Macro Definition Documentation

#define _DECL_GETTERS (   suffix,
public: \
virtual podt SYS_CONCAT(get,suffix)(GT_Offset o, \
int idx=0) const override \
{ return getT<podt>(o, idx); } \
virtual const podt* SYS_CONCAT(get,SYS_CONCAT(suffix,Array)) \
(GT_DataArrayHandle& buf) const override \
{ return getArrayT<podt>(buf); } \
protected: \
virtual void doImport(GT_Offset o, podt* dst, \
GT_Size tsize) const override \
{ importT(o, dst, tsize); } \
virtual void doFillArray(podt* dst, GT_Offset start, \
GT_Size length, int tsize, \
int stride) const override \
{ fillArrayT(dst, start, length, \
tsize, stride); } \
virtual void extendedFill(podt* dst, GT_Offset start, \
GT_Size length, int tsize, \
int nrepeats, \
int stride=-1) const override \
{ extendedFillT(dst, start, length, \
tsize, nrepeats, stride); } \
/* end of macro */
Definition: ImfArray.h:77
#define SYS_CONCAT(a, b)
Definition: SYS_Compiler.h:38
GLuint GLsizei GLsizei * length
Definition: glew.h:1825
GLenum GLenum dst
Definition: glew.h:2410
int64 GT_Offset
Definition: GT_Types.h:114
GLuint start
Definition: glew.h:1253
GLsizei stride
Definition: glew.h:1523
int64 GT_Size
Definition: GT_Types.h:113
#define const
Definition: zconf.h:214
GLenum GLuint GLsizei const GLchar * buf
Definition: glew.h:2580

Definition at line 173 of file GT_VtArray.h.