FDO .NET API Reference Feature Data Objects

mgILTConflictDirectiveEnumeratorImp.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\LongTransaction\mgILTConflictDirectiveEnumerator.h"
00022 #include "FDO\Commands\LongTransaction\mgLongTransactionConflictResolution.h"
00023 
00024 class FdoILongTransactionConflictDirectiveEnumerator;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS
00027 public __gc class PropertyValueCollection;
00028 END_NAMESPACE_OSGEO_FDO_COMMANDS
00029 
00030 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00031 
00032 /// \ingroup (OSGeoFDOCommandsLongTransaction)
00033 /// \brief
00034 /// The ILongTransactionConflictDirectiveEnumeratorImp class is a concrete
00035 /// implementation of ILongTransactionConflictDirectiveEnumerator.
00036 /// The ILongTransactionConflictDirective interface is used to specify how
00037 /// conflict should be resolved for a particular object.
00038 private __gc class ILongTransactionConflictDirectiveEnumeratorImp : public NAMESPACE_OSGEO_RUNTIME::Disposable, 
00039                                                                     public NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::ILongTransactionConflictDirectiveEnumerator
00040 {
00041 public:
00042     /// \brief
00043     /// Gets the class name of the current feature in conflict.
00044     /// 
00045     /// \return
00046     /// Returns the class name
00047     /// 
00048     __property System::String* get_FeatureClassName();
00049 
00050     /// \brief
00051     /// Returns PropertyValueCollection containing the property values that
00052     /// uniquely identify the current feature in conflict.
00053     /// 
00054     /// \return
00055     /// Returns PropertyValueCollection
00056     /// 
00057     __property NAMESPACE_OSGEO_FDO_COMMANDS::PropertyValueCollection* get_Identity();
00058 
00059     /// \brief
00060     /// Gets the LongTransactionConflictResolution value to use for the current
00061     /// feature. The default value is LongTransactionConflictResolution_Child.
00062     /// 
00063     /// \return
00064     /// Returns LongTransactionConflictResolution value
00065     /// 
00066     __property NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionConflictResolution get_Resolution();
00067 
00068     /// \brief
00069     /// Sets the LongTransactionConflictResolution value to use for the current
00070     /// feature. The default value is LongTransactionConflictResolution_Child.
00071     /// 
00072     /// \param value 
00073     /// Input the LongTransactionConflictResolution value
00074     /// 
00075     /// \return
00076     /// Returns nothing
00077     /// 
00078     __property System::Void set_Resolution(NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionConflictResolution value);
00079 
00080     /// \brief
00081     /// Returns the number of conflicts reported by this enumerator.
00082     /// 
00083     /// \return
00084     /// Returns the number of conflicts
00085     /// 
00086     __property System::Int32 get_Count();
00087 
00088     /// \brief
00089     /// Advances the enumerator to the next conflict. The default position of the
00090     /// enumerator is prior to the first item. Thus, you must call ReadNext
00091     /// to begin accessing any data. ReadNext returns true until the end of the
00092     /// directives is reached. After the end of the directives is passed,
00093     /// subsequent calls to ReadNext return false until Reset is called.
00094     /// 
00095     /// \return
00096     /// Returns True until the end of the
00097     /// directives is reached
00098     /// 
00099     System::Boolean ReadNext();
00100 
00101     /// \brief
00102     /// Sets the enumerator to its initial position, which is before the first
00103     /// conflict.
00104     /// 
00105     /// \return
00106     /// Returns nothing
00107     /// 
00108     System::Void Reset();
00109 
00110 /// \cond DOXYGEN-IGNORE
00111 protected:
00112     __sealed System::Void ReleaseUnmanagedObject();
00113 /// \endcond
00114 
00115 public private:
00116     ILongTransactionConflictDirectiveEnumeratorImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_RUNTIME::Disposable(unmanaged, autoDelete)
00117     {
00118 
00119     }
00120 
00121     inline FdoILongTransactionConflictDirectiveEnumerator* GetImpObj();
00122 };
00123 
00124 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00125 
00126 

Comments or suggestions? Send us feedback.