Go to the documentation of this file.
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;
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;
143 void *GetVoidPointer(
vtkIdType id) VTK_OVERRIDE;
179 void Squeeze() VTK_OVERRIDE;
185 int Resize(
vtkIdType numTuples) VTK_OVERRIDE;
198 int deleteM) VTK_OVERRIDE;
209 unsigned long GetActualMemorySize() VTK_OVERRIDE;
214 int IsNumeric() VTK_OVERRIDE;
275 void SetNumberOfValues(
vtkIdType number) VTK_OVERRIDE;
280 vtkIdType GetNumberOfValues() {
return this->MaxId + 1; }
305 virtual
void DataElementChanged(
vtkIdType id);
312 void ClearLookup() VTK_OVERRIDE;
337 vtkVariantArrayLookup* Lookup;
virtual vtkIdType LookupValue(vtkVariant value)=0
Return the value indices where a specific value appears.
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
Forward declaration required for Boost serialization.
An array holding vtkVariants.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
a simple class to control print indentation
A atomic type representing the union of many types.
list of point or cell ids
Abstract superclass for all arrays.
Abstract superclass to iterate over elements in an vtkAbstractArray.
virtual int Allocate(vtkIdType numValues, vtkIdType ext=1000)=0
Allocate memory for this array.
virtual void DataChanged()=0
Tell the array explicitly that the data has changed.