API Reference | OSGeo FDO Provider for MySQL |
00001 #ifndef FDO_RDBMSOVPROPERTYMAPPINGRCONCRETE_H 00002 #define FDO_RDBMSOVPROPERTYMAPPINGRCONCRETE_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 ///<summary> 00029 ///Abstract class defining the physical schema overrides for the Concrete 00030 ///type object property mapping. Under the Concrete mapping type, each object 00031 ///property is kept in its own table. 00032 ///</summary> 00033 class FdoRdbmsOvPropertyMappingConcrete : public virtual FdoRdbmsOvPropertyMappingRelation 00034 { 00035 00036 public: 00037 //DOM-IGNORE-BEGIN 00038 00039 // XML Serialization functions, not part of the API. 00040 00041 // Serialize this property to XML. 00042 FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags); 00043 00044 // Initialize this element from its XML attributes 00045 FDORDBMS_OV_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs); 00046 00047 //DOM-IGNORE-END 00048 00049 protected: 00050 FDORDBMS_OV_API FdoRdbmsOvPropertyMappingConcrete(); 00051 FDORDBMS_OV_API virtual ~FdoRdbmsOvPropertyMappingConcrete(); 00052 00053 // Handle sub-elements when deserializing from XML. 00054 FDORDBMS_OV_API virtual FdoXmlSaxHandler* XmlStartElement( 00055 FdoXmlSaxContext* context, 00056 FdoString* uri, 00057 FdoString* name, 00058 FdoString* qname, 00059 FdoXmlAttributeCollection* atts 00060 ); 00061 00062 private: 00063 }; 00064 00065 ///<summary> 00066 ///FdoRdbmsOvPropertyMappingConcreteP is a FdoPtr on 00067 ///FdoRdbmsOvPropertyMappingConcrete, provided for convenience. 00068 ///</summary> 00069 typedef FdoPtr<FdoRdbmsOvPropertyMappingConcrete> FdoRdbmsOvPropertyMappingConcreteP; 00070 00071 #endif 00072 00073
Comments? |