API Reference | OSGeo FDO Provider for ODBC |
00001 #ifndef FDO_SqlServerOVPROPERTYMAPPINGSINGLE_H 00002 #define FDO_SqlServerOVPROPERTYMAPPINGSINGLE_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 <Common.h> 00033 #include <Rdbms/Override/RdbmsOvPropertyMappingSingle.h> 00034 #include <Rdbms/Override/SqlServer/SqlServerOv.h> 00035 #include <Rdbms/Override/SqlServer/SqlServerOvPropertyMappingDefinition.h> 00036 00037 00038 00039 /// \brief 00040 /// Concrete class defining the physical schema overrides for the Single type object 00041 /// property mapping. Under the Single mapping type, the object property is kept in the same 00042 /// table as its containing class. 00043 class FdoSqlServerOvPropertyMappingSingle : public FdoSqlServerOvPropertyMappingDefinition, public FdoRdbmsOvPropertyMappingSingle 00044 { 00045 public: 00046 00047 /// \brief 00048 /// Constructs a default of an FdoSqlServerOvPropertyMappingSingle 00049 /// 00050 /// \return 00051 /// Returns FdoSqlServerOvPropertyMappingSingle 00052 /// 00053 FDOSQLSERVER_OV_API static FdoSqlServerOvPropertyMappingSingle* Create(); 00054 00055 protected: 00056 FdoSqlServerOvPropertyMappingSingle(); 00057 virtual ~FdoSqlServerOvPropertyMappingSingle(); 00058 virtual void Dispose(); 00059 }; 00060 00061 /// \brief 00062 /// FdoSqlServerOvPropertyMappingSingleP is a FdoPtr on FdoSqlServerOvPropertyMappingSingle, provided for convenience. 00063 typedef FdoPtr<FdoSqlServerOvPropertyMappingSingle> FdoSqlServerOvPropertyMappingSingleP; 00064 00065 #endif 00066 00067
Comments? |