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 FDOPOSTGISOVPROPERTYDEFINITION_H
00018 #define FDOPOSTGISOVPROPERTYDEFINITION_H
00019
00020 #include <Rdbms/Override/RdbmsOvPropertyDefinition.h>
00021 #include <Rdbms/Override/PostGIS/PostGisOv.h>
00022
00023 /// \brief
00024 /// Abstract class defining physical schema overrides
00025 /// for a property definition.
00026 /// This class is used in PostGIS schema overrides.
00027 ///
00028 class FdoPostGISOvPropertyDefinition :
00029 public virtual FdoRdbmsOvPropertyDefinition
00030 {
00031 friend class FdoPostGISOvClassDefinition;
00032
00033 protected:
00034
00035 /// Default constructor.
00036 FdoPostGISOvPropertyDefinition();
00037
00038 /// Alternative constructor.
00039 /// \param name [in] - name of class definition.
00040 FdoPostGISOvPropertyDefinition(FdoString* name);
00041
00042 /// Destructor.
00043 virtual ~FdoPostGISOvPropertyDefinition();
00044
00045 /// Named destructor.
00046 /// Responsible for final destruction calling
00047 /// \code delete this \endcode.
00048 virtual void Dispose();
00049
00050 };
00051
00052 /// \brief
00053 /// Declaration of smart-pointer type for FdoPostGISOvPropertyDefinition.
00054 /// Provided for convenience.
00055 ///
00056 typedef FdoPtr<FdoPostGISOvPropertyDefinition> FdoPostGISOvPropertyP;
00057
00058 #endif // FDOPOSTGISOVPROPERTYDEFINITION_H