• Main Page
  • Classes
  • Files

RdbmsOvPropertyMappingClass.h

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