FDO .NET API Reference Feature Data Objects

mgIDestroyMeasureUnitImp.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\mgICommandImp.h"
00022 #include "FDO\Commands\UnitOfMeasure\mgIDestroyMeasureUnit.h"
00023 
00024 class FdoIDestroyMeasureUnit;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE
00027 
00028 /// \ingroup (OSGeoFDOCommandsUnitOfMeasure)
00029 /// \brief
00030 /// The IDestroyMeasureUnitImp class is a concrete implementation of IDestroyMeasureUnit.
00031 /// The IDestroyMeasureUnit interface defines the DestroyMeasureUnit command,
00032 /// which deletes a measurement unit. Input to the command is simply the
00033 /// abbreviation of the measure unit to be destroyed.
00034 private __gc class IDestroyMeasureUnitImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 
00035                                             public NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE::IDestroyMeasureUnit
00036 {
00037 public:
00038     /// \brief
00039     /// Gets the abbreviation of the measure unit to destroy as a string
00040     /// 
00041     /// \return
00042     /// Returns the abbreviation of the measure unit to be deleted.
00043     /// 
00044     __property System::String* get_Abbreviation();
00045 
00046     /// \brief
00047     /// Sets the abbreviation of the measure unit to destroy as a string
00048     /// 
00049     /// \param value 
00050     /// Input the abbreviation of the measure unit to be deleted.
00051     /// 
00052     /// \return
00053     /// Returns nothing
00054     /// 
00055     __property System::Void set_Abbreviation(System::String* value);
00056 
00057     /// \brief
00058     /// Executes the DestroyMeasureUnit command.
00059     /// 
00060     /// \return
00061     /// Returns nothing
00062     /// 
00063     System::Void Execute();
00064 
00065 public private:
00066     IDestroyMeasureUnitImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00067     {
00068 
00069     }
00070 
00071     inline FdoIDestroyMeasureUnit* GetImpObj();
00072 };
00073 
00074 END_NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE
00075 
00076 

Comments or suggestions? Send us feedback.