FDO .NET API Reference Feature Data Objects

mgObjectFactory.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 #include "mgGeometryType.h"
00022 
00023 BEGIN_NAMESPACE_OSGEO_RUNTIME
00024 public __gc class Disposable;
00025 END_NAMESPACE_OSGEO_RUNTIME
00026 
00027 BEGIN_NAMESPACE_OSGEO_COMMON_IO
00028 public __gc class IoStream;
00029 public __gc class IoTextWriter;
00030 public __gc class IoTextReader;
00031 END_NAMESPACE_OSGEO_COMMON_IO
00032 
00033 BEGIN_NAMESPACE_OSGEO_COMMON_XML
00034 public __gc __interface IXmlSaxHandler;
00035 public __gc class XmlReader;
00036 public __gc class XmlWriter;
00037 public __gc class XmlSaxContext;
00038 public __gc class XmlAttributeCollection;
00039 public __gc class XmlAttribute;
00040 END_NAMESPACE_OSGEO_COMMON_XML
00041 
00042 BEGIN_NAMESPACE_OSGEO_COMMON
00043 public __gc __interface IStreamReader;
00044 public __gc class StringElement;
00045 public __gc class DictionaryElement;
00046 public __gc class DictionaryElementCollection;
00047 public __gc class StringCollection;
00048 
00049 /// \ingroup (OSGeoFDOCommon)
00050 public __gc __sealed class ObjectFactory
00051 {
00052 public:
00053     static NAMESPACE_OSGEO_COMMON::DictionaryElementCollection* CreateDictionaryElementCollection(System::IntPtr ptr, System::Boolean autoDispose);
00054     static NAMESPACE_OSGEO_COMMON::StringElement* CreateStringElement(System::IntPtr ptr, System::Boolean autoDispose);
00055     static NAMESPACE_OSGEO_COMMON::DictionaryElement* CreateDictionaryElement(System::IntPtr ptr, System::Boolean autoDispose);
00056     static NAMESPACE_OSGEO_COMMON::StringCollection* CreateStringCollection(System::IntPtr ptr, System::Boolean autoDispose);
00057     static NAMESPACE_OSGEO_COMMON::IStreamReader* CreateIStreamReader(System::IntPtr ptr, System::Boolean autoDispose);
00058 
00059     static NAMESPACE_OSGEO_COMMON_XML::XmlReader* CreateXmlReader(System::IntPtr ptr, System::Boolean autoDispose);
00060     static NAMESPACE_OSGEO_COMMON_XML::XmlWriter* CreateXmlWriter(System::IntPtr ptr, System::Boolean autoDispose);
00061     static NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext* CreateXmlSaxContext(System::IntPtr ptr, System::Boolean autoDispose);
00062     static NAMESPACE_OSGEO_COMMON_XML::XmlAttributeCollection* CreateXmlAttributeCollection(System::IntPtr ptr, System::Boolean autoDispose);
00063     static NAMESPACE_OSGEO_COMMON_XML::XmlAttribute* CreateXmlAttribute(System::IntPtr ptr, System::Boolean autoDispose);
00064     static NAMESPACE_OSGEO_COMMON_XML::IXmlSaxHandler* CreateIXmlSaxHandler(System::IntPtr ptr, System::Boolean autoDispose);
00065 
00066     static NAMESPACE_OSGEO_COMMON_IO::IoTextWriter* CreateIoTextWriter(System::IntPtr ptr, System::Boolean autoDispose);
00067     static NAMESPACE_OSGEO_COMMON_IO::IoTextReader* CreateIoTextReader(System::IntPtr ptr, System::Boolean autoDispose);
00068     static NAMESPACE_OSGEO_COMMON_IO::IoStream* CreateIoStream(System::IntPtr ptr, System::Boolean autoDispose);
00069 
00070 private:
00071     ObjectFactory(){}
00072 };
00073 
00074 END_NAMESPACE_OSGEO_COMMON
00075 
00076 

Comments or suggestions? Send us feedback.