OSGeo FDO Provider for MySQL API Reference

OSGeo FDO Provider for MySQL API

API Reference OSGeo FDO Provider for MySQL

PostGisOvDataPropertyDefinitionCollection.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 FDOPOSTGISOVDATAPROPERTYDEFINITIONCOLLECTION_H
00018 #define FDOPOSTGISOVDATAPROPERTYDEFINITIONCOLLECTION_H
00019 
00020 #include <Fdo/Schema/SchemaException.h>
00021 #include <Fdo/Commands/Schema/PhysicalElementMappingCollection.h>
00022 #include <Rdbms/Override/PostGIS/PostGisOv.h>
00023 #include <Rdbms/Override/PostGIS/PostGisOvDataPropertyDefinition.h>
00024 
00025 /// \brief
00026 /// Local alias of base type for FdoPostGISOvDataPropertyDefinitionCollection.
00027 ///
00028 typedef FdoPhysicalElementMappingCollection
00029     <
00030     FdoPostGISOvDataPropertyDefinition
00031     >
00032     FdoPostGISOvDataPropertyDefinitionCollectionBase;
00033 
00034 
00035 /// \brief
00036 /// Concrete class defining physical schema overrides for collection of
00037 /// data properties.
00038 ///
00039 class FdoPostGISOvDataPropertyDefinitionCollection :
00040     public FdoPostGISOvDataPropertyDefinitionCollectionBase
00041 {
00042 public:
00043 
00044     /// \brief
00045     /// Named constructor.
00046     /// Creates instance with default state initialized.
00047     /// 
00048     /// \return
00049     /// Pointer to new FdoPostGISOvDataPropertyDefinitionCollection instance.
00050     /// 
00051     FDOPOSTGIS_OV_API static FdoPostGISOvDataPropertyDefinitionCollection* Create();
00052 
00053     /// \brief
00054     /// Named constructor.
00055     /// Creates new instance based on given parent mapping.
00056     /// 
00057     /// \param
00058     /// parent [in] - pointer to parent from physical mapping definition.
00059     /// 
00060     /// \return
00061     /// Pointer to new FdoPostGISOvDataPropertyDefinitionCollection instance.
00062     /// 
00063     FDOPOSTGIS_OV_API static FdoPostGISOvDataPropertyDefinitionCollection* Create(
00064         FdoPhysicalElementMapping* parent);
00065 
00066 protected:
00067 
00068     /// Default constructor.
00069     FdoPostGISOvDataPropertyDefinitionCollection();
00070 
00071     /// Alternative constructor.
00072     /// parent [in] - pointer to parent from physical mapping definition.
00073     FdoPostGISOvDataPropertyDefinitionCollection(FdoPhysicalElementMapping* parent);
00074 
00075     /// Destructor.
00076     virtual ~FdoPostGISOvDataPropertyDefinitionCollection();
00077 
00078     /// Named destructor.
00079     virtual void Dispose();
00080 };
00081 
00082 #endif // FDOPOSTGISOVDATAPROPERTYDEFINITIONCOLLECTION_H

Comments?