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;
55 void PrintSelf(ostream& os,
vtkIndent indent)
override;
70 void Initialize()
override;
76 int GetDataType()
override;
83 int GetDataTypeSize()
override;
92 int GetElementComponentSize()
override;
98 void SetNumberOfTuples(
vtkIdType number)
override;
143 void *GetVoidPointer(
vtkIdType id)
override;
179 void Squeeze()
override;
185 int Resize(
vtkIdType numTuples)
override;
198 int deleteM)
override;
209 unsigned long GetActualMemorySize()
override;
214 int IsNumeric()
override;
236 VTK_EXPECTS(0 <=
id && id < this->GetNumberOfValues());
277 void SetNumberOfValues(
vtkIdType number)
override;
300 void DataChanged()
override;
307 virtual void DataElementChanged(
vtkIdType id);
314 void ClearLookup()
override;
339 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 *)