Object Class Reference

Description: Object declaration. More...

#include <Object.h>

Inheritance diagram for Object:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Object ()
virtual ~Object ()
void * operator new (size_t size)
void operator delete (void *pPointer)
bool equals (Object *pObject)
void showPointer ()
Objectclone ()
virtual const char * toString ()=0

Static Public Member Functions

static int32 instances ()


Detailed Description

Description: Object declaration.

Note:
The extension attribute must be "public". All the constructors need to initialize the Object constructor passing the name of the class.
Usage:
   class Test : public Object
   {
                Test()
                {}
 
                virtual ~Test()
                {}
    
      void toString()
      {
         // print the name of class
      }
   }; 

Constructor & Destructor Documentation

Object::Object (  ) 

Constructor

virtual Object::~Object (  )  [virtual]

Destructor


Member Function Documentation

void* Object::operator new ( size_t  size  ) 

The overload of NEW

Parameters:
size Size of new object

void Object::operator delete ( void *  pPointer  ) 

The overload of DELETE

Parameters:
pPointer Pointer to delete

static int32 Object::instances (  )  [static]

Return the number of instances classes

bool Object::equals ( Object pObject  ) 

Indicates whether some other object is "equal to" this one.

Parameters:
pObject The object instance

void Object::showPointer (  ) 

Show the pointer of the instance.

Object* Object::clone (  ) 

Creates and returns a copy of this object.

virtual const char* Object::toString (  )  [pure virtual]


The documentation for this class was generated from the following file:

Generated on Mon Mar 3 10:53:09 2008 for Aika by  doxygen 1.5.5