00001 #ifndef FDO_OdbcOVCLASSCOLLECTION_H
00002 #define FDO_OdbcOVCLASSCOLLECTION_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/ODBC/OdbcOv.h>
00021 #include <Rdbms/Override/ODBC/OdbcOvClassDefinition.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 FdoOdbcOvClassCollection : public FdoRestrictedNamedCollection<FdoRdbmsOvClassDefinition,FdoOdbcOvClassDefinition,FdoRdbmsOvClassCollection>
00028 {
00029 public:
00030 /// \brief
00031 /// Constructs a default of an FdoOdbcOvClassCollection
00032 ///
00033 /// \return
00034 /// Returns FdoOdbcOvClassCollection
00035 ///
00036 FDOODBC_OV_API static FdoOdbcOvClassCollection* Create();
00037
00038 /// \brief
00039 /// Constructs an instance of an FdoOdbcOvClassCollection using the specified arguments
00040 ///
00041 /// \param parent
00042 /// Input parent
00043 ///
00044 /// \return
00045 /// Returns FdoOdbcOvClassCollection
00046 ///
00047 FDOODBC_OV_API static FdoOdbcOvClassCollection* Create(FdoRdbmsOvClassCollection* baseCollection);
00048
00049 protected:
00050 FdoOdbcOvClassCollection();
00051 FdoOdbcOvClassCollection(FdoRdbmsOvClassCollection* baseCollection);
00052 virtual ~FdoOdbcOvClassCollection();
00053 virtual void Dispose();
00054
00055 virtual FdoOdbcOvClassDefinition* DownCast( FdoRdbmsOvClassDefinition* value ) const;
00056
00057 private:
00058
00059 };
00060
00061 /// \brief
00062 /// FdoOdbcOvClassesP is a FdoPtr on FdoOdbcOvClassCollection, provided for convenience.
00063 typedef FdoPtr<FdoOdbcOvClassCollection> FdoOdbcOvClassesP;
00064
00065 #endif
00066
00067