• Main Page
  • Namespaces
  • Classes
  • Files

PropertyDefinitionCollection.h

Go to the documentation of this file.
00001 //
00002 // Copyright (C) 2007 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 FDOPOSTGIS_PROPERTYDEFINITIONCOLLECTION_H_INCLUDED
00018 #define FDOPOSTGIS_PROPERTYDEFINITIONCOLLECTION_H_INCLUDED
00019 
00020 #include <Fdo.h>
00021 #include <PostGIS/Override/PropertyDefinition.h>
00022 
00023 namespace fdo { namespace postgis { namespace ov {
00024 
00025 /// \todo To be documented
00026 ///
00027 class PropertyDefinitionCollection :
00028     public FdoPhysicalElementMappingCollection<PropertyDefinition>
00029 {
00030 public:
00031     
00032     typedef FdoPtr<PropertyDefinitionCollection> Ptr;
00033 
00034     //
00035     // FdoPhysicalElementMappingCollection interface
00036     //
00037     
00038     FDOPOSTGIS_API static PropertyDefinitionCollection* Create();
00039     FDOPOSTGIS_API static PropertyDefinitionCollection* Create(
00040         FdoPhysicalElementMapping* parent);
00041 
00042 protected:
00043 
00044     /// Default constructor.
00045     PropertyDefinitionCollection();
00046 
00047     /// Create collection with parent element assigned.
00048     PropertyDefinitionCollection(FdoPhysicalElementMapping* parent);
00049     
00050     /// Destructor.
00051     virtual ~PropertyDefinitionCollection();
00052 
00053     //
00054     // FdoIDisposable
00055     //
00056 
00057     void Dispose();
00058 
00059 private:
00060 
00061     typedef FdoPhysicalElementMappingCollection<PropertyDefinition> Base;
00062 };
00063 
00064 }}} // namespace fdo::postgis::ov
00065 
00066 #endif // FDOPOSTGIS_PROPERTYDEFINITIONCOLLECTION_H_INCLUDED
Please send us your comment about this page