/*! \file proto_class.h \brief Definition of the proto class template, used quickly start work */ #ifndef _BASE_OBJECT_H #define _BASE_OBJECT_H #include "stdincl.h" #include "class_list.h" class BaseObject { public: BaseObject (); virtual ~BaseObject (); //void setClassName (const char* className); void setClassID(int id); inline const char* getClassName(void) const { return "";}; inline int getClassID(void) const { return this->id; } bool isA (char* className); inline bool isFinalized() { return this->finalized; } void finalize(); private: const char* className; int id; bool finalized; }; #endif /* _BASE_OBJECT_H */