VTK
|
maintain a list of object factories More...
#include <vtkObjectFactoryCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkObjectFactoryCollection * | NewInstance () const |
void | AddItem (vtkObjectFactory *t) |
vtkObjectFactory * | GetNextItem () |
vtkObjectFactory * | GetNextObjectFactory (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkObjectFactoryCollection * | SafeDownCast (vtkObjectBase *o) |
static vtkObjectFactoryCollection * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
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 33 of file vtkObjectFactoryCollection.h.
Reimplemented from vtkCollection.
Definition at line 36 of file vtkObjectFactoryCollection.h.
vtkObjectFactoryCollection::vtkObjectFactoryCollection | ( | ) | [inline, protected] |
Definition at line 65 of file vtkObjectFactoryCollection.h.
vtkObjectFactoryCollection::~vtkObjectFactoryCollection | ( | ) | [inline, protected] |
Definition at line 66 of file vtkObjectFactoryCollection.h.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkObjectFactoryCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
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 41 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 50 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 58 of file vtkObjectFactoryCollection.h.