00001 #ifndef FDO_SqlServerOVPROPERTYDEFINITIONCOLLECTION_H
00002 #define FDO_SqlServerOVPROPERTYDEFINITIONCOLLECTION_H
00003 /*
00004 * Copyright (C) 2004-2008 Autodesk, Inc.
00005 *
00006 * This library is free software; you can redistribute it and/or
00007 * modify it under the terms of version 2.1 of the GNU Lesser
00008 * General Public License as published by the Free Software Foundation.
00009 *
00010 * This library is distributed in the hope that it will be useful,
00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00013 * Lesser General Public License for more details.
00014 *
00015 * You should have received a copy of the GNU Lesser General Public
00016 * License along with this library; if not, write to the Free Software
00017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00018 *
00019 */
00020 #include <Rdbms/Override/SQLServerSpatial/SqlServerOv.h>
00021 #include <Rdbms/Override/SQLServerSpatial/SqlServerOvPropertyDefinition.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 FdoSqlServerOvPropertyDefinitionCollection : public FdoRestrictedNamedCollection<FdoRdbmsOvPropertyDefinition,FdoSqlServerOvPropertyDefinition,FdoRdbmsOvPropertyDefinitionCollection>
00029 {
00030 public:
00031 /// \brief
00032 /// Constructs a default of an FdoSqlServerOvPropertyDefinitionCollection
00033 ///
00034 /// \return
00035 /// Returns FdoSqlServerOvPropertyDefinitionCollection
00036 ///
00037 FDOSQLSERVER_OV_API static FdoSqlServerOvPropertyDefinitionCollection* Create();
00038
00039 /// \brief
00040 /// Constructs an instance of an FdoSqlServerOvPropertyDefinitionCollection using the specified arguments
00041 ///
00042 /// \param parent
00043 /// Input parent
00044 ///
00045 /// \return
00046 /// Returns FdoSqlServerOvPropertyDefinitionCollection
00047 ///
00048 FDOSQLSERVER_OV_API static FdoSqlServerOvPropertyDefinitionCollection* Create(FdoRdbmsOvPropertyDefinitionCollection* baseCollection );
00049
00050 protected:
00051 FdoSqlServerOvPropertyDefinitionCollection();
00052 FdoSqlServerOvPropertyDefinitionCollection(FdoRdbmsOvPropertyDefinitionCollection* baseCollection);
00053 virtual ~FdoSqlServerOvPropertyDefinitionCollection();
00054 virtual void Dispose();
00055
00056 virtual FdoSqlServerOvPropertyDefinition* DownCast( FdoRdbmsOvPropertyDefinition* value ) const;
00057 };
00058
00059 /// \brief
00060 /// FdoSqlServerOvPropertiesP is a FdoPtr on FdoSqlServerOvPropertyDefinitionCollection, provided for convenience.
00061 typedef FdoPtr<FdoSqlServerOvPropertyDefinitionCollection> FdoSqlServerOvPropertiesP;
00062
00063
00064 #endif
00065
00066