FDO .NET API Reference Feature Data Objects

mgICreateLongTransactionImp.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\LongTransaction\mgICreateLongTransaction.h"
00023 
00024 class FdoICreateLongTransaction;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00027 
00028 /// \ingroup (OSGeoFDOCommandsLongTransaction)
00029 /// \brief
00030 /// The ICreateLongTransactionImp class is a 
00031 /// concrete implementation of ICreateLongTransaction.
00032 /// command which creates a long transaction that is based upon the currently
00033 /// active long transaction. If no long transaction is active, then the long
00034 /// transaction is based upon the root data. Input to the create long
00035 /// transaction command includes a name and description for the new long
00036 /// transaction.
00037 private __gc class ICreateLongTransactionImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 
00038                                                public NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::ICreateLongTransaction
00039 {
00040 public:
00041     /// \brief
00042     /// Gets the name of the long transaction to create as a string.
00043     /// 
00044     /// \return
00045     /// Returns the name of the long transaction
00046     /// 
00047     __property System::String* get_Name();
00048 
00049     /// \brief
00050     /// Sets the name of the long transaction to create as a string.
00051     /// 
00052     /// \param value 
00053     /// Input the name of the long transaction
00054     /// 
00055     /// \return
00056     /// Returns nothing
00057     /// 
00058     __property System::Void set_Name(System::String* value);
00059 
00060     /// \brief
00061     /// Gets the description of the long transaction to create as a string.
00062     /// 
00063     /// \return
00064     /// Returns the description of the long transaction
00065     /// 
00066     __property System::String* get_Description();
00067 
00068     /// \brief
00069     /// Sets the description of the long transaction to create as a string.
00070     /// 
00071     /// \param value 
00072     /// Input the description of the long transaction
00073     /// 
00074     /// \return
00075     /// Returns nothing
00076     /// 
00077     __property System::Void set_Description(System::String* value);
00078 
00079     /// \brief
00080     /// Executes the create long transaction command.
00081     /// 
00082     /// \return
00083     /// Returns nothing
00084     /// 
00085     System::Void Execute();
00086 
00087 public private:
00088     ICreateLongTransactionImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00089     {
00090 
00091     }
00092 
00093     inline FdoICreateLongTransaction* GetImpObj();
00094 };
00095 
00096 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00097 
00098 

Comments or suggestions? Send us feedback.