VTK
|
maintain an unordered list of data objects More...
#include <vtkDataObjectCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | AddItem (vtkDataObject *ds) |
vtkDataObject * | GetNextItem () |
vtkDataObject * | GetItem (int i) |
vtkDataObject * | GetNextDataObject (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkDataObjectCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataObjectCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkDataObjectCollection () | |
~vtkDataObjectCollection () |
maintain an unordered list of data objects
vtkDataObjectCollection is an object that creates and manipulates lists of data objects. See also vtkCollection and subclasses.
Definition at line 35 of file vtkDataObjectCollection.h.
Reimplemented from vtkCollection.
Definition at line 39 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 77 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::~vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 78 of file vtkDataObjectCollection.h.
static vtkDataObjectCollection* vtkDataObjectCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
virtual const char* vtkDataObjectCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCollection.
static int vtkDataObjectCollection::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
virtual int vtkDataObjectCollection::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
static vtkDataObjectCollection* vtkDataObjectCollection::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCollection.
void vtkDataObjectCollection::AddItem | ( | vtkDataObject * | ds | ) | [inline] |
Add a data object to the list.
Definition at line 43 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetNextItem | ( | ) | [inline] |
Get the next data object in the list.
Definition at line 51 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetItem | ( | int | i | ) | [inline] |
Get the ith data object in the list.
Definition at line 59 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetNextDataObject | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 69 of file vtkDataObjectCollection.h.