Jive reference manual
|
#include <jem/base/ClassTemplate.h>
Public Member Functions | |
ClassTemplate () | |
ClassTemplate (const String &name) | |
ClassTemplate (Class *super, const String &name) | |
virtual bool | equalType (const Ref< Object > &obj) const |
void | addDefaultCtor () |
![]() | |
String | getName () const |
String | getWhatis () const |
void | setWhatis (const String &whatis) |
bool | isBaseOf (Class *type) const |
Class * | getSuperClass () const |
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 Class * | getInstance () |
static T * | dynamicCast (Object &rhs) |
![]() | |
static void | registerClass (Class *type) |
static Class * | findClass (const String &name) |
Protected Member Functions | |
virtual | ~ClassTemplate () |
![]() | |
Class (const String &name) | |
Class (Class *super, const String &name) | |
virtual | ~Class () |
Additional Inherited Members | |
![]() | |
typedef Constructor | Ctor |
typedef Array< Ref< Ctor > > | CtorArray |
typedef Array< Ref< Method > > | MethodArray |
typedef Array< Ref< Field > > | FieldArray |
typedef util::Dictionary | Dictionary |
jem::ClassTemplate< T >::ClassTemplate | ( | ) |
|
explicit |
jem::ClassTemplate< T >::ClassTemplate | ( | Class * | super, |
const String & | name | ||
) |
|
protectedvirtual |
|
virtual |
Implements jem::Class.
void jem::ClassTemplate< T >::addDefaultCtor | ( | ) |
|
static |
|
static |