00001 #ifndef FDO_SqlServerOVCLASSCOLLECTION_H
00002 #define FDO_SqlServerOVCLASSCOLLECTION_H
00003 //
00004 //
00005 // (C) Copyright 1990-2005 by Autodesk, Inc.
00006 //
00007 //
00008 //
00009 // By using this code, you are agreeing to the terms
00010 // and conditions of the License Agreement that appeared
00011 // and was accepted upon download or installation
00012 // (or in connection with the download or installation)
00013 // of the Autodesk software in which this code is included.
00014 // All permissions on use of this code are as set forth
00015 // in such License Agreement provided that the above copyright
00016 // notice appears in all authorized copies and that both that
00017 // copyright notice and the limited warranty and
00018 // restricted rights notice below appear in all supporting
00019 // documentation.
00020 //
00021 // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
00022 // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
00023 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
00024 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
00025 // UNINTERRUPTED OR ERROR FREE.
00026 //
00027 // Use, duplication, or disclosure by the U.S. Government is subject to
00028 // restrictions set forth in FAR 52.227-19 (Commercial Computer
00029 // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
00030 // (Rights in Technical Data and Computer Software), as applicable.
00031 //
00032 #include <Rdbms/Override/SqlServer/SqlServerOv.h>
00033 #include <Rdbms/Override/SqlServer/SqlServerOvClassDefinition.h>
00034 #include <Rdbms/Override/RdbmsOvClassCollection.h>
00035 #include <Fdo/Commands/Schema/PhysicalElementMappingCollection.h>
00036
00037 /// \brief
00038 /// Concrete class defining physical schema overrides for a collection of classes.
00039 class FdoSqlServerOvClassCollection : public FdoRestrictedNamedCollection<FdoRdbmsOvClassDefinition,FdoSqlServerOvClassDefinition,FdoRdbmsOvClassCollection>
00040 {
00041 public:
00042 /// \brief
00043 /// Constructs a default of an FdoSqlServerOvClassCollection
00044 ///
00045 /// \return
00046 /// Returns FdoSqlServerOvClassCollection
00047 ///
00048 FDOSQLSERVER_OV_API static FdoSqlServerOvClassCollection* Create();
00049
00050 /// \brief
00051 /// Constructs an instance of an FdoSqlServerOvClassCollection using the specified arguments
00052 ///
00053 /// \param parent
00054 /// Input parent
00055 ///
00056 /// \return
00057 /// Returns FdoSqlServerOvClassCollection
00058 ///
00059 FDOSQLSERVER_OV_API static FdoSqlServerOvClassCollection* Create(FdoRdbmsOvClassCollection* baseCollection);
00060
00061 protected:
00062 FdoSqlServerOvClassCollection();
00063 FdoSqlServerOvClassCollection(FdoRdbmsOvClassCollection* baseCollection);
00064 virtual ~FdoSqlServerOvClassCollection();
00065 virtual void Dispose();
00066
00067 virtual FdoSqlServerOvClassDefinition* DownCast( FdoRdbmsOvClassDefinition* value ) const;
00068
00069 private:
00070
00071 };
00072
00073 /// \brief
00074 /// FdoSqlServerOvClassesP is a FdoPtr on FdoSqlServerOvClassCollection, provided for convenience.
00075 typedef FdoPtr<FdoSqlServerOvClassCollection> FdoSqlServerOvClassesP;
00076
00077 #endif
00078
00079