Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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 
9 class VTK_MRML_EXPORT vtkUserTagTable : public vtkTable
10 {
11 public:
13  static vtkUserTagTable *New();
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:
69  virtual ~vtkUserTagTable();
71  void operator=(const vtkUserTagTable&);
72 
73 };
74 
75 #endif