API Reference | OSGeo FDO Provider for GDAL |
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 */ 00018 /// <library>GRFPOverrides.lib</library> 00019 00020 #ifndef FDOGRFPRASTERDEFINITION_H 00021 #define FDOGRFPRASTERDEFINITION_H 00022 00023 #ifdef _WIN32 00024 #pragma once 00025 #endif //_WIN32 00026 00027 class FdoGrfpRasterLocationCollection; 00028 00029 /// <summary> 00030 /// The FdoGrfpRasterDefinition class contains a collection of raster locations. 00031 /// </summary> 00032 class FdoGrfpRasterDefinition : public FdoPhysicalElementMapping 00033 { 00034 typedef FdoPhysicalElementMapping BaseType; 00035 friend class FdoGrfpClassDefinition; 00036 00037 public: 00038 /// <summary>Constructs a new Raster Definition.</summary> 00039 /// <returns>Returns the newly created FdoGrfpRasterDefinition instance.</returns> 00040 FDOGRFP_API static FdoGrfpRasterDefinition* Create(); 00041 00042 /// <summary>Gets the collection of raster locations.</summary> 00043 /// <returns>Returns the collection of raster locations.</returns> 00044 FDOGRFP_API FdoGrfpRasterLocationCollection* GetLocations(); 00045 00046 //DOM-IGNORE-BEGIN 00047 00048 // XML Serialization functions, not part of supported API. 00049 FDOGRFP_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs); 00050 FDOGRFP_API virtual FdoXmlSaxHandler* XmlStartElement( 00051 FdoXmlSaxContext* context, 00052 FdoString* uri, 00053 FdoString* name, 00054 FdoString* qname, 00055 FdoXmlAttributeCollection* atts 00056 ); 00057 FDOGRFP_API virtual FdoBoolean XmlEndElement(FdoXmlSaxContext* context, FdoString* uri, FdoString* name, FdoString* qname); 00058 FDOGRFP_API void _writeXml( FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags ); 00059 00060 protected: 00061 FDOGRFP_API FdoGrfpRasterDefinition(void); 00062 FDOGRFP_API virtual ~FdoGrfpRasterDefinition(void); 00063 void Dispose(void); 00064 00065 private: 00066 FdoPtr<FdoGrfpRasterLocationCollection> m_rasterLocations; 00067 00068 //DOM-IGNORE-END 00069 }; 00070 00071 /// <summary> FdoGrfpRasterDefinitionP is a FdoPtr on FdoGrfpRasterDefinition, provided for convenience. </summary> 00072 typedef FdoPtr<FdoGrfpRasterDefinition> FdoGrfpRasterDefinitionP; 00073 00074 #endif
Comments? |