34 #ifndef vtkVariantArray_h 35 #define vtkVariantArray_h 37 #include "vtkCommonCoreModule.h" 41 class vtkVariantArrayLookup;
44 namespace boost {
namespace serialization {
class access; } }
50 friend class boost::serialization::access;
63 void PrintSelf(ostream& os,
vtkIndent indent)
override;
78 void Initialize()
override;
84 int GetDataType()
override;
91 int GetDataTypeSize()
override;
100 int GetElementComponentSize()
override;
106 void SetNumberOfTuples(
vtkIdType number)
override;
151 void *GetVoidPointer(
vtkIdType id)
override;
187 void Squeeze()
override;
206 int deleteM)
override;
217 unsigned long GetActualMemorySize()
override;
222 int IsNumeric()
override;
244 VTK_EXPECTS(0 <=
id && id < this->GetNumberOfValues());
286 void SetArrayFreeFunction(
void (*callback)(
void *))
override;
293 void SetNumberOfValues(
vtkIdType number)
override;
316 void DataChanged()
override;
323 virtual void DataElementChanged(
vtkIdType id);
330 void ClearLookup()
override;
349 void (*DeleteFunction)(
void*);
355 vtkVariantArrayLookup* Lookup;
Forward declaration required for Boost serialization.
An array holding vtkVariants.
Abstract superclass for all arrays.
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))
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)