Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4680 | right-hear | 1 | |
2 | #define __arrayclass_h__ |
||
3 | |||
4 | |||
5 | #include "lispobject.h" |
||
6 | #include "genericobject.h" |
||
7 | |||
8 | |||
9 | { |
||
10 | public: //required |
||
11 | ArrayClass(LispInt aSize,LispObject* aInitialItem); |
||
12 | virtual ~ArrayClass(); |
||
13 | virtual LispChar * Send(LispArgList& aArgList); |
||
14 | virtual LispChar * TypeName(); |
||
15 | public: //array-specific |
||
16 | inline LispInt Size(); |
||
17 | inline LispObject* GetElement(LispInt aItem); // TODO: 1-based, ... |
||
18 | inline void SetElement(LispInt aItem,LispObject* aObject); |
||
19 | |||
20 | |||
21 | LispPtrArray iArray; |
||
22 | }; |
||
23 | |||
24 | |||
25 | #endif |
||
26 |