OSGeo FDO Provider for WMS .NET API Reference

From OSGeo FDO WMS .NET API

.NET API Reference OSGeo FDO Provider for WMS

mgOvLayerDefinition.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 
00020 #pragma once
00021 
00022 class FdoWmsOvLayerDefinition;
00023 
00024 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE
00025 public __gc class OvStyleDefinition;
00026 
00027 /// <summary> 
00028 /// The FdoWmsOvLayerDefinition class defines a WMS style that will be used to stylize a WMS layer.
00029 /// </summary>
00030 public __gc class OvLayerDefinition : public NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalElementMapping
00031 {
00032 public:
00033     /// <summary>Constructs a new empty layer definition.</summary>
00034     OvLayerDefinition();
00035 
00036     /// <summary>Gets the WMS style that will be used to render a WMS 
00037     /// layer in a composit WMS image.</summary>
00038     /// <returns>Returns the style definition.</returns> 
00039     /// <remarks>If the server advertises several styles for a layer, and the style 
00040     /// definition is either set to the default style or not specified at all, the 
00041     /// choice of which style to use as default is at the discretion of the server.</remarks>
00042     __property NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE::OvStyleDefinition* get_Style();
00043 
00044     /// <summary>Sets the WMS style that will be used to render a WMS 
00045     /// layer in a composit WMS image.</summary>
00046     /// <returns>Returns nothing.</returns> 
00047     /// <remarks>If the server advertises several styles for a layer, and the style 
00048     /// definition is either set to the default style or not specified at all, the 
00049     /// choice of which style to use as default is at the discretion of the server.</remarks>
00050     __property System::Void set_Style(NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE::OvStyleDefinition* style);
00051 
00052 public private:
00053     OvLayerDefinition(System::IntPtr unmanaged, System::Boolean autoDelete);
00054 
00055     inline FdoWmsOvLayerDefinition* GetImpObj();
00056 };
00057 
00058 END_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE

Comments?