[fdo-commits] r717 - branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp

svn_fdo at osgeo.org svn_fdo at osgeo.org
Fri Feb 2 11:05:28 EST 2007


Author: brentrobinson
Date: 2007-02-02 11:05:28 -0500 (Fri, 02 Feb 2007)
New Revision: 717

Modified:
   branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/GeometricPropertyDefinition.h
Log:
Delete SI columns when geometric column deleted.

Modified: branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/GeometricPropertyDefinition.h
===================================================================
--- branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/GeometricPropertyDefinition.h	2007-02-02 01:21:00 UTC (rev 716)
+++ branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/GeometricPropertyDefinition.h	2007-02-02 16:05:28 UTC (rev 717)
@@ -173,25 +173,25 @@
 	FdoString* GetRootColumnNameSi1() const;
 	const FdoSmPhColumn* RefColumnSi1() const;
     FdoSmPhColumnP GetColumnSi1();
-    bool GetIsFixedColumnSi1() const { return mbFixedColumnSi1; }
-    bool GetIsColumnCreatorSi1() const { return mbColumnCreatorSi1; }
+    // SI column fixed name and FDO ownership status not tracked in MetaSchema.
+    // However, these are in lock step with equivalent statuses for geometric column.
+    bool GetIsFixedColumnSi1() const { return GetIsFixedColumn(); }
+    bool GetIsColumnCreatorSi1() const { return GetIsColumnCreator(); }
 	void SetColumnNameSi1( FdoString* columnName );
 	void SetRootColumnNameSi1( FdoString* columnName );
 	void SetColumnSi1( FdoSmPhColumnP pColumn );
-    void SetIsFixedColumnSi1( bool bFixedColumn ) { mbFixedColumnSi1 = bFixedColumn; }
-    void SetIsColumnCreatorSi1( bool bColumnCreator ) { mbColumnCreatorSi1 = bColumnCreator; }
 
 	FdoString* GetColumnNameSi2() const;
 	FdoString* GetRootColumnNameSi2() const;
 	const FdoSmPhColumn* RefColumnSi2() const;
     FdoSmPhColumnP GetColumnSi2();
-    bool GetIsFixedColumnSi2() const { return mbFixedColumnSi2; }
-    bool GetIsColumnCreatorSi2() const { return mbColumnCreatorSi2; }
+    // SI column fixed name and FDO ownership status not tracked in MetaSchema.
+    // However, these are in lock step with equivalent statuses for geometric column.
+    bool GetIsFixedColumnSi2() const { return GetIsFixedColumn(); }
+    bool GetIsColumnCreatorSi2() const { return GetIsColumnCreator(); }
 	void SetColumnNameSi2( FdoString* columnName );
 	void SetRootColumnNameSi2( FdoString* columnName );
 	void SetColumnSi2( FdoSmPhColumnP pColumn );
-    void SetIsFixedColumnSi2( bool bFixedColumn ) { mbFixedColumnSi2 = bFixedColumn; }
-    void SetIsColumnCreatorSi2( bool bColumnCreator ) { mbColumnCreatorSi2 = bColumnCreator; }
 
     //////////////////////////////////////////////////////////////////////
 
@@ -396,15 +396,11 @@
     FdoStringP mRootColumnNameSi1;
     FdoStringP mCandRootColumnNameSi1;
 	FdoSmPhColumnP mColumnSi1;
-    bool mbFixedColumnSi1;
-    bool mbColumnCreatorSi1;
 
 	FdoStringP mColumnNameSi2;
     FdoStringP mRootColumnNameSi2;
     FdoStringP mCandRootColumnNameSi2;
 	FdoSmPhColumnP mColumnSi2;
-    bool mbFixedColumnSi2;
-    bool mbColumnCreatorSi2;
 };
 
 typedef FdoPtr<FdoSmLpGeometricPropertyDefinition> FdoSmLpGeometricPropertyP;



More information about the fdo-commits mailing list