00001 #ifndef FDO_RDBMSOVPROPERTYMAPPINGDEFINITION_H 00002 #define FDO_RDBMSOVPROPERTYMAPPINGDEFINITION_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 00021 /// FdoRdbms.lib 00022 00023 #include <FdoCommon.h> 00024 #include <Fdo/Xml/Flags.h> 00025 #include <Fdo/Commands/Schema/PhysicalElementMapping.h> 00026 #include <Rdbms/Override/RdbmsOv.h> 00027 00028 ///<summary> 00029 ///Abstract class defining the physical schema overrides for object 00030 ///property table mappings. 00031 ///</summary> 00032 class FdoRdbmsOvPropertyMappingDefinition : public FdoPhysicalElementMapping 00033 { 00034 public: 00035 00036 /// \cond DOXYGEN-IGNORE 00037 00038 // The following functions are for internal use and are not part of the API. 00039 00040 // Sets the parent of this object. 00041 FDORDBMS_OV_API void SetParent(FdoPhysicalElementMapping* value); 00042 00043 // Initialize this element from its XML attributes 00044 FDORDBMS_OV_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs); 00045 00046 // Serialize this property to XML. 00047 FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags); 00048 00049 /// \endcond 00050 00051 protected: 00052 FDORDBMS_OV_API FdoRdbmsOvPropertyMappingDefinition(); 00053 FDORDBMS_OV_API virtual ~FdoRdbmsOvPropertyMappingDefinition(); 00054 }; 00055 00056 ///<summary> 00057 ///FdoRdbmsOvPropertyMappingP is a FdoPtr on FdoRdbmsOvPropertyMappingDefinition, 00058 ///provided for convenience. 00059 ///</summary> 00060 typedef FdoPtr<FdoRdbmsOvPropertyMappingDefinition> FdoRdbmsOvPropertyMappingP; 00061 00062 #endif 00063