FDO API Reference Feature Data Objects

LongTransactionConflictResolution.h

Go to the documentation of this file.
00001 #ifndef _LONGTRANSACTIONCONFLICTRESOLUTION_H_
00002 #define _LONGTRANSACTIONCONFLICTRESOLUTION_H_
00003 //
00004 
00005 //
00006 // Copyright (C) 2004-2006  Autodesk, Inc.
00007 // 
00008 // This library is free software; you can redistribute it and/or
00009 // modify it under the terms of version 2.1 of the GNU Lesser
00010 // General Public License as published by the Free Software Foundation.
00011 // 
00012 // This library is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 // Lesser General Public License for more details.
00016 // 
00017 // You should have received a copy of the GNU Lesser General Public
00018 // License along with this library; if not, write to the Free Software
00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 //
00021 
00022 #ifdef _WIN32
00023 #pragma once
00024 #endif
00025 
00026 /// \brief
00027 /// The FdoLongTransactionConflictResolution enumeration defines the list of
00028 /// available options for resolving conflict.
00029 /// <param name="FdoLongTransactionConflictResolution_Unresolved">
00030 /// Indicates that the conflict cannot be resolved.
00031 /// </param>
00032 /// <param name="FdoLongTransactionConflictResolution_Child">
00033 /// Indicates the data is to be kept as defined in the long transaction to be committed,
00034 /// overwriting the data in the long transaction's parent.
00035 /// </param>
00036 /// <param name="FdoLongTransactionConflictResolution_Parent">
00037 /// Indicates the data is to be kept as defined in the versions parent, discarding the data
00038 /// as defined in the long transaction to be committed.
00039 /// </param>
00040 enum FdoLongTransactionConflictResolution
00041 {
00042     //
00043     FdoLongTransactionConflictResolution_Unresolved,
00044 
00045     /// Keep the data as defined in the long transaction to be committed,
00046     /// overwriting the data in the long transaction's parent.
00047     FdoLongTransactionConflictResolution_Child,
00048 
00049     /// Keep the data as defined in the versions parent, discarding the data
00050     /// as defined in the long transaction to be committed.
00051     FdoLongTransactionConflictResolution_Parent
00052 };
00053 #endif
00054 
00055 

Comments or suggestions? Send us feedback.