API Reference | OSGeo FDO Provider for MySQL |
00001 #ifndef FDO_MySQLOVCLASSCOLLECTION_H 00002 #define FDO_MySQLOVCLASSCOLLECTION_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 <Rdbms/Override/MySQL/MySqlOv.h> 00021 #include <Rdbms/Override/MySQL/MySqlOvClassDefinition.h> 00022 #include <Rdbms/Override/RdbmsOvClassCollection.h> 00023 #include <Fdo/Commands/Schema/PhysicalElementMappingCollection.h> 00024 00025 /// \brief 00026 /// Concrete class defining physical schema overrides for a collection of classes. 00027 class FdoMySQLOvClassCollection : public FdoRestrictedNamedCollection<FdoRdbmsOvClassDefinition,FdoMySQLOvClassDefinition,FdoRdbmsOvClassCollection> 00028 { 00029 public: 00030 /// \brief 00031 /// Constructs a default of an FdoMySQLOvClassCollection 00032 /// 00033 /// \return 00034 /// Returns FdoMySQLOvClassCollection 00035 /// 00036 FDOMYSQL_OV_API static FdoMySQLOvClassCollection* Create(); 00037 00038 /// \brief 00039 /// Constructs an instance of an FdoMySQLOvClassCollection using the specified arguments 00040 /// 00041 /// \param parent 00042 /// Input parent 00043 /// 00044 /// \return 00045 /// Returns FdoMySQLOvClassCollection 00046 /// 00047 FDOMYSQL_OV_API static FdoMySQLOvClassCollection* Create(FdoRdbmsOvClassCollection* baseCollection); 00048 00049 protected: 00050 FdoMySQLOvClassCollection(); 00051 FdoMySQLOvClassCollection(FdoRdbmsOvClassCollection* baseCollection); 00052 virtual ~FdoMySQLOvClassCollection(); 00053 virtual void Dispose(); 00054 00055 virtual FdoMySQLOvClassDefinition* DownCast( FdoRdbmsOvClassDefinition* value ) const; 00056 00057 private: 00058 00059 }; 00060 00061 /// \brief 00062 /// FdoMySQLOvClassesP is a FdoPtr on FdoMySQLOvClassCollection, provided for convenience. 00063 typedef FdoPtr<FdoMySQLOvClassCollection> FdoMySQLOvClassesP; 00064 00065 #endif 00066 00067
Comments? |