• Main Page
  • Classes
  • Files
  • File List
  • File Members

mgIGetImageFormatsImp.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2007  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 FdoWmsIGetImagefromats;
00022 
00023 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS
00024 
00025 ///<summary>
00026 /// This command gets all the image formats supported by a specified WMS service.
00027 ///</summary>
00028 public __gc class GetImageFormatsCommand : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, public NAMESPACE_OSGEO_FDO_PROVIDERS_WMS::IGetImageFormats
00029 {
00030 public:
00031     /// <summary>
00032     /// Constructs a WMS GetImageFormats command using the result
00033     /// returned from IConnection::CreateCommand(). This constructor is provided 
00034     /// in order that clients are provided a mechanism to downcast from the FDO 
00035     /// ICommand interface to an FDO Provider specific interface that derives from ICommand. 
00036     /// This constructor is the only mechanism provided by the FDO Managed API that will 
00037     /// allow the client to correctly construct a provider specific ICommand instance. 
00038     /// </summary>
00039     GetImageFormatsCommand(NAMESPACE_OSGEO_FDO_COMMANDS::ICommand* command, System::Boolean autoDelete);
00040 
00041     /// <summary>
00042     /// Executes the command. An exception is thrown if the feature class is NULL.
00043     /// </summary>
00044     /// <returns>
00045     /// Returns a list of image formats supportted by WMS service.
00046     /// </returns>
00047     NAMESPACE_OSGEO_COMMON::StringCollection* Execute();
00048 
00049 public private:
00050     GetImageFormatsCommand(System::IntPtr unmanaged, System::Boolean autoDelete);
00051 
00052     inline FdoWmsIGetImagefromats* GetImpObj();
00053 };
00054 
00055 END_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS
Please send us your comment about this page