#include <vtkStack.h>
Inheritance diagram for vtkStack:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Push (vtkObject *) |
vtkObject * | Pop () |
vtkObject * | GetTop () |
int | GetNumberOfItems () |
Static Public Methods | |
vtkStack * | New () |
int | IsTypeOf (const char *type) |
vtkStack * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkStack () | |
~vtkStack () | |
vtkStack (const vtkStack &) | |
void | operator= (const vtkStack &) |
Protected Attributes | |
int | NumberOfItems |
vtkStackElement * | Top |
vtkStackElement * | Bottom |
vtkStack is a general object for creating and manipulating lists of objects. vtkStack also serves as a base class for lists of specific types of objects.
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return the number of objects in the stack. |
|
Return the number of objects in the stack. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
Remove an object from the top of the list. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Add an object to the top of the stack. Does not prevent duplicate entries. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. |