Jive reference manual
|
#include <jem/base/Class.h>
Public Types | |
typedef Constructor | Ctor |
typedef Array< Ref< Ctor > > | CtorArray |
typedef Array< Ref< Method > > | MethodArray |
typedef Array< Ref< Field > > | FieldArray |
typedef util::Dictionary | Dictionary |
Public Member Functions | |
String | getName () const |
String | getWhatis () const |
void | setWhatis (const String &whatis) |
bool | isBaseOf (Class *type) const |
Class * | getSuperClass () const |
virtual bool | equalType (const Ref< Object > &obj) const =0 |
bool | isInstance (const Ref< Object > &obj) const |
Ref< Object > | newInstance () const |
void | addConstructor (const Ref< Ctor > &ctor) |
CtorArray | getConstructors () const |
Ref< Ctor > | getConstructor (Class **argTypes, idx_t argCount) |
void | addAttribute (const String &name, const Ref< Object > &attrib) |
Ref< Dictionary > | getAttributes () const |
Ref< Dictionary > | getDeclaredAttribs () const |
Ref< Object > | getAttribute (const String &name) const |
Ref< Object > | getDeclaredAttrib (const String &name) const |
void | addField (const Ref< Field > &field) |
FieldArray | getFields () const |
FieldArray | getDeclaredFields () const |
Ref< Field > | getField (const String &name) const |
Ref< Field > | getDeclaredField (const String &name) const |
void | addMethod (const Ref< Method > &method) |
MethodArray | getMethods () const |
MethodArray | getDeclaredMethods () const |
Ref< Method > | getMethod (const String &name) const |
Ref< Method > | getDeclaredMethod (const String &name) const |
Static Public Member Functions | |
static void | registerClass (Class *type) |
static Class * | findClass (const String &name) |
Protected Member Functions | |
Class (const String &name) | |
Class (Class *super, const String &name) | |
virtual | ~Class () |
Friends | |
class | ClassTableTraits |
typedef Constructor jem::Class::Ctor |
typedef Array< Ref<Ctor> > jem::Class::CtorArray |
typedef Array< Ref<Method> > jem::Class::MethodArray |
typedef Array< Ref<Field> > jem::Class::FieldArray |
|
explicitprotected |
|
protectedvirtual |
String jem::Class::getName | ( | ) | const |
String jem::Class::getWhatis | ( | ) | const |
void jem::Class::setWhatis | ( | const String & | whatis | ) |
bool jem::Class::isBaseOf | ( | Class * | type | ) | const |
Class * jem::Class::getSuperClass | ( | ) | const |
Implemented in jem::ClassTemplate< T >.
CtorArray jem::Class::getConstructors | ( | ) | const |
Ref<Dictionary> jem::Class::getAttributes | ( | ) | const |
Ref<Dictionary> jem::Class::getDeclaredAttribs | ( | ) | const |
FieldArray jem::Class::getFields | ( | ) | const |
FieldArray jem::Class::getDeclaredFields | ( | ) | const |
MethodArray jem::Class::getMethods | ( | ) | const |
MethodArray jem::Class::getDeclaredMethods | ( | ) | const |
|
static |
|
friend |