#include <vtkObjectBaseSet.h>
Inheritance diagram for vtkObjectBaseSet:
Calls Register
when objects are inserted into the set and UnRegister
when the object is erased.
Definition at line 38 of file vtkObjectBaseSet.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkObjectBaseSet, vtkContainer) | |
vtkIdType | GetSize (void) const |
Returns the number of elements in the set. | |
int | IsEmpty (void) const |
Returns true if the set is empty. | |
vtkIdType | GetMaxSize (void) const |
Returns the maximum size of the set. | |
void | Clear (void) |
Erases ALL elements (makes the set empty). | |
virtual int | Swap (vtkObjectBaseSet *container) |
Swaps elements of this object with those of the specified container. | |
vtkIdType | GetCapacity (void) const |
Returns the maximum number of elements allowed in the set. | |
virtual int | Find (vtkObjectBase *object) const |
Returns whether the specified object is in this set. | |
virtual int | Insert (vtkObjectBase *object) |
Insert an object into this set. | |
virtual int | Erase (vtkObjectBase *object) |
Erases an object from this set. | |
vtkObjectBaseSetIterator * | CreateIterator (void) |
Create an iterator. | |
Data Access Methods | |
vtkObjectBase * | Front (void) const |
Gets the first object in the set. | |
vtkObjectBase * | Back (void) const |
Gets the last object in the set. | |
Static Public Member Functions | |
vtkObjectBaseSet * | New (void) |
Protected Member Functions | |
vtkObjectBaseSet (void) | |
~vtkObjectBaseSet () |
|
|
|
|
|
Gets the last
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectSet, and vtkObjectSet. |
|
Erases ALL elements (makes the set empty).
Implements vtkContainer. |
|
Create an iterator.
Implements vtkContainer. Reimplemented in vtkExtensionsObjectSet, and vtkObjectSet. |
|
Erases an
|
|
Returns whether the specified
|
|
Gets the first
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectSet, and vtkObjectSet. |
|
Returns the maximum number of elements allowed in the set.
|
|
Returns the maximum size of the set.
Reimplemented from vtkContainer. |
|
Returns the number of elements in the set.
Reimplemented from vtkContainer. |
|
Insert an
|
|
Returns
Reimplemented from vtkContainer. |
|
Reimplemented from vtkExtensionsObject. Reimplemented in vtkExtensionsObjectSet, and vtkObjectSet. |
|
Swaps elements of this object with those of the specified container.
|
|
|