#include <Class.h>
Public Member Functions | |
Class (const sk::util::String &name) | |
virtual | ~Class () |
const sk::util::String | getName () const |
const sk::util::Method | getMethod (const sk::util::String &name) const |
const sk::util::Method | getClassMethod (const sk::util::String &name) const |
const sk::util::Class | getClass () const |
Returns the object's class. | |
const sk::util::String | toString () const |
Returns a string representation of the object. By default, it returns the object's class and the objects's id. | |
const sk::util::String | inspect () const |
Returns a string containing human-readable representation of the object. | |
virtual Object & | self () |
Returns a reference to itself. | |
virtual const Object & | self () const |
Object * | clone () const |
Instantiates another object of the same class as a copy of itself. | |
virtual uint64_t | getId () const |
Returns a unique object id. |
sk::util::Class::Class | ( | const sk::util::String & | name | ) |
virtual sk::util::Class::~Class | ( | ) | [virtual] |
Object* sk::util::Object::clone | ( | ) | const [inherited] |
Instantiates another object of the same class as a copy of itself.
Reimplemented in sk::rt::logger::Destination, and sk::util::String.
const sk::util::Class sk::util::Class::getClass | ( | ) | const [virtual] |
const sk::util::Method sk::util::Class::getClassMethod | ( | const sk::util::String & | name | ) | const |
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
const sk::util::Method sk::util::Class::getMethod | ( | const sk::util::String & | name | ) | const |
const sk::util::String sk::util::Class::getName | ( | ) | const |
const sk::util::String sk::util::Class::inspect | ( | ) | const [virtual] |
Returns a string containing human-readable representation of the object.
Reimplemented from sk::util::Object.
virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
const sk::util::String sk::util::Class::toString | ( | ) | const [virtual] |
Returns a string representation of the object. By default, it returns the object's class and the objects's id.
Reimplemented from sk::util::Object.