2005/5/9

     
 

class LispClass

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lisp::LispClass Class Reference

#include <LispClass.h>

Inheritance diagram for acdk::lisp::LispClass:

acdk::lisp::LispVar acdk::lang::Object acdk::lang::Cloneable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

(defclass (super list) (slotname :initarg :namedarg) (slotname :initarg :namedarg :initform initval) )


Public Member Functions

 LispClass (IN(RString) classname)
RString className ()
RLispClassArray supers ()
RLispSlotArray slots ()
void addClass (IN(RLispClass) cls)
void addSlot (IN(RLispSlot) slot)
virtual RString toString ()
 returns false if slot not found

virtual RString toCode ()
 converts it to Lisp code

virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)

Static Public Member Functions

acdk::lang::Object create_instance ()
 for serialization


Private Attributes

RString _className
RLispClassArray _superClasses
RLispSlotArray _slots


Constructor & Destructor Documentation

acdk::lisp::LispClass::LispClass IN(RString classname  )  [inline]
 


Member Function Documentation

void acdk::lisp::LispClass::addClass IN(RLispClass cls  )  [inline]
 

void acdk::lisp::LispClass::addSlot IN(RLispSlot slot  )  [inline]
 

RString acdk::lisp::LispClass::className  )  [inline]
 

virtual acdk::lang::Object acdk::lisp::LispClass::clone sys::Allocator *  alc  )  [virtual]
 

Implements acdk::lisp::LispVar.

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

Implements acdk::lisp::LispVar.

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

for serialization

Reimplemented from acdk::lang::Object.

RLispSlotArray acdk::lisp::LispClass::slots  )  [inline]
 

RLispClassArray acdk::lisp::LispClass::supers  )  [inline]
 

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

converts it to Lisp code

Implements acdk::lisp::LispVar.

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

returns false if slot not found

Implements acdk::lisp::LispVar.


Member Data Documentation

RString acdk::lisp::LispClass::_className [private]
 

RLispSlotArray acdk::lisp::LispClass::_slots [private]
 

RLispClassArray acdk::lisp::LispClass::_superClasses [private]