HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T > Struct Template Reference

#include <SIM_ObjectReader.h>

Public Member Functions

 BatchRWHandleA (GA_Attribute *attrib=nullptr)
 
 ~BatchRWHandleA ()
 
void flush ()
 
bool isValid () const
 
void bumpDataId ()
 
void bind (GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1)
 

Public Attributes

GA_RWHandleT< ARRAY_T > myAttrib
 
ARRAY_T myVals
 
GA_Offset myCacheOffset
 
int myTupleSize
 

Detailed Description

template<typename ARRAY_T>
struct SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >

Batches all writes to array elements for the current offset, until a flush() or its destructor.

Definition at line 185 of file SIM_ObjectReader.h.

Constructor & Destructor Documentation

template<typename ARRAY_T >
SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::BatchRWHandleA ( GA_Attribute attrib = nullptr)

Definition at line 310 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::~BatchRWHandleA ( )
inline

Definition at line 188 of file SIM_ObjectReader.h.

Member Function Documentation

template<typename ARRAY_T >
void SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::bind ( GA_Detail gdp,
GA_AttributeOwner  owner,
const UT_StringRef name,
int  minsize = 1 
)

Definition at line 331 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
void SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::bumpDataId ( )
inline

Definition at line 193 of file SIM_ObjectReader.h.

template<typename ARRAY_T >
void SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::flush ( )

Definition at line 320 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
bool SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::isValid ( ) const
inline

Definition at line 191 of file SIM_ObjectReader.h.

Member Data Documentation

template<typename ARRAY_T>
GA_RWHandleT<ARRAY_T> SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::myAttrib

Definition at line 198 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
GA_Offset SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::myCacheOffset
mutable

Definition at line 200 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
int SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::myTupleSize

Definition at line 201 of file SIM_ObjectReader.h.

template<typename ARRAY_T>
ARRAY_T SIM_AgentShapeReader::BatchRWHandleA< ARRAY_T >::myVals
mutable

Definition at line 199 of file SIM_ObjectReader.h.


The documentation for this struct was generated from the following file: