artefaktur
software engineer &        architecture

 
 
 
 

class LispObject

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:

acdk::lisp::LispVar acdk::lisp::Function acdk::io::Serializable acdk::lang::Object acdk::lang::Cloneable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch 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

acdk::lisp::LispObject::LispObject IN(RString classname,
IN(NamedArgs args = NamedArgs()
 

DMI interface.

acdk::lisp::LispObject::LispObject IN(RLispEnvironment env,
IN(RLispClass cls
[inline]
 


Member Function Documentation

static ::acdk::lang::dmi::ClazzInfo* acdk::lisp::LispObject::clazzInfo  )  [inline]
 

return the ClazzInfo for this class will be re-implemented for each class by methods generated by acdkmc

Reimplemented from acdk::lang::ObjectBase.

virtual acdk::lang::Object acdk::lisp::LispObject::clone sys::Allocator *  alc  )  [inline, virtual]
 

Implements acdk::lisp::LispVar.

virtual acdk::lang::Object acdk::lisp::LispObject::clone  )  [inline, virtual]
 

Implements acdk::lisp::LispVar.

static ::acdk::lang::RObject acdk::lisp::LispObject::create_array int  length = 0  )  [inline]
 

static ::acdk::lang::RObject acdk::lisp::LispObject::create_array_array int  firstLength = 0,
int  secondLength = 0
[inline]
 

acdk::lang::Object acdk::lisp::LispObject::create_instance  )  [inline, static]
 

for serialization

Reimplemented from acdk::lang::Object.

const ::acdk::lang::dmi::ClazzMethodInfo* acdk::lisp::LispObject::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
[static]
 

virtual RLispVar acdk::lisp::LispObject::eval IN(RLispEnvironment env,
IN(RLispList args
[virtual]
 

args[0] == the symbol of function args[1 + n] == the arguments

Implements acdk::lisp::Function.

virtual RString acdk::lisp::LispObject::functionName  )  [inline, virtual]
 

Implements acdk::lisp::Function.

static ::acdk::lang::RClass acdk::lisp::LispObject::GetClass  )  [inline]
 

Reimplemented from acdk::lang::Object.

virtual ::acdk::lang::RClass acdk::lisp::LispObject::getClass  )  [inline, virtual]
 

Reimplemented from acdk::lang::Object.

virtual ::acdk::lang::dmi::ClazzInfo* acdk::lisp::LispObject::getClazzInfo  )  [inline, virtual]
 

not using the standard meta info, becuase this class is used as a proxy

Implements acdk::lang::dmi::StdDispatch.

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]
 

Implements acdk::lisp::Function.

virtual RLispList acdk::lisp::LispObject::getDefinition  )  [virtual]
 

Implements acdk::lisp::Function.

virtual RString acdk::lisp::LispObject::getHelpText  )  [inline, virtual]
 

Implements acdk::lisp::Function.

virtual ::acdk::lang::dmi::SysFields acdk::lisp::LispObject::getInternalFields int  flags,
const ::acdk::lang::dmi::ClazzInfo clazz = 0
[inline]
 

RLispClass acdk::lisp::LispObject::getLispClass  )  [inline]
 

RLispVar acdk::lisp::LispObject::getSlot IN(RString str  )  [inline]
 

void acdk::lisp::LispObject::initObject IN(RString classname,
IN(NamedArgs args
[private]
 

void acdk::lisp::LispObject::initObject IN(RLispEnvironment env,
IN(RLispClass cls
[private]
 

initialize default values from Class defintion

void acdk::lisp::LispObject::setSlot IN(RString str,
IN(RLispVar lv
[inline]
 

bool acdk::lisp::LispObject::setSlotByInitArg IN(RLispEnvironment env,
IN(RString initarg,
IN(RLispVar val
[inline]
 

bool acdk::lisp::LispObject::setSlotByInitArg IN(RLispEnvironment env,
IN(RLispClass cls,
IN(RString initarg,
IN(RLispVar val
[private]
 

const ::acdk::lang::dmi::ClazzMethodInfo* acdk::lisp::LispObject::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
[static]
 

virtual RString acdk::lisp::LispObject::toCode  )  [virtual]
 

converts it to Lisp code

Implements acdk::lisp::LispVar.

virtual RString acdk::lisp::LispObject::toString  )  [virtual]
 

converts it to string without paranteses or white spaces

Implements acdk::lisp::LispVar.


Member Data Documentation

RLispClass acdk::lisp::LispObject::_class [private]
 

::acdk::lang::dmi::ClazzInfo acdk::lisp::LispObject::_clazzInfo [private]
 

RLispList acdk::lisp::LispObject::_definition [static, private]
 

::acdk::util::RHashMap acdk::lisp::LispObject::_slots [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer