OSGeo FDO Provider for ODBC API Reference

OSGeo FDO Provider for ODBC API

API Reference OSGeo FDO Provider for ODBC

SqlServerOvClassCollection.h

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

Comments?