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

vtkExtensionsObjectStack Class Reference

#include <vtkExtensionsObjectStack.h>

Inheritance diagram for vtkExtensionsObjectStack:

Inheritance graph
[legend]
Collaboration diagram for vtkExtensionsObjectStack:

Collaboration graph
[legend]
List of all members.

Detailed Description

A stack object for objects.

Calls Register when objects are pushed onto the stack and UnRegister when the object is popped.

Author:
Sean McInerney
Version:
Revision
1.2
Date:
Date
2004/06/03 18:58:28
See also:
vtkObjectStack vtkExtensionsObject

Definition at line 37 of file vtkExtensionsObjectStack.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkExtensionsObjectStack, vtkObjectStack)
virtual vtkExtensionsObjectTop (void) const
 Get a pointer to the object at the first element of the stack.

virtual int Push (vtkExtensionsObject *object)
 Add an object pointer to the top of the stack.

vtkExtensionsObjectStackIteratorCreateIterator (void)
 Create an iterator.


Static Public Member Functions

vtkExtensionsObjectStackNew (void)

Protected Member Functions

 vtkExtensionsObjectStack (void)
 ~vtkExtensionsObjectStack ()


Constructor & Destructor Documentation

vtkExtensionsObjectStack::vtkExtensionsObjectStack void   )  [inline, protected]
 

Definition at line 69 of file vtkExtensionsObjectStack.h.

vtkExtensionsObjectStack::~vtkExtensionsObjectStack  )  [inline, protected]
 

Definition at line 70 of file vtkExtensionsObjectStack.h.


Member Function Documentation

vtkExtensionsObjectStackIterator* vtkExtensionsObjectStack::CreateIterator void   )  [virtual]
 

Create an iterator.

Reimplemented from vtkObjectStack.

vtkExtensionsObjectStack* vtkExtensionsObjectStack::New void   )  [static]
 

Reimplemented from vtkObjectStack.

Reimplemented in vtkPaletteElementStack, and vtkPaletteStack.

virtual int vtkExtensionsObjectStack::Push vtkExtensionsObject object  )  [inline, virtual]
 

Add an object pointer to the top of the stack.

Parameters:
object The object pointer to be added.
This is a typical stack operation. The function creates an element at the top of the stack and assigns the given object pointer to it.

Returns:
true on success, false otherwise.

Definition at line 62 of file vtkExtensionsObjectStack.h.

virtual vtkExtensionsObject* vtkExtensionsObjectStack::Top void   )  const [inline, virtual]
 

Get a pointer to the object at the first element of the stack.

Returns:
A pointer to the first object on success, NULL otherwise.
Note:
Covariant return type.

Reimplemented from vtkObjectStack.

Reimplemented in vtkPaletteElementStack, and vtkPaletteStack.

Definition at line 50 of file vtkExtensionsObjectStack.h.

vtkExtensionsObjectStack::vtkTypeRevisionMacro vtkExtensionsObjectStack  ,
vtkObjectStack 
 

Reimplemented from vtkExtensionsObject.


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