OSGeo FDO Provider for MySQL API Reference

OSGeo FDO Provider for MySQL API

API Reference OSGeo FDO Provider for MySQL

PostGisOvPropertyMappingClass.h

Go to the documentation of this file.
00001 //
00002 // Copyright (C) 2006 Refractions Research, Inc.
00003 // 
00004 // This library is free software; you can redistribute it and/or
00005 // modify it under the terms of version 2.1 of the GNU Lesser
00006 // General Public License as published by the Free Software Foundation.
00007 // 
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 // 
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 //
00017 #ifndef FDOPOSTGISOVPROPERTYMAPPINGCLASS_H
00018 #define FDOPOSTGISOVPROPERTYMAPPINGCLASS_H
00019 
00020 #include <Rdbms/Override/PostGIS/PostGisOv.h>
00021 #include <Rdbms/Override/PostGIS/PostGisOvPropertyMappingRelation.h>
00022 #include <Rdbms/Override/RdbmsOvPropertyMappingClass.h>
00023 
00024 /// \brief
00025 /// Concrete class defining the physical schema overrides for the Class
00026 /// type object property mapping.
00027 /// This class is used in PostGIS schema overrides.
00028 ///
00029 class FdoPostGISOvPropertyMappingClass :
00030     public FdoPostGISOvPropertyMappingRelation,
00031     public FdoRdbmsOvPropertyMappingClass
00032 {
00033 public:
00034 
00035     /// Named constructor for FdoPostGISOvPropertyMappingClass.
00036     /// 
00037     /// \return
00038     /// Pointer to new instance of FdoPostGISOvPropertyMappingClass.
00039     /// 
00040     FDOPOSTGIS_OV_API static FdoPostGISOvPropertyMappingClass* Create();
00041 
00042 protected:
00043 
00044     /// Default constructor.
00045     FdoPostGISOvPropertyMappingClass();
00046 
00047     /// Destructor.
00048     virtual ~FdoPostGISOvPropertyMappingClass();
00049 
00050     /// Named destructor.
00051     /// Responsible for final destruction calling
00052     /// \code delete this \endcode.
00053     virtual void Dispose();
00054 
00055 };
00056 
00057 /// \brief
00058 /// Declaration of smart-pointer type for FdoPostGISOvPropertyMappingClass.
00059 /// Provided for convenience.
00060 ///
00061 typedef FdoPtr<FdoPostGISOvPropertyMappingClass>
00062     FdoPostGISOvPropertyMappingClassP;
00063 
00064 #endif // FDOPOSTGISOVPROPERTYMAPPINGCLASS_H

Comments?