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 29 of file vtkDataObjectCollection.h.
Reimplemented from vtkCollection.
Definition at line 33 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 71 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::~vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 72 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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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 37 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetNextItem | ( | ) | [inline] |
Get the next data object in the list.
Definition at line 45 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetItem | ( | int | i | ) | [inline] |
Get the ith data object in the list.
Definition at line 53 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 63 of file vtkDataObjectCollection.h.