kolibrios/contrib/media/updf/include/arrayclass.h
right-hearted 4f7ee97ec9 uPDF with buttons
git-svn-id: svn://kolibrios.org@4680 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-22 21:00:40 +00:00

28 lines
617 B
C++

#ifndef __arrayclass_h__
#define __arrayclass_h__
#include "yacasbase.h"
#include "lispobject.h"
#include "genericobject.h"
class ArrayClass : public GenericClass
{
public: //required
ArrayClass(LispInt aSize,LispObject* aInitialItem);
virtual ~ArrayClass();
virtual LispChar * Send(LispArgList& aArgList);
virtual LispChar * TypeName();
public: //array-specific
inline LispInt Size();
inline LispObject* GetElement(LispInt aItem); // TODO: 1-based, ...
inline void SetElement(LispInt aItem,LispObject* aObject);
private:
LispPtrArray iArray;
};
#include "arrayclass.inl"
#endif