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 #include "Runtime\Disposable.h" 00022 00023 class FdoStringElement; 00024 00025 BEGIN_NAMESPACE_OSGEO_COMMON 00026 00027 /// \ingroup (OSGeoFDOCommon) 00028 /// \brief 00029 /// StringElement is an element in a StringCollection. 00030 public __sealed __gc class StringElement : public NAMESPACE_OSGEO_RUNTIME::Disposable 00031 { 00032 public: 00033 /// \brief 00034 /// Constructs a new string element based on an input string 00035 /// 00036 /// \param value 00037 /// The string value of the element. 00038 /// 00039 StringElement(System::String* value); 00040 00041 /// \brief 00042 /// Constructs a string elemnet based on an unmanaged instance of the object 00043 /// 00044 /// \param unmanaged 00045 /// Input A Pointer to the unmanaged string element. 00046 /// 00047 /// \param autoDelete 00048 /// Input Indicates if the constructed element should be automatically deleted 00049 /// once it no longer referenced. 00050 /// 00051 StringElement(System::IntPtr unmanaged, System::Boolean autoDelete); 00052 00053 /// \cond DOXYGEN-IGNORE 00054 protected: 00055 System::Void ReleaseUnmanagedObject(); 00056 00057 public private: 00058 inline FdoStringElement* GetImpObj(); 00059 /// \endcond 00060 }; 00061 00062 END_NAMESPACE_OSGEO_COMMON 00063 00064
Comments or suggestions? Send us feedback. |