diff --git a/src/SerializedObject.h b/src/SerializedObject.h index 776821ac8..f7670940d 100644 --- a/src/SerializedObject.h +++ b/src/SerializedObject.h @@ -48,6 +48,10 @@ public: void giveObject(SerializedType* t) { data.push_back(t); } const boost::ptr_vector& peekData() const { return data; } boost::ptr_vector& peekData() { return data; } + + int getCount() const { return data.size(); } + const SerializedType& peekAt(int offset) const { return data[offset]; } + SerializedType& getAt(int offset) { return data[offset]; } };