19 #ifndef GEOS_GEOM_GEOMETRYLIST_H
20 #define GEOS_GEOM_GEOMETRYLIST_H
22 #include <geos/export.h>
23 #include <geos/geom/Geometry.h>
30 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
40 class GEOS_DLL GeometryList {
45 friend class std::auto_ptr<GeometryList>;
47 typedef std::vector<Geometry*>::size_type size_type;
51 typedef std::auto_ptr<GeometryList> AutoPtr;
60 size_type size()
const;
63 Geometry* operator[] (size_type);
66 const Geometry* operator[] (size_type)
const;
70 std::vector<Geometry*> geoms;
83 #endif // GEOS_GEOM_GEOMETRYLIST_H