Class DescPtr


			
class DescPtr : public ObjectPtr
Programmer: Matthew Splett

Summary:

Provides a C++ interface to smalltalk method description objects.

Public Methods:

static ObjectPtr create ();
I am create. I act as a "factory method" for creating new association objects.

static ObjectPtr create (ObjectPtr sel, ObjectPtr src);
I am also create. I act as a "factory method" for creating new method description objects with their values.

static DescPtr convert (ObjectPtr obj);
I convert obj to a valid DescPtr or gNil if obj wasn't an association.

DescPtr (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 .

SymbolPtr & selector ();
returns the object that is the methods selector

ObjectPtr & source ();
returns the object that contains the methods source code test driver for method descriptions TESTING

Protected Methods:

static ClassPtr & klassPtr ();


Protected Members: