#include <vtkObjectBaseSet.h>
Inheritance diagram for vtkObjectBaseSet:
A set
is a Sorted Simple Associative Container that stores objects. It is also a Unique Associative Container, meaning that no two items are the same. Set items are always sorted in ascending order.
Definition at line 43 of file vtkObjectBaseSet.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkObjectBaseSet, vtkContainer) | |
void | PrintSelf (ostream &, vtkIndent) |
virtual vtkIdType | GetSize (void) const |
Returns the number of items in the container. | |
virtual int | IsEmpty (void) const |
Returns true if this container is empty. | |
virtual vtkIdType | GetMaxSize (void) const |
Returns the maximum size of this container. | |
virtual int | Clear (void) |
Erase ALL items in the container. | |
virtual int | Swap (vtkObjectBaseSet *container) |
Swaps items of this container with those of the specified container. | |
virtual int | Copy (vtkObjectBaseSet *container) |
Copy all items from the specified container into this container. | |
vtkIdType | GetCapacity (void) const |
Returns the maximum number of items allowed in this set. | |
virtual int | Find (vtkObjectBase *item) const |
Returns whether the specified item is in this set. | |
virtual int | Insert (vtkIdType position, vtkObjectBase *item) |
Insert an item into this set (optional position hint). | |
virtual int | Erase (vtkIdType position) |
Remove the item at the given position. | |
virtual int | Erase (vtkIdType pos1, vtkIdType pos2) |
Removes the items in the given range of positions. | |
virtual int | Erase (vtkObjectBase *item) |
Removes the item from this set. | |
vtkObjectBaseSetIterator * | CreateIterator (void) |
Create an iterator. | |
Merging Methods | |
virtual int | CreateUnion (vtkObjectBaseSet *source, vtkObjectBaseSet *destination) |
Merge this set with the source set so that the destination set contains all items that are either in this set, the source set, or in both sets. | |
virtual int | CreateIntersection (vtkObjectBaseSet *source, vtkObjectBaseSet *destination) |
Merge this set with the source set so that the destination set contains all items that are in both sets. | |
virtual int | CreateDifference (vtkObjectBaseSet *source, vtkObjectBaseSet *destination) |
Merge this set with the source set so that the destination set contains all items that are in this set, but not in the source set. | |
virtual int | CreateSymmetricDifference (vtkObjectBaseSet *source, vtkObjectBaseSet *destination) |
Merge this set with the source set so that the destination set contains all items that are either in this set or in the source set, but not in both. | |
Data Access Methods | |
vtkObjectBase * | Front (void) const |
Returns the first item in the container, or null if the container is empty. | |
vtkObjectBase * | Back (void) const |
Returns the last item in the container, or null if the container is empty. | |
Static Public Member Functions | |
vtkObjectBaseSet * | New (void) |
Protected Member Functions | |
vtkObjectBaseSet (void) | |
~vtkObjectBaseSet () | |
void | ReportReferences (vtkGarbageCollector *) |
Friends | |
class | vtkObjectBaseSetIterator |
|
|
|
|
|
Returns the last item in the container, or
Reimplemented from vtkContainer. Reimplemented in vtkObjectSet. |
|
Erase ALL items in the container.
Implements vtkContainer. |
|
Copy all items from the specified container into this container.
|
|
Merge this set with the source set so that the destination set contains all items that are in this set, but not in the source set. Neither this set nor the source set are modified.
|
|
Merge this set with the source set so that the destination set contains all items that are in both sets. Neither this set nor the source set are modified.
|
|
Create an iterator.
Implements vtkContainer. Reimplemented in vtkObjectSet. |
|
Merge this set with the source set so that the destination set contains all items that are either in this set or in the source set, but not in both. Neither this set nor the source set are modified.
|
|
Merge this set with the source set so that the destination set contains all items that are either in this set, the source set, or in both sets. Neither this set nor the source set are modified.
|
|
Removes the item from this set.
|
|
Removes the items in the given range of positions.
|
|
Remove the item at the given position.
|
|
Returns whether the specified item is in this set.
|
|
Returns the first item in the container, or
Reimplemented from vtkContainer. Reimplemented in vtkObjectSet. |
|
Returns the maximum number of items allowed in this set.
|
|
Returns the maximum size of this container.
Reimplemented from vtkContainer. |
|
Returns the number of items in the container.
Reimplemented from vtkContainer. |
|
Insert an item into this set (optional position hint).
|
|
Returns
Reimplemented from vtkContainer. |
|
Reimplemented from vtkObject. Reimplemented in vtkObjectSet. |
|
Reimplemented from vtkContainer. Reimplemented in vtkObjectSet. |
|
|
|
Swaps items of this container with those of the specified container.
|
|
|
|
Definition at line 203 of file vtkObjectBaseSet.h. |