Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields  

clawsoft::Object Class Reference

#include <Object.h>

Inheritance diagram for clawsoft::Object:

Inheritance graph
[legend]

Detailed Description

This one is the most primitive of all the classes, the first ancestor.


Public Methods

const char * getClassName ()
 Returns the name of the current class.

 Object (const char *n)
 This constructor sets the name of the current class to n.


Protected Methods

void setClassName (const char *n)
 Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging.

 Object ()
 Default constructor, it only sets is own classnamw to Object.


Private Attributes

char * __cls_name
 Stores the name of the current class.


Constructor & Destructor Documentation

clawsoft::Object::Object   [protected]
 

Default constructor, it only sets is own classnamw to Object.

clawsoft::Object::Object const char *    n [inline]
 

This constructor sets the name of the current class to n.


Member Function Documentation

const char * clawsoft::Object::getClassName  
 

Returns the name of the current class.

void clawsoft::Object::setClassName const char *    n [protected]
 

Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging.


Field Documentation

char* clawsoft::Object::__cls_name [private]
 

Stores the name of the current class.


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

Authors:

Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara

Powered by:

SourceForgeLogo