OSGeo FDO Provider for MySQL API Reference

OSGeo FDO Provider for MySQL API

API Reference OSGeo FDO Provider for MySQL

MySqlOvPropertyDefinitionCollection.h

Go to the documentation of this file.
00001 #ifndef FDO_MySQLOVPROPERTYDEFINITIONCOLLECTION_H
00002 #define FDO_MySQLOVPROPERTYDEFINITIONCOLLECTION_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/MySqlOvPropertyDefinition.h>
00022 #include <Rdbms/Override/RdbmsOvPropertyDefinitionCollection.h>
00023 #include <Fdo/Commands/Schema/PhysicalElementMappingCollection.h>
00024 
00025 /// \brief
00026 /// Concrete class defining physical schema overrides for a collection of property
00027 /// definitions.
00028 class FdoMySQLOvPropertyDefinitionCollection : public FdoRestrictedNamedCollection<FdoRdbmsOvPropertyDefinition,FdoMySQLOvPropertyDefinition,FdoRdbmsOvPropertyDefinitionCollection>
00029 {
00030 public:
00031     /// \brief
00032     /// Constructs a default of an FdoMySQLOvPropertyDefinitionCollection
00033     /// 
00034     /// \return
00035     /// Returns FdoMySQLOvPropertyDefinitionCollection
00036     /// 
00037     FDOMYSQL_OV_API static FdoMySQLOvPropertyDefinitionCollection* Create();
00038 
00039     /// \brief
00040     /// Constructs an instance of an FdoMySQLOvPropertyDefinitionCollection using the specified arguments
00041     /// 
00042     /// \param parent 
00043     /// Input parent
00044     /// 
00045     /// \return
00046     /// Returns FdoMySQLOvPropertyDefinitionCollection
00047     /// 
00048     FDOMYSQL_OV_API static FdoMySQLOvPropertyDefinitionCollection* Create(FdoRdbmsOvPropertyDefinitionCollection* baseCollection );
00049 
00050 protected:
00051     FdoMySQLOvPropertyDefinitionCollection();
00052     FdoMySQLOvPropertyDefinitionCollection(FdoRdbmsOvPropertyDefinitionCollection* baseCollection);
00053     virtual ~FdoMySQLOvPropertyDefinitionCollection();
00054     virtual void Dispose();
00055 
00056     virtual FdoMySQLOvPropertyDefinition* DownCast( FdoRdbmsOvPropertyDefinition* value ) const;
00057 };
00058 
00059 /// \brief
00060 /// FdoMySQLOvPropertiesP is a FdoPtr on FdoMySQLOvPropertyDefinitionCollection, provided for convenience.
00061 typedef FdoPtr<FdoMySQLOvPropertyDefinitionCollection> FdoMySQLOvPropertiesP;
00062 
00063 
00064 #endif
00065 
00066 

Comments?