Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
vtkTagTable Class Reference

#include <Libs/MRML/Core/vtkTagTable.h>

Inheritance diagram for vtkTagTable:
Inheritance graph
[legend]
Collaboration diagram for vtkTagTable:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual void AddOrUpdateTag (const char *attribute, const char *value)
 
Add a tag column to the TagTable More...
 
virtual void AddOrUpdateTag (const char *attribute, const char *value, int selected)
 
Add a tag column to the TagTable More...
 
virtual void AddUniqueTag (const char *attribute, const char *value)
 
Add a tag column to the TagTable More...
 
virtual int CheckTableForTag (const char *attribute, const char *value)
 
virtual int CheckTableForTag (const char *attribute)
 
Returns index of table for which tag exists, or returns -1 More...
 
virtual void ClearTagTable ()
 
Clears all tags out of table. More...
 
virtual void Copy (vtkTagTable *t)
 
virtual void DeleteTag (const char *attribute)
 
Deletes a column with the name matching "attribute" in the TagTable More...
 
virtual void DeselectTag (const char *attribute)
 
virtual const char * GetClassName ()
 
virtual char * GetName ()
 
Get the vtkTable that contains user-defined attribute/value pairs. More...
 
virtual int GetNumberOfTags ()
 
Convenience method that returns the number of tags in TagTable. More...
 
virtual int GetRestoreSelectionState ()
 
virtual const char * GetTagAttribute (int index)
 
Get the attribute at a particular index in the TagTable. More...
 
virtual const char * GetTagValue (int index)
 
Get the value of a tag in the TagTable More...
 
virtual const char * GetTagValue (const char *attribute)
 
Get the value of a tag in the TagTable More...
 
virtual void Initialize ()
 
virtual int IsA (const char *type)
 
virtual int IsTagSelected (const char *attribute)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SelectTag (const char *attribute)
 
virtual void SetName (const char *)
 
virtual void SetRestoreSelectionState (int)
 
virtual int UpdateTag (const char *attribute, const char *value)
 
Replace a tag column in the TagTable More...
 
virtual int UpdateTag (const char *attribute, const char *value, int selected)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkTagTableNew ()
 The Usual vtk class functions. More...
 
static vtkTagTableSafeDownCast (vtkObject *o)
 

Public Attributes

std::map< std::string, int > TagSelectionTable
 describes whether each attribute is selected or not. More...
 
std::map< std::string, std::string > TagTable
 describes attribute value pairs More...
 

Protected Member Functions

void operator= (const vtkTagTable &)
 
 vtkTagTable ()
 
 vtkTagTable (const vtkTagTable &)
 
 ~vtkTagTable () override
 

Detailed Description

Definition at line 14 of file vtkTagTable.h.

Member Typedef Documentation

◆ Superclass

typedef vtkObject vtkTagTable::Superclass

Definition at line 19 of file vtkTagTable.h.

Constructor & Destructor Documentation

◆ vtkTagTable() [1/2]

vtkTagTable::vtkTagTable ( )
protected

◆ ~vtkTagTable()

vtkTagTable::~vtkTagTable ( )
overrideprotected

◆ vtkTagTable() [2/2]

vtkTagTable::vtkTagTable ( const vtkTagTable )
protected

Member Function Documentation

◆ AddOrUpdateTag() [1/2]

virtual void vtkTagTable::AddOrUpdateTag ( const char *  attribute,
const char *  value 
)
virtual


Add a tag column to the TagTable

◆ AddOrUpdateTag() [2/2]

virtual void vtkTagTable::AddOrUpdateTag ( const char *  attribute,
const char *  value,
int  selected 
)
virtual


Add a tag column to the TagTable

◆ AddUniqueTag()

virtual void vtkTagTable::AddUniqueTag ( const char *  attribute,
const char *  value 
)
virtual


Add a tag column to the TagTable

◆ CheckTableForTag() [1/2]

virtual int vtkTagTable::CheckTableForTag ( const char *  attribute,
const char *  value 
)
virtual

Checks TagTable to see if a attribute already exists. Returns index of attribute if found, or -1 if it's not found.

◆ CheckTableForTag() [2/2]

virtual int vtkTagTable::CheckTableForTag ( const char *  attribute)
virtual


Returns index of table for which tag exists, or returns -1

◆ ClearTagTable()

virtual void vtkTagTable::ClearTagTable ( )
virtual


Clears all tags out of table.

◆ Copy()

virtual void vtkTagTable::Copy ( vtkTagTable t)
virtual

◆ DeleteTag()

virtual void vtkTagTable::DeleteTag ( const char *  attribute)
virtual


Deletes a column with the name matching "attribute" in the TagTable

◆ DeselectTag()

virtual void vtkTagTable::DeselectTag ( const char *  attribute)
virtual

◆ GetClassName()

virtual const char* vtkTagTable::GetClassName ( )
virtual

◆ GetName()

virtual char* vtkTagTable::GetName ( )
virtual


Get the vtkTable that contains user-defined attribute/value pairs.

◆ GetNumberOfTags()

virtual int vtkTagTable::GetNumberOfTags ( )
virtual


Convenience method that returns the number of tags in TagTable.

◆ GetRestoreSelectionState()

virtual int vtkTagTable::GetRestoreSelectionState ( )
virtual

◆ GetTagAttribute()

virtual const char* vtkTagTable::GetTagAttribute ( int  index)
virtual


Get the attribute at a particular index in the TagTable.

◆ GetTagValue() [1/2]

virtual const char* vtkTagTable::GetTagValue ( int  index)
virtual


Get the value of a tag in the TagTable

◆ GetTagValue() [2/2]

virtual const char* vtkTagTable::GetTagValue ( const char *  attribute)
virtual


Get the value of a tag in the TagTable

◆ Initialize()

virtual void vtkTagTable::Initialize ( )
inlinevirtual

Method that sets up default and required tags for a service. Each derived class should fill out this method.

Definition at line 33 of file vtkTagTable.h.

◆ IsA()

virtual int vtkTagTable::IsA ( const char *  type)
virtual

◆ IsTagSelected()

virtual int vtkTagTable::IsTagSelected ( const char *  attribute)
virtual

◆ IsTypeOf()

static int vtkTagTable::IsTypeOf ( const char *  type)
static

◆ New()

static vtkTagTable* vtkTagTable::New ( )
static

The Usual vtk class functions.

◆ operator=()

void vtkTagTable::operator= ( const vtkTagTable )
protected

◆ PrintSelf()

void vtkTagTable::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ SafeDownCast()

static vtkTagTable* vtkTagTable::SafeDownCast ( vtkObject *  o)
static

◆ SelectTag()

virtual void vtkTagTable::SelectTag ( const char *  attribute)
virtual

◆ SetName()

virtual void vtkTagTable::SetName ( const char *  )
virtual

◆ SetRestoreSelectionState()

virtual void vtkTagTable::SetRestoreSelectionState ( int  )
virtual

◆ UpdateTag() [1/2]

virtual int vtkTagTable::UpdateTag ( const char *  attribute,
const char *  value 
)
virtual


Replace a tag column in the TagTable

◆ UpdateTag() [2/2]

virtual int vtkTagTable::UpdateTag ( const char *  attribute,
const char *  value,
int  selected 
)
virtual

Member Data Documentation

◆ TagSelectionTable

std::map<std::string, int > vtkTagTable::TagSelectionTable

describes whether each attribute is selected or not.

Definition at line 93 of file vtkTagTable.h.

◆ TagTable

std::map<std::string, std::string> vtkTagTable::TagTable

describes attribute value pairs

Definition at line 91 of file vtkTagTable.h.


The documentation for this class was generated from the following file: