00001 #ifndef FDO_RDBMSOVPROPERTYDEFINITION_H 00002 #define FDO_RDBMSOVPROPERTYDEFINITION_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 <Fdo/Commands/Schema/PhysicalPropertyMapping.h> 00024 #include <Rdbms/Override/RdbmsOv.h> 00025 00026 ///<summary>Abstract class defining physical schema overrides for a property 00027 ///definition.</summary> 00028 class FdoRdbmsOvPropertyDefinition : public FdoPhysicalPropertyMapping 00029 { 00030 public: 00031 /// \cond DOXYGEN-IGNORE 00032 // Serialize this property to XML. Not part of the API. 00033 FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags); 00034 00035 // Makes SetParent function public 00036 FDORDBMS_OV_API void SetParent(FdoPhysicalElementMapping* value); 00037 00038 /// \endcond 00039 00040 protected: 00041 FDORDBMS_OV_API FdoRdbmsOvPropertyDefinition(); 00042 FDORDBMS_OV_API FdoRdbmsOvPropertyDefinition(FdoString *name); 00043 FDORDBMS_OV_API virtual ~FdoRdbmsOvPropertyDefinition(); 00044 00045 // Serialize this property to XML. 00046 FDORDBMS_OV_API virtual void _writeXmlContents(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags); 00047 }; 00048 00049 ///<summary>FdoRdbmsOvPropertyP is a FdoPtr on FdoRdbmsOvPropertyDefinition, provided for convenience.</summary> 00050 typedef FdoPtr<FdoRdbmsOvPropertyDefinition> FdoRdbmsOvPropertyP; 00051 00052 #endif 00053