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;
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;
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.
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
void DataChanged() override
Tell the array explicitly that the data has changed.
Forward declaration required for Boost serialization.
An array holding vtkVariants.
vtkIdType LookupValue(vtkVariant value) override
Return the indices where a specific value appears.
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
void LookupValue(vtkVariant value, vtkIdList *ids) override
static vtkVariantArray * New()
Abstract superclass for all arrays.
Abstract superclass to iterate over elements in an vtkAbstractArray.
int Allocate(vtkIdType sz, vtkIdType ext=1000) override
Allocate memory for this array.