33 #ifndef vtkVariantArray_h
34 #define vtkVariantArray_h
40 class vtkVariantArrayLookup;
44 namespace boost {
namespace serialization {
class access; } }
51 friend class boost::serialization::access;
226 void SetNumberOfValues(
vtkIdType number);
248 virtual void DataElementChanged(
vtkIdType id);
277 vtkVariantArrayLookup* Lookup;
void PrintSelf(ostream &os, vtkIndent indent)
virtual int IsNumeric()=0
Forward declaration required for Boost serialization.
virtual void DataChanged()=0
virtual void DeepCopy(vtkAbstractArray *da)
An array holding vtkVariants.
Abstract superclass for all arrays.
virtual vtkIdType LookupValue(vtkVariant value)=0
virtual int GetDataTypeSize()=0
#define VTKCOMMONCORE_EXPORT
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
virtual void SetNumberOfTuples(vtkIdType number)=0
virtual int GetDataType()=0
virtual void InsertVariantValue(vtkIdType idx, vtkVariant value)=0
virtual void SetVoidArray(void *vtkNotUsed(array), vtkIdType vtkNotUsed(size), int vtkNotUsed(save))=0
virtual void Initialize()=0
A atomic type representing the union of many types.
virtual int Allocate(vtkIdType sz, vtkIdType ext=1000)=0
vtkIdType GetNumberOfValues()
virtual void ClearLookup()=0
a simple class to control print indentation
list of point or cell ids
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
virtual int Resize(vtkIdType numTuples)=0
virtual vtkArrayIterator * NewIterator()=0
Abstract superclass to iterate over elements in an vtkAbstractArray.
virtual void * GetVoidPointer(vtkIdType id)=0
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
virtual void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)=0
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)=0
virtual unsigned long GetActualMemorySize()=0
virtual void SetVariantValue(vtkIdType idx, vtkVariant value)=0
virtual int GetElementComponentSize()=0
virtual void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)=0