• Main Page
  • Classes
  • Files

RdbmsOvPropertyMappingConcrete.h

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