#include <FiletoActorContainerImpl.h>
Inheritance diagram for FiletoActorContainerImpl:
Public Types | |
typedef std::list< FiletoActorRow * > | ListRow |
Definition of a row. | |
typedef ListRow::iterator | ListRowIterator |
Definition of a row iterator. | |
typedef std::list< FiletoActorRow const * > | ConstListRow |
Definition of a row. | |
typedef ConstListRow::iterator | ConstListRowIterator |
Definition of a row iterator. | |
Public Member Functions | |
vtkTypeMacro (FiletoActorContainerImpl, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Print the state of this object. | |
void | add (std::string name, FiletoActor *dataflow) |
Add an element to the list. | |
FiletoActor * | remove (std::string name) |
Remove an element from the list. | |
FiletoActor * | remove (ListRowIterator index) |
Remove an element in the list. | |
FiletoActor * | examine (std::string name) |
Give the element associated with a name. | |
FiletoActor * | examine (ListRowIterator index) const |
Give the element at an index. | |
std::string | name (ListRowIterator index) const |
Give the name of a row. | |
ListRowIterator | nameToIndex (std::string name) |
Given a dataflow name return its index in the list/. | |
ListRowIterator | end () |
Give the end index of the list. | |
ListRowIterator | begin () |
Give the start of the list. | |
int | getRowCount () const |
Give the number of elements currently in the list. | |
int | getColumnCount () const |
Give the number of columns in the list. | |
Static Public Member Functions | |
static FiletoActorContainerImpl * | New () |
Instantiate a new object of this type. | |
Protected Member Functions | |
FiletoActorContainerImpl () | |
Ctor. | |
virtual | ~FiletoActorContainerImpl () |
Dtor. |
Definition at line 20 of file FiletoActorContainerImpl.h.
typedef std::list<FiletoActorRow *> FiletoActorContainerImpl::ListRow |
typedef ListRow::iterator FiletoActorContainerImpl::ListRowIterator |
typedef std::list<FiletoActorRow const *> FiletoActorContainerImpl::ConstListRow |
typedef ConstListRow::iterator FiletoActorContainerImpl::ConstListRowIterator |
FiletoActorContainerImpl::FiletoActorContainerImpl | ( | ) | [protected] |
Ctor.
virtual FiletoActorContainerImpl::~FiletoActorContainerImpl | ( | ) | [protected, virtual] |
Dtor.
static FiletoActorContainerImpl* FiletoActorContainerImpl::New | ( | ) | [static] |
Instantiate a new object of this type.
This is the only method that objects of this type may be created.
Reimplemented from vtkObject.
FiletoActorContainerImpl::vtkTypeMacro | ( | FiletoActorContainerImpl | , | |
vtkObject | ||||
) |
void FiletoActorContainerImpl::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Print the state of this object.
os | The output stream. | |
indent | The indentation level. Used for formating output. |
Reimplemented from vtkObject.
void FiletoActorContainerImpl::add | ( | std::string | name, | |
FiletoActor * | dataflow | |||
) |
Add an element to the list.
name | The indentifying name (or key) of the element. | |
dataflow | The object that is the element. |
FiletoActor* FiletoActorContainerImpl::remove | ( | std::string | name | ) |
Remove an element from the list.
name | The name or key of the element to remove. |
FiletoActor* FiletoActorContainerImpl::remove | ( | ListRowIterator | index | ) |
Remove an element in the list.
index | The index (determined by other means) of the element to remove. If this parameter is out of bounds then no action is taken and, therefore, null is returned. |
FiletoActor* FiletoActorContainerImpl::examine | ( | std::string | name | ) |
Give the element associated with a name.
name | The name or key of the element to examine. |
FiletoActor* FiletoActorContainerImpl::examine | ( | ListRowIterator | index | ) | const |
Give the element at an index.
index | The index (determined by other means) of the element to examine. If this parameter is out of bounds then no action is taken and, therefore, null is returned. |
std::string FiletoActorContainerImpl::name | ( | ListRowIterator | index | ) | const |
Give the name of a row.
index | The index of the row for which the name is required. |
ListRowIterator FiletoActorContainerImpl::nameToIndex | ( | std::string | name | ) |
Given a dataflow name return its index in the list/.
name | The name or key of the desired element. |
ListRowIterator FiletoActorContainerImpl::end | ( | ) |
Give the end index of the list.
ListRowIterator FiletoActorContainerImpl::begin | ( | ) |
Give the start of the list.
int FiletoActorContainerImpl::getRowCount | ( | ) | const |
Give the number of elements currently in the list.
int FiletoActorContainerImpl::getColumnCount | ( | ) | const |
Give the number of columns in the list.
This is always one for the model. This function implements TableModel.