34#ifndef vtkVariantArray_h
35#define vtkVariantArray_h
37#include "vtkCommonCoreModule.h"
41class vtkVariantArrayLookup;
44namespace boost {
namespace serialization {
class access; } }
50 friend class boost::serialization::access;
70 void Initialize() VTK_OVERRIDE;
76 int GetDataType() VTK_OVERRIDE;
83 int GetDataTypeSize() VTK_OVERRIDE;
92 int GetElementComponentSize() VTK_OVERRIDE;
98 void SetNumberOfTuples(
vtkIdType number) VTK_OVERRIDE;
179 void Squeeze() VTK_OVERRIDE;
198 int deleteM) VTK_OVERRIDE;
209 unsigned long GetActualMemorySize() VTK_OVERRIDE;
214 int IsNumeric() VTK_OVERRIDE;
280 vtkIdType GetNumberOfValues() {
return this->MaxId + 1; }
312 void ClearLookup() VTK_OVERRIDE;
337 vtkVariantArrayLookup* Lookup;
Abstract superclass for all arrays.
Abstract superclass to iterate over elements in an vtkAbstractArray.
list of point or cell ids
a simple class to control print indentation
An array holding vtkVariants.
static vtkVariantArray * New()
vtkIdType LookupValue(vtkVariant value) override
Return the indices where a specific value appears.
void LookupValue(vtkVariant value, vtkIdList *ids) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void DataChanged() override
Tell the array explicitly that the data has changed.
int Allocate(vtkIdType sz, vtkIdType ext=1000) override
Allocate memory for this array.
A atomic type representing the union of many types.
Forward declaration required for Boost serialization.
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))