FDO .NET API Reference Feature Data Objects

mgIActivateSpatialContext.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\mgICommand.h"
00022 
00023 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT
00024 
00025 /// \ingroup (OSGeoFDOCommandsSpatialContext)
00026 /// \interface OSGeo::FDO::Commands::SpatialContext::IActivateSpatialContext
00027 /// \brief
00028 /// The IActivateSpatialContext interface defines the ActivateSpatialContext
00029 /// command, which activates a specified spatial context. Input to the command
00030 /// is the name of the context to activate.
00031 public __gc __interface IActivateSpatialContext : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommand
00032 {
00033 public:
00034     /// \brief
00035     /// Gets the name of the context to activate as a string.
00036     /// 
00037     /// \return
00038     /// Returns the name of the spatial context
00039     /// 
00040     __property System::String* get_Name();
00041 
00042     /// \brief
00043     /// Sets the name of the context to activate as a string.
00044     /// 
00045     /// \param value 
00046     /// Input the name of the spatial context
00047     /// 
00048     /// \return
00049     /// Returns nothing
00050     /// 
00051     __property System::Void set_Name(System::String* value);
00052 
00053     /// \brief
00054     /// Executes the ActivateSpatialContext command. An exception is thrown
00055     /// if the spatial context does not exist.
00056     /// 
00057     /// \return
00058     /// Returns nothing
00059     /// 
00060     System::Void Execute();
00061 };
00062 
00063 END_NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT
00064 
00065 

Comments or suggestions? Send us feedback.