Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class FloatPtr
Class FloatPtr
Description:
Extends the abilities of object pointers to include named
accessors and utilities for Floats.
Public Methods:
-
static ObjectPtr
create
(const Float aValue);
-
I am create. I act as a "factory method" for creating new Float
objects.
-
static FloatPtr
convert
(const ObjectPtr & obj);
-
I convert obj to a valid FloatPtr or gNil if obj wasn't an Float.
-
FloatPtr
(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 .
-
Float
value
();
-
I am the Float get accessor.
-
void
value
(const Float aValue);
-
I am the set accessor. In reality, because of Smalltalk's
definition, I actually create a new 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 FloatPtr.
Protected Methods:
-
static ClassPtr &
klassPtr
();
-
Protected Members:
Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class FloatPtr