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 168 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 295 of file SIM_ObjectReader.h.

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

Definition at line 171 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 316 of file SIM_ObjectReader.h.

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

Definition at line 176 of file SIM_ObjectReader.h.

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

Definition at line 305 of file SIM_ObjectReader.h.

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

Definition at line 174 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 181 of file SIM_ObjectReader.h.

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

Definition at line 183 of file SIM_ObjectReader.h.

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

Definition at line 184 of file SIM_ObjectReader.h.

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

Definition at line 182 of file SIM_ObjectReader.h.


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