Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkObjectSet Class Reference

#include <vtkObjectSet.h>

Inheritance diagram for vtkObjectSet:

Inheritance graph
[legend]
Collaboration diagram for vtkObjectSet:

Collaboration graph
[legend]
List of all members.

Detailed Description

A set object for objects.

Calls Register when objects are inserted into the set and UnRegister when the object is erased.

Author:
Sean McInerney
Version:
Revision
1.6
Date:
Date
2004/06/03 18:58:29
See also:
vtkObjectBaseSet vtkObject

Definition at line 36 of file vtkObjectSet.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkObjectSet, vtkObjectBaseSet)
virtual int Swap (vtkObjectSet *object)
 Swaps elements of this object with those of the specified container.

virtual int Find (vtkObject *object) const
 Returns whether the specified object is in this set.

virtual int Insert (vtkObject *object)
 Insert an object into this set.

virtual int Erase (vtkObject *object)
 Erases an object from this set.

vtkObjectSetIteratorCreateIterator (void)
 Create an iterator.

Data Access Methods
virtual vtkObjectFront (void) const
 Gets the first object in the set.

virtual vtkObjectBack (void) const
 Gets the last object in the set.


Static Public Member Functions

vtkObjectSetNew (void)

Protected Member Functions

 vtkObjectSet (void)
 ~vtkObjectSet ()


Constructor & Destructor Documentation

vtkObjectSet::vtkObjectSet void   )  [inline, protected]
 

Definition at line 96 of file vtkObjectSet.h.

vtkObjectSet::~vtkObjectSet  )  [inline, protected]
 

Definition at line 97 of file vtkObjectSet.h.


Member Function Documentation

virtual vtkObject* vtkObjectSet::Back void   )  const [inline, virtual]
 

Gets the last object in the set.

Returns:
false if the set is empty, otherwise true.
Note:
Covariant return type.

Reimplemented from vtkObjectBaseSet.

Reimplemented in vtkExtensionsObjectSet.

Definition at line 88 of file vtkObjectSet.h.

vtkObjectSetIterator* vtkObjectSet::CreateIterator void   )  [virtual]
 

Create an iterator.

Reimplemented from vtkObjectBaseSet.

Reimplemented in vtkExtensionsObjectSet.

virtual int vtkObjectSet::Erase vtkObject object  )  [inline, virtual]
 

Erases an object from this set.

Returns:
true on success, false otherwise.

Definition at line 68 of file vtkObjectSet.h.

virtual int vtkObjectSet::Find vtkObject object  )  const [inline, virtual]
 

Returns whether the specified object is in this set.

Returns:
true if found, false otherwise.

Definition at line 54 of file vtkObjectSet.h.

virtual vtkObject* vtkObjectSet::Front void   )  const [inline, virtual]
 

Gets the first object in the set.

Returns:
false if the set is empty, otherwise true.
Note:
Covariant return type.

Reimplemented from vtkObjectBaseSet.

Reimplemented in vtkExtensionsObjectSet.

Definition at line 79 of file vtkObjectSet.h.

virtual int vtkObjectSet::Insert vtkObject object  )  [inline, virtual]
 

Insert an object into this set.

Returns:
true on success, false otherwise.

Definition at line 61 of file vtkObjectSet.h.

vtkObjectSet* vtkObjectSet::New void   )  [static]
 

Reimplemented from vtkObjectBaseSet.

Reimplemented in vtkExtensionsObjectSet.

virtual int vtkObjectSet::Swap vtkObjectSet object  )  [inline, virtual]
 

Swaps elements of this object with those of the specified container.

Returns:
true on success, otherwise false.

Definition at line 47 of file vtkObjectSet.h.

References Swap().

vtkObjectSet::vtkTypeRevisionMacro vtkObjectSet  ,
vtkObjectBaseSet 
 


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:43:22 2004 for vtkExtensions by doxygen 1.3.7