FDO .NET API Reference Feature Data Objects

mgIGetMeasureUnitsImp.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\mgIGetMeasureUnits.h"
00023 
00024 class FdoIGetMeasureUnits;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE
00027 public __gc __interface IMeasureUnitReader;
00028 
00029 /// \ingroup (OSGeoFDOCommandsUnitOfMeasure)
00030 /// \brief
00031 /// The IGetMeasureUnitsImp class is a concrete implementation of IGetMeasureUnits.
00032 /// The IGetMeasureUnits interface defines the GetMeasureUnits command, which
00033 /// enumerates the existing measurement units.
00034 private __gc class IGetMeasureUnitsImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 
00035                                          public NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE::IGetMeasureUnits
00036 {
00037 public:
00038     /// \brief
00039     /// Executes the GetMeasureUnits command and returns an IMeasureUnitReader.
00040     /// 
00041     /// \return
00042     /// Returns the measure unit reader
00043     /// 
00044     NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE::IMeasureUnitReader* Execute();
00045 
00046 public:
00047     /// \brief
00048     /// Constructs an IGetMeasureUnitsImp object based on an unmanaged instance of the object
00049     /// 
00050     /// \param unmanaged 
00051     /// Input A Pointer to the unmanaged object.
00052     /// 
00053     /// \param autoDelete 
00054     /// Input Indicates if the constructed object should be automatically deleted 
00055     /// once it no longer referenced.
00056     /// 
00057     IGetMeasureUnitsImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00058     {
00059 
00060     }
00061 
00062     inline FdoIGetMeasureUnits* GetImpObj();
00063 };
00064 
00065 END_NAMESPACE_OSGEO_FDO_COMMANDS_UNITOFMEASURE
00066 
00067 

Comments or suggestions? Send us feedback.