OSGeo FDO Provider for ODBC API Reference

OSGeo FDO Provider for ODBC API

API Reference OSGeo FDO Provider for ODBC

RdbmsOvColumn.h

Go to the documentation of this file.
00001 #ifndef FDO_RDBMSOVCOLUMN_H
00002 #define FDO_RDBMSOVCOLUMN_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 <Fdo.h>
00026 #include <Fdo/Commands/Schema/PhysicalElementMapping.h>
00027 #include <Rdbms/Override/RdbmsOv.h>
00028 
00029 ///<summary>Abstract class defining physical schema overrides for a column.</summary>
00030 class FdoRdbmsOvColumn : public FdoPhysicalElementMapping
00031 {
00032 public:
00033 
00034 //DOM-IGNORE-BEGIN
00035     // Sets the parent of this object. Not part of the API.
00036     FDORDBMS_OV_API void SetParent(FdoPhysicalElementMapping* value);
00037 
00038     // Serialize this override to XML.
00039     FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags);
00040 
00041 protected:
00042     FDORDBMS_OV_API FdoRdbmsOvColumn();
00043     FDORDBMS_OV_API FdoRdbmsOvColumn(FdoString* name);
00044     FDORDBMS_OV_API virtual ~FdoRdbmsOvColumn();
00045 
00046 
00047     // Serialize provider-specific parts of this override to XML.
00048     FDORDBMS_OV_API virtual void _writeXmlContents(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags);
00049 
00050     // Initialize this element from its XML attributes
00051     FDORDBMS_OV_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs);
00052 
00053     FDORDBMS_OV_API virtual FdoXmlSaxHandler* XmlStartElement(
00054         FdoXmlSaxContext* context,
00055         FdoString* uri,
00056         FdoString* name,
00057         FdoString* qname,
00058         FdoXmlAttributeCollection* atts
00059     );
00060 //DOM-IGNORE-END
00061 
00062 private:
00063 };
00064 
00065 ///<summary>FdoRdbmsOvColumnP is a FdoPtr on FdoRdbmsOvColumn, provided for convenience.</summary>
00066 typedef FdoPtr<FdoRdbmsOvColumn> FdoRdbmsOvColumnP;
00067 
00068 
00069 
00070 #endif
00071 

Comments?