#include <Object.h>
Public Member Functions | |
Object () | |
virtual | ~Object () |
void * | operator new (size_t size) |
void | operator delete (void *pPointer) |
bool | equals (Object *pObject) |
void | showPointer () |
Object * | clone () |
virtual const char * | toString ()=0 |
Static Public Member Functions | |
static int32 | instances () |
class Test : public Object { Test() {} virtual ~Test() {} void toString() { // print the name of class } };
Object::Object | ( | ) |
Constructor
virtual Object::~Object | ( | ) | [virtual] |
Destructor
void* Object::operator new | ( | size_t | size | ) |
The overload of NEW
size | Size of new object |
void Object::operator delete | ( | void * | pPointer | ) |
The overload of DELETE
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.
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] |
Returns a string representation of the object.
Implemented in core::Device, img::Image, io::ByteArrayInputStream, io::ByteArrayOutputStream, io::FileInputStream, io::FileOutputStream, lang::String, math::Matrix, math::Vector2< T >, math::Vector3< T >, math::Vector4< T >, scene::Camera, scene::ColorRGBA, scene::Light, scene::Mesh, scene::Node, scene::AlphaProperty, scene::CullProperty, scene::MaterialProperty, scene::Property, scene::TextureProperty, scene::Scene, scene::Transformation, and Log.