API Reference | OSGeo FDO Provider for ODBC |
00001 #ifndef FDO_RDBMSOVPROPERTYMAPPINGRCLASS_H 00002 #define FDO_RDBMSOVPROPERTYMAPPINGRCLASS_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 /// <library> 00022 /// FdoRdbms.lib 00023 /// </library> 00024 00025 #include <Rdbms/Override/RdbmsOv.h> 00026 #include <Rdbms/Override/RdbmsOvPropertyMappingRelation.h> 00027 00028 //DOM-IGNORE-BEGIN 00029 00030 ///<summary>Abstract class defining the physical schema overrides for the Class 00031 ///type object property mapping.</summary> 00032 class FdoRdbmsOvPropertyMappingClass : public virtual FdoRdbmsOvPropertyMappingRelation 00033 { 00034 public: 00035 // Serialize this property to XML. Not part of the API. 00036 FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags); 00037 00038 // Initialize this element from its XML attributes 00039 FDORDBMS_OV_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs); 00040 00041 protected: 00042 FDORDBMS_OV_API FdoRdbmsOvPropertyMappingClass(); 00043 FDORDBMS_OV_API virtual ~FdoRdbmsOvPropertyMappingClass(); 00044 00045 // Handle sub-elements when deserializing from XML. 00046 FDORDBMS_OV_API virtual FdoXmlSaxHandler* XmlStartElement( 00047 FdoXmlSaxContext* context, 00048 FdoString* uri, 00049 FdoString* name, 00050 FdoString* qname, 00051 FdoXmlAttributeCollection* atts 00052 ); 00053 00054 }; 00055 00056 ///<summary>FdoRdbmsOvPropertyMappingClassP is a FdoPtr on FdoRdbmsOvPropertyMappingClass, provided for convenience.</summary> 00057 typedef FdoPtr<FdoRdbmsOvPropertyMappingClass> FdoRdbmsOvPropertyMappingClassP; 00058 00059 //DOM-IGNORE-END 00060 00061 #endif 00062
Comments? |