• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

NodeFactory.h

00001 /**********************************************************************
00002  * $Id: NodeFactory.h 2557 2009-06-08 09:30:55Z strk $
00003  *
00004  * GEOS - Geometry Engine Open Source
00005  * http://geos.refractions.net
00006  *
00007  * Copyright (C) 2005-2006 Refractions Research Inc.
00008  * Copyright (C) 2001-2002 Vivid Solutions Inc.
00009  *
00010  * This is free software; you can redistribute and/or modify it under
00011  * the terms of the GNU Lesser General Public Licence as published
00012  * by the Free Software Foundation. 
00013  * See the COPYING file for more information.
00014  *
00015  **********************************************************************
00016  *
00017  * Last port: geomgraph/NodeFactory.java rev. 1.3 (JTS-1.10)
00018  *
00019  **********************************************************************/
00020 
00021 
00022 #ifndef GEOS_GEOMGRAPH_NODEFACTORY_H
00023 #define GEOS_GEOMGRAPH_NODEFACTORY_H
00024 
00025 #include <geos/export.h>
00026 #include <geos/inline.h>
00027 
00028 // Forward declarations
00029 namespace geos {
00030         namespace geom {
00031                 class Coordinate;
00032         }
00033         namespace geomgraph {
00034                 class Node;
00035         }
00036 }
00037 
00038 namespace geos {
00039 namespace geomgraph { // geos.geomgraph
00040 
00041 class GEOS_DLL NodeFactory {
00042 public:
00043         virtual Node* createNode(const geom::Coordinate &coord) const;
00044         static const NodeFactory &instance();
00045         virtual ~NodeFactory() {}
00046 protected:
00047         NodeFactory() {};
00048 };
00049 
00050 
00051 } // namespace geos.geomgraph
00052 } // namespace geos
00053 
00054 //#ifdef GEOS_INLINE
00055 //# include "geos/geomgraph/NodeFactory.inl"
00056 //#endif
00057 
00058 #endif // ifndef GEOS_GEOMGRAPH_NODEFACTORY_H
00059 
00060 /**********************************************************************
00061  * $Log$
00062  * Revision 1.3  2006/06/08 11:20:24  strk
00063  * Added missing virtual destructor to abstract classes.
00064  *
00065  * Revision 1.2  2006/03/24 09:52:41  strk
00066  * USE_INLINE => GEOS_INLINE
00067  *
00068  * Revision 1.1  2006/03/09 16:46:49  strk
00069  * geos::geom namespace definition, first pass at headers split
00070  *
00071  **********************************************************************/
00072 

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1