EgtGeomKernel : GeoFactory ora usa nType invece di sKey,

aggiunto map da sKey a nType.
This commit is contained in:
Dario Sassi
2013-11-26 20:53:50 +00:00
parent 81a1e3d994
commit cc2db726db
15 changed files with 97 additions and 32 deletions
+8 -1
View File
@@ -21,7 +21,7 @@
using namespace std ;
//----------------------------------------------------------------------------
GEOOBJ_REGISTER( KEY_GEO_PNT3D, GeoPoint3d) ;
GEOOBJ_REGISTER( GEO_PNT3D, "G_PNT", GeoPoint3d) ;
//----------------------------------------------------------------------------
GeoPoint3d::GeoPoint3d( void)
@@ -58,6 +58,13 @@ GeoPoint3d::Clone( void) const
return pGPt ;
}
//----------------------------------------------------------------------------
const string&
GeoPoint3d::GetKey( void) const
{
return GEOOBJ_GETKEY( GeoPoint3d) ;
}
//----------------------------------------------------------------------------
bool
GeoPoint3d::Save( ostream& osOut) const