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

vtkObjectStack Class Reference

#include <vtkObjectStack.h>

Inheritance diagram for vtkObjectStack:

Inheritance graph
[legend]
Collaboration diagram for vtkObjectStack:

Collaboration graph
[legend]
List of all members.

Detailed Description

A stack container for objects.

Author:
Sean McInerney
Version:
Revision
1.3
Date:
Date
2005/06/24 23:17:16
See also:
vtkObjectBaseStack vtkObject

Definition at line 30 of file vtkObjectStack.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkObjectStack, vtkObjectBaseStack)
void PrintSelf (ostream &, vtkIndent)
virtual int Swap (vtkObjectStack *container)
 Swaps items of this container with those of the specified container.

virtual int Copy (vtkObjectStack *container)
 Copy all items from the specified container into this container.

virtual int Push (vtkObject *item)
 Add an item to the top of this stack.

vtkObjectTop (void) const
 Returns the first item in this stack on success, NULL otherwise.

vtkObjectAt (vtkIdType position) const
 Provides access by index to the objects contained in this stack.


Static Public Member Functions

vtkObjectStackNew (void)

Protected Member Functions

 vtkObjectStack (void)
 ~vtkObjectStack ()


Constructor & Destructor Documentation

vtkObjectStack::vtkObjectStack void   )  [protected]
 

vtkObjectStack::~vtkObjectStack  )  [protected]
 


Member Function Documentation

vtkObject* vtkObjectStack::At vtkIdType  position  )  const [inline, virtual]
 

Provides access by index to the objects contained in this stack.

Parameters:
position The item index for which object should be accessed.
Returns:
the item if position is a valid index, otherwise null.

Reimplemented from vtkObjectBaseStack.

Definition at line 71 of file vtkObjectStack.h.

virtual int vtkObjectStack::Copy vtkObjectStack container  )  [inline, virtual]
 

Copy all items from the specified container into this container.

Returns:
true on success, otherwise false.

Definition at line 49 of file vtkObjectStack.h.

vtkObjectStack* vtkObjectStack::New void   )  [static]
 

Reimplemented from vtkObjectBaseStack.

void vtkObjectStack::PrintSelf ostream &  ,
vtkIndent 
[virtual]
 

Reimplemented from vtkObjectBaseStack.

virtual int vtkObjectStack::Push vtkObject item  )  [inline, virtual]
 

Add an item to the top of this stack.

Parameters:
item The object to be added.
Returns:
true on success, false otherwise.

Definition at line 58 of file vtkObjectStack.h.

virtual int vtkObjectStack::Swap vtkObjectStack container  )  [inline, virtual]
 

Swaps items of this container with those of the specified container.

Returns:
true on success, otherwise false.

Definition at line 42 of file vtkObjectStack.h.

vtkObject* vtkObjectStack::Top void   )  const [inline, virtual]
 

Returns the first item in this stack on success, NULL otherwise.

Reimplemented from vtkObjectBaseStack.

Definition at line 62 of file vtkObjectStack.h.

vtkObjectStack::vtkTypeRevisionMacro vtkObjectStack  ,
vtkObjectBaseStack 
 


The documentation for this class was generated from the following file:
Generated on Thu Jul 14 14:40:06 2005 for vtkContainers by doxygen 1.3.6