#include <vtkSequenceContainer.h>
Inheritance diagram for vtkSequenceContainer:
A Sequence is a variable-sized Container whose items are arranged in a strict linear order. It supports insertion and removal of items.
Definition at line 41 of file vtkSequenceContainer.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkSequenceContainer, vtkContainer) | |
void | PrintSelf (ostream &, vtkIndent) |
virtual int | Swap (vtkSequenceContainer *container)=0 |
Swaps items of this container with those of the specified container. | |
virtual int | Copy (vtkSequenceContainer *container)=0 |
Copy all items from the specified container into this container. | |
virtual vtkObjectBase * | At (vtkIdType position) const |
Provides access by index to the objects contained in this sequence. | |
virtual int | Insert (vtkIdType position, vtkObjectBase *item)=0 |
Inserts an item into this sequence at the specified position. | |
virtual int | Insert (vtkIdType position, vtkSequenceContainer *sequence)=0 |
Inserts copies of all items in the source sequence into this sequence at the specified position. | |
virtual int | Insert (vtkIdType position, vtkSequenceContainer *sequence, vtkIdType seqBeg, vtkIdType seqEnd)=0 |
Inserts copies of the range [srcBeg .. | |
virtual int | Assign (vtkIdType position, vtkObjectBase *item)=0 |
Assigns item to the specified position replacing the existant item. | |
virtual int | PushFront (vtkObjectBase *item)=0 |
Add an item to the front of this sequence. | |
virtual int | PopFront (void)=0 |
Removes the first item of this sequence. | |
virtual int | PushBack (vtkObjectBase *item)=0 |
Add an item to the end of this sequence. | |
virtual int | PopBack (void)=0 |
Removes the last item of the sequence. | |
virtual int | Erase (vtkIdType position)=0 |
Remove the item at the given position. | |
virtual int | Erase (vtkIdType pos1, vtkIdType pos2)=0 |
Remove the items in the given range [pos1 .. | |
virtual int | Erase (vtkObjectBase *item)=0 |
Remove the first occurence of the given item from the sequence. | |
virtual int | Clear (vtkObjectBase *item)=0 |
Remove all occurrences of the given item from the sequence. | |
virtual vtkIdType | Find (vtkObjectBase *item) const |
Find the first occurence of an item in the sequence. | |
virtual int | Reverse (void)=0 |
Reverse the sequence ordering. | |
virtual int | Reverse (vtkIdType pos1, vtkIdType pos2)=0 |
Reverse the sequence ordering in the given range [pos1 .. | |
virtual int | Sort (void)=0 |
Sort the sequence items by address with operator < . | |
virtual int | Unique (void)=0 |
Removes subsequent duplicates of sequence items so that each item contains a different value than the following item. | |
virtual int | Rotate (vtkIdType index)=0 |
Rotates the items in this sequence so that index is the new first element after the call. | |
virtual int | Shuffle (void)=0 |
Shuffles the order of the items in this sequence using a uniform distribution random number generator. | |
virtual vtkSequenceIterator * | CreateIterator (void)=0 |
Create an iterator. | |
Protected Member Functions | |
vtkSequenceContainer (void) | |
~vtkSequenceContainer () |
|
|
|
|
|
Assigns item to the specified position replacing the existant item.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Provides access by index to the objects contained in this sequence.
Reimplemented in vtkObjectBaseDeque, vtkObjectBaseList, vtkObjectBaseVector, vtkObjectDeque, vtkObjectList, and vtkObjectVector. Definition at line 66 of file vtkSequenceContainer.h. |
|
Remove all occurrences of the given item from the sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Copy all items from the specified container into this container.
|
|
Create an iterator.
Implements vtkContainer. Implemented in vtkObjectBaseDeque, vtkObjectBaseList, vtkObjectBaseVector, vtkObjectDeque, vtkObjectList, and vtkObjectVector. |
|
Remove the first occurence of the given item from the sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Remove the items in the given range [pos1 .. pos2] of positions.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Remove the item at the given position.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Find the first occurence of an item in the sequence.
Reimplemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. Definition at line 185 of file vtkSequenceContainer.h. |
|
Inserts copies of the range [srcBeg .. srcEnd] in the source sequence into this sequence at the specified position.
|
|
Inserts copies of all items in the source sequence into this sequence at the specified position.
|
|
Inserts an item into this sequence at the specified position.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Removes the last item of the sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Removes the first item of this sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Reimplemented from vtkContainer. Reimplemented in vtkObjectBaseDeque, vtkObjectBaseList, vtkObjectBaseVector, vtkObjectDeque, vtkObjectList, and vtkObjectVector. |
|
Add an item to the end of this sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Add an item to the front of this sequence.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Reverse the sequence ordering in the given range [pos1 .. pos2] of positions.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Reverse the sequence ordering.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Rotates the items in this sequence so that index is the new first element after the call.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Shuffles the order of the items in this sequence using a uniform distribution random number generator.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Sort the sequence items by address with operator
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
Swaps items of this container with those of the specified container.
|
|
Removes subsequent duplicates of sequence items so that each item contains a different value than the following item.
Implemented in vtkObjectBaseDeque, vtkObjectBaseList, and vtkObjectBaseVector. |
|
|