OSGeo FDO Provider for MySQL API Reference

OSGeo FDO Provider for MySQL API

API Reference OSGeo FDO Provider for MySQL

MySqlOvPropertyMappingSingle.h

Go to the documentation of this file.
00001 #ifndef FDO_MySQLOVPROPERTYMAPPINGSINGLE_H
00002 #define FDO_MySQLOVPROPERTYMAPPINGSINGLE_H
00003 //
00004 //
00005 // Copyright (C) 2004-2006  Autodesk, Inc.
00006 // 
00007 // This library is free software; you can redistribute it and/or
00008 // modify it under the terms of version 2.1 of the GNU Lesser
00009 // General Public License as published by the Free Software Foundation.
00010 // 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 // 
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019 //
00020 #include <FdoCommon.h>
00021 #include <Rdbms/Override/RdbmsOvPropertyMappingSingle.h>
00022 #include <Rdbms/Override/MySQL/MySqlOv.h>
00023 #include <Rdbms/Override/MySQL/MySqlOvPropertyMappingDefinition.h>
00024 
00025 
00026 
00027 /// \brief
00028 /// Concrete class defining the physical schema overrides for the Single type object
00029 /// property mapping. Under the Single mapping type, the object property is kept in the same
00030 /// table as its containing class.
00031 class FdoMySQLOvPropertyMappingSingle : public FdoMySQLOvPropertyMappingDefinition, public FdoRdbmsOvPropertyMappingSingle
00032 {
00033 public:
00034 
00035     /// \brief
00036     /// Constructs a default of an FdoMySQLOvPropertyMappingSingle
00037     /// 
00038     /// \return
00039     /// Returns FdoMySQLOvPropertyMappingSingle
00040     /// 
00041     FDOMYSQL_OV_API static FdoMySQLOvPropertyMappingSingle* Create();
00042 
00043 protected:
00044     FdoMySQLOvPropertyMappingSingle();
00045     virtual ~FdoMySQLOvPropertyMappingSingle();
00046     virtual void Dispose();
00047 };
00048 
00049 /// \brief
00050 /// FdoMySQLOvPropertyMappingSingleP is a FdoPtr on FdoMySQLOvPropertyMappingSingle, provided for convenience.
00051 typedef FdoPtr<FdoMySQLOvPropertyMappingSingle> FdoMySQLOvPropertyMappingSingleP;
00052 
00053 #endif
00054 
00055 

Comments?