FDO .NET API Reference Feature Data Objects

mgXmlClassMapping.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 "FDO\Commands\Schema\mgPhysicalClassMapping.h"
00022 
00023 class FdoXmlClassMapping;
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_XML
00026 public __gc class XmlElementMappingCollection;
00027 
00028 /// \ingroup (OSGeoFDOXml)
00029 /// \brief
00030 /// XmlClassMapping describes GML to FDO mappings for a particular FDO class
00031 /// Only mappings that cannot be represented in FDO are described.
00032 public __gc class XmlClassMapping : public NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalClassMapping
00033 {
00034 public:
00035     /// \brief
00036     /// Constructs an object describing the GML-FDO mappings for an FDO class.
00037     /// 
00038     /// \param name 
00039     /// Input class name
00040     /// \param schemaName 
00041     /// Input corresponding type name in GML version of the class's schema.
00042     /// \param wkBaseName 
00043     /// Input name of the most specialized well-known type. This is 
00044     /// set when the type represents geometries and indicates what kind of geometries the type
00045     /// represents. 
00046     /// 
00047     XmlClassMapping(System::String* name, System::String* schemaName, System::String* wkBaseName);
00048 
00049     /// \brief
00050     /// Constructs an object describing the GML-FDO mappings for an FDO class.
00051     /// 
00052     /// \param name 
00053     /// Input class name
00054     /// \param schemaName 
00055     /// Input corresponding type name in GML version of the class's schema.
00056     /// \param wkBaseName 
00057     /// Input name of the most specialized well-known type. This is 
00058     /// set when the type represents geometries and indicates what kind of geometries the type
00059     /// represents. 
00060     /// \param wkSchemaName 
00061     /// Input name of the most specialized well-known schema base type. 
00062     /// 
00063     XmlClassMapping(System::String* name, System::String* schemaName, System::String* wkBaseName, System::String* wkSchemaName);
00064         
00065     /// \brief
00066     /// Gets the name of the class's corresponding GML complexType.
00067     /// 
00068     /// \return
00069     /// Returns System::String.
00070     /// 
00071     __property System::String* get_GmlName();
00072 
00073     /// \brief
00074     /// Gets the most specialized well-known base type
00075     /// 
00076     /// \return
00077     /// Returns System::String.
00078     /// 
00079     __property System::String* get_WkBaseName();
00080 
00081     /// \brief
00082     /// Gets the schema containing most specialized well-known base type
00083     /// 
00084     /// \return
00085     /// Returns System::String.
00086     /// 
00087     __property System::String* get_WkSchemaName();
00088 
00089     /// \brief
00090     /// Gets the mappings between GML elements for this class's properties and their
00091     /// Fdo Classes. 
00092     /// 
00093     /// \return
00094     /// Returns XmlElementMappingCollection*
00095     /// 
00096     __property NAMESPACE_OSGEO_FDO_XML::XmlElementMappingCollection* get_ElementMappings();
00097 
00098 public private:
00099     XmlClassMapping(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalClassMapping(unmanaged, autoDelete)
00100     {
00101     }
00102 
00103     inline FdoXmlClassMapping* GetImpObj();
00104 };
00105 
00106 END_NAMESPACE_OSGEO_FDO_XML
00107 
00108 

Comments or suggestions? Send us feedback.