Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class IntegerPtr
Class IntegerPtr
Description:
I provide an extension of ObjectPtr's services to
include named accessors and utilities for
SmallIntegers.
Public Methods:
-
static ObjectPtr
create
(const SInteger aValue);
-
I am create. I act as a "factory method" for creating new SmallInt
objects.
-
static IntegerPtr
convert
(const ObjectPtr & obj);
-
I convert obj to a valid IntegerPtr or gNil if obj wasn't an integer.
-
IntegerPtr
(const ObjectPtr & pointee);
-
This is the constructor. It has a default value of gNil, so it can
be used as the generic constructor as well. This constructor
creates a Object pointer that points to the address
passed in through .
-
SInteger
value
();
-
I am the SInteger get accessor.
-
UInteger
asUInteger
();
-
I am a converter to UIntegers.
-
void
value
(const SInteger aValue);
-
I am the SInteger set accessor. In reality, because of Smalltalk's
definition, I actually create a new SInteger object to point to...
i.e. I call create & set myself to point to the result of create..
I am the method used to test the validity of the methods in IntegerPtr.
Protected Methods:
-
static ClassPtr &
klassPtr
();
-
Protected Members:
Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class IntegerPtr