VTK
|
maintain a list of object factories More...
#include <vtkObjectFactoryCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | AddItem (vtkObjectFactory *t) |
vtkObjectFactory * | GetNextItem () |
vtkObjectFactory * | GetNextObjectFactory (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkObjectFactoryCollection * | SafeDownCast (vtkObject *o) |
static vtkObjectFactoryCollection * | New () |
Protected Member Functions | |
vtkObjectFactoryCollection () | |
~vtkObjectFactoryCollection () |
maintain a list of object factories
vtkObjectFactoryCollection is an object that creates and manipulates lists of object of type vtkObjectFactory.
Definition at line 32 of file vtkObjectFactoryCollection.h.
Reimplemented from vtkCollection.
Definition at line 35 of file vtkObjectFactoryCollection.h.
vtkObjectFactoryCollection::vtkObjectFactoryCollection | ( | ) | [inline, protected] |
Definition at line 64 of file vtkObjectFactoryCollection.h.
vtkObjectFactoryCollection::~vtkObjectFactoryCollection | ( | ) | [inline, protected] |
Definition at line 65 of file vtkObjectFactoryCollection.h.
virtual const char* vtkObjectFactoryCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCollection.
static int vtkObjectFactoryCollection::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 vtkObjectFactoryCollection::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 vtkObjectFactoryCollection* vtkObjectFactoryCollection::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCollection.
static vtkObjectFactoryCollection* vtkObjectFactoryCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
void vtkObjectFactoryCollection::AddItem | ( | vtkObjectFactory * | t | ) | [inline] |
Add an ObjectFactory from the list.
Definition at line 40 of file vtkObjectFactoryCollection.h.
vtkObjectFactory* vtkObjectFactoryCollection::GetNextItem | ( | ) | [inline] |
Get the next ObjectFactory in the list. Return NULL when the end of the list is reached.
Definition at line 49 of file vtkObjectFactoryCollection.h.
vtkObjectFactory* vtkObjectFactoryCollection::GetNextObjectFactory | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 57 of file vtkObjectFactoryCollection.h.