1 #ifndef __vtkTagTable_h 2 #define __vtkTagTable_h 20 void PrintSelf(ostream& os, vtkIndent indent)
override;
24 vtkGetStringMacro ( Name );
25 vtkSetStringMacro ( Name );
27 vtkGetMacro ( RestoreSelectionState,
int);
28 vtkSetMacro ( RestoreSelectionState,
int);
37 virtual void AddOrUpdateTag (
const char *attribute,
const char *value );
40 virtual void AddOrUpdateTag (
const char *attribute,
const char *value,
int selected );
43 virtual void AddUniqueTag (
const char *attribute,
const char *value );
46 virtual int UpdateTag (
const char *attribute,
const char *value );
47 virtual int UpdateTag (
const char *attribute,
const char *value,
int selected );
51 virtual const char *GetTagAttribute (
int index);
55 virtual const char *GetTagValue (
int index );
59 virtual const char *GetTagValue (
const char* attribute);
64 virtual int CheckTableForTag (
const char *attribute,
const char *value );
68 virtual int CheckTableForTag (
const char *attribute );
70 virtual void SelectTag (
const char *attribute );
71 virtual void DeselectTag (
const char *attribute );
72 virtual int IsTagSelected (
const char *attribute );
77 virtual void DeleteTag (
const char *attribute );
81 virtual void ClearTagTable ( );
85 virtual int GetNumberOfTags ( );
97 int RestoreSelectionState;
virtual void Initialize()
std::map< std::string, int > TagSelectionTable
describes whether each attribute is selected or not.
std::map< std::string, std::string > TagTable
describes attribute value pairs