API Reference | OSGeo FDO Provider for SHP |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 */ 00017 #ifndef FDOSHPPROPERTYDEFINITION_H 00018 #define FDOSHPPROPERTYDEFINITION_H 00019 00020 #ifdef _WIN32 00021 #pragma once 00022 #endif //_WIN32 00023 00024 #include <SHP/Override/FdoShpColumnDefinition.h> 00025 00026 class FdoShpOvPropertyDefinition : public FdoPhysicalPropertyMapping 00027 { 00028 typedef FdoPhysicalElementMapping BaseType; 00029 00030 public: 00031 FDOSHP_API static FdoShpOvPropertyDefinition* Create(); 00032 00033 public: 00034 FDOSHP_API FdoShpOvColumnDefinition* GetColumn() const; 00035 FDOSHP_API void SetColumn(FdoShpOvColumnDefinition * definition); 00036 00037 FDOSHP_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs); 00038 FDOSHP_API virtual FdoXmlSaxHandler* XmlStartElement(FdoXmlSaxContext* context,FdoString* uri, FdoString* name, FdoString* qname, FdoXmlAttributeCollection* atts); 00039 FDOSHP_API virtual FdoBoolean XmlEndElement(FdoXmlSaxContext* context, FdoString* uri, FdoString* name, FdoString* qname); 00040 FDOSHP_API virtual void _writeXml( FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags ); 00041 00042 protected: 00043 FdoShpOvPropertyDefinition(void); 00044 virtual ~FdoShpOvPropertyDefinition(void); 00045 virtual void Dispose(void); 00046 00047 private: 00048 FdoShpOvColumnDefinitionP m_ColumnDefinition; 00049 }; 00050 00051 typedef FdoPtr<FdoShpOvPropertyDefinition> FdoShpOvPropertyDefinitionP; 00052 00053 #endif // FDOSHPPROPERTYDEFINITION_H 00054 00055
Comments? |