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

mgIGetFeatureClassStyles.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 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS
00022 
00023 ///<summary>
00024 /// This command gets the styles list supportted by specified FeatureClass
00025 /// from WMS service.
00026 ///</summary>
00027 public __gc __interface IGetFeatureClassStyles : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommand
00028 {
00029 public:
00030     /// <summary>
00031     /// Sets the name of the FeatureClass in WMS service.
00032     /// This function is mandatory; if not specified, 
00033     /// execution of the command will throw exception. 
00034     /// </summary>
00035     /// <param name="name">
00036     /// The FeatureClass name.
00037     /// </param>
00038     /// <returns>
00039     /// Returns nothing.
00040     /// </returns> 
00041     __property System::Void set_FeatureClassName(System::String* name);
00042 
00043     /// <summary>
00044     /// Gets the name of FeatureClass to get the supportted styles.
00045     /// </summary>
00046     /// <returns>
00047     ///  Returns the name of the FeatureClass name.
00048     /// </returns> 
00049     __property System::String* get_FeatureClassName();
00050 
00051     /// <summary>
00052     /// Executes the IGetFeatureClassStyles command and returns a StringCollection
00053     /// which contains all styles supported by specified feature class
00054     /// and all styles supported by its ancestors. WMS services support Style 
00055     /// declarations inherited by child Layers. 
00056     /// </summary>
00057     /// <returns>
00058     /// Returns a string collection of styles supportted by specific featureclass.
00059     /// </returns>
00060     NAMESPACE_OSGEO_COMMON::StringCollection* Execute();
00061 };
00062 
00063 END_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS
Please send us your comment about this page