VTK  9.1.0
Classes | Macros | Functions
vtkAOSDataArrayTemplate.h File Reference
#include "vtkBuffer.h"
#include "vtkBuild.h"
#include "vtkCommonCoreModule.h"
#include "vtkCompiler.h"
#include "vtkGenericDataArray.h"
Include dependency graph for vtkAOSDataArrayTemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkAOSDataArrayTemplate< ValueTypeT >
 Array-Of-Structs implementation of vtkGenericDataArray. More...
 

Macros

#define vtkCreateWrappedArrayInterface(T)
 
#define VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN
 

Functions

 vtkArrayDownCast_TemplateFastCastMacro (vtkAOSDataArrayTemplate)
 
 vtkExternTemplateMacro (extern template class VTKCOMMONCORE_EXPORT vtkAOSDataArrayTemplate)
 

Macro Definition Documentation

◆ vtkCreateWrappedArrayInterface

#define vtkCreateWrappedArrayInterface (   T)
Value:
int GetDataType() const override; \
void GetTypedTuple(vtkIdType i, T* tuple) VTK_EXPECTS(0 <= i && i < GetNumberOfTuples()); \
void SetTypedTuple(vtkIdType i, const T* tuple) VTK_EXPECTS(0 <= i && i < GetNumberOfTuples()); \
void InsertTypedTuple(vtkIdType i, const T* tuple) VTK_EXPECTS(0 <= i); \
vtkIdType InsertNextTypedTuple(const T* tuple); \
T GetValue(vtkIdType id) const VTK_EXPECTS(0 <= id && id < GetNumberOfValues()); \
void SetValue(vtkIdType id, T value) VTK_EXPECTS(0 <= id && id < GetNumberOfValues()); \
bool SetNumberOfValues(vtkIdType number) override; \
void InsertValue(vtkIdType id, T f) VTK_EXPECTS(0 <= id); \
vtkIdType InsertNextValue(T f); \
T* GetValueRange(int comp) VTK_SIZEHINT(2); \
T* GetValueRange() VTK_SIZEHINT(2); \
T* WritePointer(vtkIdType id, vtkIdType number); \
T* GetPointer(vtkIdType id); \
void SetArray(VTK_ZEROCOPY T* array, vtkIdType size, int save); \
void SetArray(VTK_ZEROCOPY T* array, vtkIdType size, int save, int deleteMethod)
int vtkIdType
Definition: vtkType.h:332
void save(Archiver &ar, const std::string &str, const unsigned int vtkNotUsed(version))
#define VTK_SIZEHINT(...)
#define VTK_EXPECTS(x)
#define VTK_ZEROCOPY

Definition at line 299 of file vtkAOSDataArrayTemplate.h.

◆ VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN

#define VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN

Definition at line 333 of file vtkAOSDataArrayTemplate.h.

Function Documentation

◆ vtkArrayDownCast_TemplateFastCastMacro()

vtkArrayDownCast_TemplateFastCastMacro ( vtkAOSDataArrayTemplate  )

◆ vtkExternTemplateMacro()

vtkExternTemplateMacro ( extern template class VTKCOMMONCORE_EXPORT  vtkAOSDataArrayTemplate)