Go to the documentation of this file.
35 #ifndef vtkStringArray_h
36 #define vtkStringArray_h
42 class vtkStringArrayLookup;
75 void Squeeze() { this->ResizeAndExtend (this->MaxId+1); }
166 { this->SetNumberOfValues(this->NumberOfComponents* number); }
302 vtkStringArrayLookup* Lookup;
vtkStdString & GetValue(vtkIdType id)
virtual void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)
virtual vtkArrayIterator * NewIterator()
virtual void DataElementChanged(vtkIdType id)
void LookupValue(vtkStdString value, vtkIdList *ids)
void SetArray(vtkStdString *array, vtkIdType size, int save)
int Allocate(vtkIdType sz, vtkIdType ext=1000)
#define VTKCOMMONCORE_EXPORT
void LookupValue(const char *value, vtkIdList *ids)
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)
virtual void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)
virtual void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output)
virtual void SetNumberOfTuples(vtkIdType number)
void SetValue(vtkIdType id, const char *value)
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
void * GetVoidPointer(vtkIdType id)
#define vtkTypeMacro(thisClass, superclass)
vtkIdType InsertNextValue(vtkStdString f)
virtual void InterpolateTuple(vtkIdType i, vtkIdType id1, vtkAbstractArray *source1, vtkIdType id2, vtkAbstractArray *source2, double t)
void DeepCopy(vtkAbstractArray *aa)
virtual void InsertTuples(vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source)
vtkStdString * ResizeAndExtend(vtkIdType sz)
virtual void LookupValue(vtkVariant value, vtkIdList *ids)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
GLsizei const GLfloat * value
vtkIdType GetNumberOfValues()
unsigned long GetActualMemorySize()
vtkStdString * WritePointer(vtkIdType id, vtkIdType number)
a simple class to control print indentation
void SetValue(vtkIdType id, vtkStdString value)
void InsertValue(vtkIdType id, vtkStdString f)
A atomic type representing the union of many types.
list of point or cell ids
virtual vtkIdType LookupValue(vtkVariant value)
StdString::value_type value_type
virtual vtkIdType GetDataSize()
Abstract superclass for all arrays.
vtkIdType InsertNextValue(const char *f)
vtkIdType LookupValue(vtkStdString value)
virtual void ClearLookup()
Abstract superclass to iterate over elements in an vtkAbstractArray.
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)
virtual void SetVoidArray(void *array, vtkIdType size, int save)
void SetNumberOfValues(vtkIdType number)
void InsertValue(vtkIdType id, const char *val)
a vtkAbstractArray subclass for strings
int GetElementComponentSize()
int GetNumberOfElementComponents()
Wrapper around std::string to keep symbols short.
virtual void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output)
int Resize(vtkIdType numTuples)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void DataChanged()=0
vtkStdString * GetPointer(vtkIdType id)
void SetVariantValue(vtkIdType idx, vtkVariant value)
vtkIdType LookupValue(const char *value)
static vtkStringArray * New()
virtual void DataChanged()