Slicer 5.4
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
8
9class VTK_MRML_EXPORT vtkUserTagTable : public vtkTable
10{
11public:
14 vtkTypeMacro(vtkUserTagTable, vtkTable);
15 void PrintSelf(ostream& os, vtkIndent indent) override;
16
19 vtkGetObjectMacro ( TagTable, vtkTable );
20
24 virtual int AddKeywordValuePair ( const char *keyword, void *value);
25
29 virtual int AddKeywordValuePair ( const char *keyword, const char *value);
30
33 virtual const char *GetUserTagKeyword ( int index);
34
37 virtual const char *GetUserTagValue ( int index);
38
41 virtual const char *GetUserTagValue ( const char* keyword);
42
46 virtual int CheckTableForKeyword ( const char *keyword);
47
50 virtual int DeleteKeywordValuePair ( int index );
51
54 virtual int DeleteKeywordValuePair ( const char *keyword );
55
58 virtual int GetKeywordColumn ( const char* keyword );
59
62 virtual int GetNumberOfColumns ( );
63
64 private:
65 vtkTable *TagTable;
66
67 protected:
72
73};
74
75#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.