VTK
|
maintain an unordered list of data objects More...
#include <vtkDataObjectCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDataObjectCollection * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
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 33 of file vtkDataObjectCollection.h.
Reimplemented from vtkCollection.
Definition at line 37 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 75 of file vtkDataObjectCollection.h.
vtkDataObjectCollection::~vtkDataObjectCollection | ( | ) | [inline, protected] |
Definition at line 76 of file vtkDataObjectCollection.h.
static vtkDataObjectCollection* vtkDataObjectCollection::New | ( | ) | [static] |
Construct with empty list.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkDataObjectCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
Reimplemented from vtkCollection.
void vtkDataObjectCollection::AddItem | ( | vtkDataObject * | ds | ) | [inline] |
Add a data object to the list.
Definition at line 41 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetNextItem | ( | ) | [inline] |
Get the next data object in the list.
Definition at line 49 of file vtkDataObjectCollection.h.
vtkDataObject* vtkDataObjectCollection::GetItem | ( | int | i | ) | [inline] |
Get the ith data object in the list.
Definition at line 57 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 67 of file vtkDataObjectCollection.h.