OSGeo FDO Provider for SHP API Reference

OSGeo FDO Provider for SHP - API

API Reference OSGeo FDO Provider for SHP

mgClassDefinition.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 FdoShpOvClassDefinition;
00022 
00023 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_SHP_OVERRIDE
00024 public __gc class PropertyDefinition;
00025 public __gc class PropertyDefinitionCollection;
00026 
00027 /// <summary> 
00028 /// The FdoShpOvClassDefinition class defines a raster image which contains a name 
00029 /// and the extents of the raster image.
00030 /// </summary>
00031 public __gc class ClassDefinition : public NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalClassMapping
00032 {
00033 public:
00034     /// <summary>Constructs a new empty class definition.</summary>
00035     ClassDefinition();
00036 
00037     __property NAMESPACE_OSGEO_FDO_PROVIDERS_SHP_OVERRIDE::PropertyDefinitionCollection* get_Properties();
00038     
00039     __property System::String* get_ShapeFile();
00040 
00041     __property System::Void set_ShapeFile(System::String* location);
00042 
00043     // Helper method to find a property mapping by its column name:
00044     NAMESPACE_OSGEO_FDO_PROVIDERS_SHP_OVERRIDE::PropertyDefinition* FindByColumnName(System::String* columnName);
00045 
00046 public private:
00047     ClassDefinition(System::IntPtr unmanaged, System::Boolean autoDelete);
00048 
00049     inline FdoShpOvClassDefinition* GetImpObj();
00050 };
00051 
00052 END_NAMESPACE_OSGEO_FDO_PROVIDERS_SHP_OVERRIDE

Comments?