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)
40class 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;
70 std::vector<Geometry*> geoms;
void add(Geometry::AutoPtr geom)
Add a geometry to the list (takes ownership).
std::auto_ptr< GeometryList > AutoPtr
Definition GeometryList.h:51
static GeometryList::AutoPtr create()
Create an empty GeometryList.
size_type size() const
Return number of geometries in this list.
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
std::auto_ptr< Geometry > AutoPtr
An auto_ptr of Geometry.
Definition Geometry.h:180
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25