FDO .NET API Reference | Feature Data Objects |
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 FdoXmlNameCollectionHandler; 00022 00023 BEGIN_NAMESPACE_OSGEO_FDO_XML 00024 00025 /// \ingroup (OSGeoFDOXml) 00026 /// \brief 00027 /// XmlNameCollectionHandler is a class for serializing and 00028 /// deserializing fdo:NameCollectionType elements. 00029 public __gc class XmlNameCollectionHandler : public NAMESPACE_OSGEO_COMMON_XML::XmlSaxHandler 00030 { 00031 public: 00032 /// \brief 00033 /// Constructs an Fdo XML Name Collection Handler. 00034 /// 00035 XmlNameCollectionHandler(); 00036 00037 /// \brief 00038 /// Constructs an Fdo XML Name Collection Handler. 00039 /// 00040 /// \param names 00041 /// Input the collection of names. Any names deserialized 00042 /// will be added to this collection. If NULL then an internal empty 00043 /// name collection is created. 00044 /// 00045 XmlNameCollectionHandler(NAMESPACE_OSGEO_COMMON::StringCollection* names); 00046 00047 /// \brief 00048 /// Gets the collection of names 00049 /// 00050 /// \return 00051 /// Returns the element content. 00052 /// 00053 NAMESPACE_OSGEO_COMMON::StringCollection* GetNames(); 00054 00055 public private: 00056 XmlNameCollectionHandler(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_COMMON_XML::XmlSaxHandler(unmanaged, autoDelete) 00057 { 00058 00059 } 00060 00061 inline FdoXmlNameCollectionHandler* GetImpObj(); 00062 00063 /// \cond DOXYGEN-IGNORE 00064 protected: 00065 System::Void ReleaseUnmanagedObject(); 00066 /// \endcond 00067 }; 00068 00069 END_NAMESPACE_OSGEO_FDO_XML 00070 00071
Comments or suggestions? Send us feedback. |