Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkUserTagTable.h
Go to the documentation of this file.
1#ifndef __vtkUserTagTable_h
2#define __vtkUserTagTable_h
3
4#include "vtkObject.h"
5#include "vtkTable.h"
6#include "vtkMRML.h"
7
8class VTK_MRML_EXPORT vtkUserTagTable : public vtkTable
9{
10public:
13 vtkTypeMacro(vtkUserTagTable, vtkTable);
14 void PrintSelf(ostream& os, vtkIndent indent) override;
15
18 vtkGetObjectMacro(TagTable, vtkTable);
19
23 virtual int AddKeywordValuePair(const char* keyword, void* value);
24
28 virtual int AddKeywordValuePair(const char* keyword, const char* value);
29
32 virtual const char* GetUserTagKeyword(int index);
33
36 virtual const char* GetUserTagValue(int index);
37
40 virtual const char* GetUserTagValue(const char* keyword);
41
45 virtual int CheckTableForKeyword(const char* keyword);
46
49 virtual int DeleteKeywordValuePair(int index);
50
53 virtual int DeleteKeywordValuePair(const char* keyword);
54
57 virtual int GetKeywordColumn(const char* keyword);
58
61 virtual int GetNumberOfColumns();
62
63private:
64 vtkTable* TagTable;
65
66protected:
71};
72
73#endif
virtual const char * GetUserTagValue(const char *keyword)
Get the value for a keyword in the TagTable.
virtual int GetNumberOfColumns()
Convenience method that returns the number of columns in TagTable.
virtual int CheckTableForKeyword(const char *keyword)
void operator=(const vtkUserTagTable &)
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int DeleteKeywordValuePair(const char *keyword)
Deletes a column with the name matching "keyword" in the TagTable.
virtual const char * GetUserTagKeyword(int index)
Get the keyword at a particular column in the TagTable.
static vtkUserTagTable * New()
The Usual vtk class functions.
vtkUserTagTable(const vtkUserTagTable &)
virtual int GetKeywordColumn(const char *keyword)
Returns the index of the TagTable column whose name matches "keyword".
virtual int AddKeywordValuePair(const char *keyword, void *value)
virtual int AddKeywordValuePair(const char *keyword, const char *value)
virtual const char * GetUserTagValue(int index)
Get the value at a particular column in the TagTable.
virtual ~vtkUserTagTable()
virtual int DeleteKeywordValuePair(int index)
Deletes a column corresponding to "index" in the TagTable.