Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class StackPtr
Class StackPtr
Description:
Provide an ObjectPtr extension to GCAble Stack objects.
Public Methods:
-
static ObjectPtr
create
( );
-
I am the factory method used to create a new gc stack object.
-
static StackPtr
convert
( ObjectPtr );
-
I am the tool used to verify an object can support
my facilities.
-
StackPtr
( const ObjectPtr & );
-
I am a constructor. I simply construct a StackPtr from some
ObjectPtr.
-
ObjectPtr &
top
();
-
Return the current top of stack without removing it.
Gives us the ability to look before we leap without as
much expense.
-
ObjectPtr
pop
( );
-
I am the accessor: I return the object on the top of my
stack and then release it.
-
void
push
( const ObjectPtr & aValue );
-
I am the mutator: I create a new node that points to aValue.
-
static ClassPtr &
klassPtr
();
-
I am a accessor to the class that my objects should be.
Protected Methods:
-
NodePtr &
myTop
();
-
I am the internally used accessor for the first node in the
stack.
Protected Members:
Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class StackPtr