31 #ifndef vtkVariantArray_h 32 #define vtkVariantArray_h 35 #include "vtkCommonCoreModule.h" 38 class vtkVariantArrayLookup;
43 namespace serialization
53 friend class boost::serialization::access;
66 void PrintSelf(ostream& os,
vtkIndent indent)
override;
81 void Initialize()
override;
87 int GetDataType()
const override;
94 int GetDataTypeSize()
const override;
103 int GetElementComponentSize()
const override;
109 void SetNumberOfTuples(
vtkIdType number)
override;
151 void* GetVoidPointer(
vtkIdType id)
override;
167 void InterpolateTuple(
186 void Squeeze()
override;
215 unsigned long GetActualMemorySize()
const override;
220 int IsNumeric()
const override;
242 VTK_EXPECTS(0 <=
id && id < this->GetNumberOfValues());
284 void SetArrayFreeFunction(
void (*callback)(
void*))
override;
307 void DataChanged()
override;
314 virtual void DataElementChanged(
vtkIdType id);
321 void ClearLookup()
override;
340 void (*DeleteFunction)(
void*);
346 vtkVariantArrayLookup* Lookup;
Forward declaration required for Boost serialization.
An array holding vtkVariants.
Abstract superclass for all arrays.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph *>::edge_descriptor e, vtkGraph *)
A atomic type representing the union of many types.
vtkIdType GetNumberOfValues()
Return the number of values in the array.
a simple class to control print indentation
list of point or cell ids
Abstract superclass to iterate over elements in an vtkAbstractArray.
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))