Schim
objectarray.h
1 #ifndef OBJECTARRAY_H
2 #define OBJECTARRAY_H
3 
4 #include "compositeobject.h"
5 
7 {
8 public:
9  explicit ObjectArray(Object *base);
10  ObjectArray(const ObjectArray &obj);
11  virtual ~ObjectArray();
12 
14  virtual void rebase(int index);
15  virtual void generate() = 0;
16 
17  virtual int getCount();
18  Object* getBaseObject();
19 
20 protected:
21  Object *baseObj{};
22 };
23 
24 #endif // OBJECTARRAY_H
The abstract base class for all objects in a sheet.
Definition: object.h:21
Definition: objectarray.h:6
virtual void rebase(int index)
Set the base item of the array.
An object that consists of other child objects.
Definition: compositeobject.h:16