|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::lisp::LispObject Class Reference#include <LispObject.h>
Inheritance diagram for acdk::lisp::LispObject:
List of all members.
|
Public Member Functions |
virtual::acdk::lang::dmi::ClazzInfo * | getClazzInfo () |
| not using the standard meta info, becuase this class is used as a proxy
|
static::acdk::lang::dmi::ClazzInfo * | clazzInfo () |
| return the ClazzInfo for this class will be re-implemented for each class by methods generated by acdkmc
|
virtual::acdk::lang::RClass | getClass () |
static::acdk::lang::RClass | GetClass () |
static::acdk::lang::RObject | create_array (int length=0) |
static::acdk::lang::RObject | create_array_array (int firstLength=0, int secondLength=0) |
virtual void | getCollectableFields (FieldReferences &fields) |
| retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
|
virtual::acdk::lang::dmi::SysFields | getInternalFields (int flags, const::acdk::lang::dmi::ClazzInfo *clazz=0) |
| LispObject (IN(RString) classname, IN(NamedArgs) args=NamedArgs()) |
| DMI interface.
|
| LispObject (IN(RLispEnvironment) env, IN(RLispClass) cls) |
RLispClass | getLispClass () |
RLispVar | getSlot (IN(RString) str) |
void | setSlot (IN(RString) str, IN(RLispVar) lv) |
bool | setSlotByInitArg (IN(RLispEnvironment) env, IN(RString) initarg, IN(RLispVar) val) |
virtual RString | toString () |
| converts it to string without paranteses or white spaces
|
virtual RString | toCode () |
| converts it to Lisp code
|
virtual acdk::lang::Object | clone () |
virtual acdk::lang::Object | clone (sys::Allocator *alc) |
virtual RString | functionName () |
virtual RLispVar | eval (IN(RLispEnvironment) env, IN(RLispList) args) |
| args[0] == the symbol of function args[1 + n] == the arguments
|
virtual RString | getHelpText () |
virtual RLispList | getDefinition () |
virtual RLispList | getDeclDefinition () |
Static Public Member Functions |
const::acdk::lang::dmi::ClazzMethodInfo * | dynamic_dispatch (::acdk::lang::Object *This, IN(RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo, const::acdk::lang::dmi::ClazzMethodInfo *methinf) |
const::acdk::lang::dmi::ClazzMethodInfo * | static_dispatch (IN(RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo, const::acdk::lang::dmi::ClazzMethodInfo *methinf) |
acdk::lang::Object | create_instance () |
| for serialization
|
Private Member Functions |
void | initObject (IN(RLispEnvironment) env, IN(RLispClass) cls) |
| initialize default values from Class defintion
|
void | initObject (IN(RString) classname, IN(NamedArgs) args) |
bool | setSlotByInitArg (IN(RLispEnvironment) env, IN(RLispClass) cls, IN(RString) initarg, IN(RLispVar) val) |
Private Attributes |
static::acdk::lang::dmi::ClazzInfo | _clazzInfo |
RLispClass | _class |
::acdk::util::RHashMap | _slots |
Static Private Attributes |
RLispList | _definition |
Constructor & Destructor Documentation
Member Function Documentation
virtual acdk::lang::Object acdk::lisp::LispObject::clone |
( |
sys::Allocator * |
alc |
) |
[inline, virtual] |
|
static ::acdk::lang::RObject acdk::lisp::LispObject::create_array_array |
( |
int |
firstLength = 0, |
|
|
int |
secondLength = 0 |
|
) |
[inline] |
|
virtual RString acdk::lisp::LispObject::functionName |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::lisp::LispObject::getCollectableFields |
( |
FieldReferences & |
fields |
) |
[inline, virtual] |
|
|
retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
Reimplemented from acdk::lang::ObjectBase. |
virtual RLispList acdk::lisp::LispObject::getDeclDefinition |
( |
|
) |
[inline, virtual] |
|
virtual RLispList acdk::lisp::LispObject::getDefinition |
( |
|
) |
[virtual] |
|
virtual RString acdk::lisp::LispObject::getHelpText |
( |
|
) |
[inline, virtual] |
|
RLispClass acdk::lisp::LispObject::getLispClass |
( |
|
) |
[inline] |
|
void acdk::lisp::LispObject::initObject |
( |
IN(RString) |
classname, |
|
|
IN(NamedArgs) |
args |
|
) |
[private] |
|
|
initialize default values from Class defintion
|
void acdk::lisp::LispObject::setSlot |
( |
IN(RString) |
str, |
|
|
IN(RLispVar) |
lv |
|
) |
[inline] |
|
virtual RString acdk::lisp::LispObject::toCode |
( |
|
) |
[virtual] |
|
virtual RString acdk::lisp::LispObject::toString |
( |
|
) |
[virtual] |
|
Member Data Documentation
|
|