Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::geom::GeometryList Class Reference

Manager of Geometry pointers. Owns the Geometries. More...

#include <GeometryList.h>

List of all members.

Public Types

typedef std::vector< Geometry
* >::size_type 
size_type
typedef std::auto_ptr< GeometryListAutoPtr

Public Member Functions

void add (Geometry::AutoPtr geom)
 Add a geometry to the list (takes ownership).
size_type size () const
 Return number of geometries in this list.
Geometryoperator[] (size_type)
 Returned object lifetime is bound to GeometryList lifetime.
const Geometryoperator[] (size_type) const
 Returned object lifetime is bound to GeometryList lifetime.

Static Public Member Functions

GeometryList::AutoPtr create ()
 Create an empty GeometryList.

Friends

class std::auto_ptr<GeometryList>
 auto_ptr needs to access private destructor


Detailed Description

Manager of Geometry pointers. Owns the Geometries.


Member Typedef Documentation

typedef std::auto_ptr<GeometryList> geos::geom::GeometryList::AutoPtr
 

Only way to manage a GeometryList is trough this an auto_ptr<>.

See also:
create()


The documentation for this class was generated from the following file:
Generated on Tue Jun 5 14:58:36 2012 for GEOS by  doxygen 1.3.9.1