FDO .NET API Reference Feature Data Objects

mgXmlFeatureContext.h

Go to the documentation of this file.
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 
00019 #pragma  once
00020 
00021 class FdoXmlFeatureContext;
00022 
00023 BEGIN_NAMESPACE_OSGEO_FDO_XML
00024 public __gc class XmlFeaturePropertyReader;
00025 
00026 /// \ingroup (OSGeoFDOXml)
00027 /// \brief
00028 /// XmlFeatureContext provides contextual information to the XmlFeatureHandler 
00029 /// callback implementations when an XML document parse is in progress. This class 
00030 /// provides very rudimentary functionality such as error reporting and access to the 
00031 /// XmlFeaturePropertyReader doing the parse. Applications can pass extra information
00032 /// by sub-classing from this class.
00033 public __gc class XmlFeatureContext : public NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext
00034 {
00035 public:
00036     /// \brief
00037     /// Constructs an XML  feature context
00038     /// 
00039     /// \param value 
00040     /// Input the XmlFeaturePropertyReader that is parsing the XML document.
00041     /// 
00042     XmlFeatureContext(NAMESPACE_OSGEO_FDO_XML::XmlFeaturePropertyReader* value);
00043 
00044     /// \brief
00045     /// Gets the XmlFeaturePropertyReader that is parsing the XML document.
00046     /// 
00047     /// \return
00048     /// Returns XmlFeaturePropertyReader
00049     /// 
00050     NAMESPACE_OSGEO_FDO_XML::XmlFeaturePropertyReader* GetFeaturePropertyReader();
00051 
00052 public private:
00053     XmlFeatureContext(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext(unmanaged, autoDelete)
00054     {
00055         
00056     }
00057 
00058     inline FdoXmlFeatureContext* GetImpObj();
00059 };
00060 
00061 END_NAMESPACE_OSGEO_FDO_XML
00062 
00063 

Comments or suggestions? Send us feedback.