diff --git a/xflaim/csharp/xflaim/DataVector.cpp b/xflaim/csharp/xflaim/DataVector.cpp index dcc48e1..a332af0 100644 --- a/xflaim/csharp/xflaim/DataVector.cpp +++ b/xflaim/csharp/xflaim/DataVector.cpp @@ -514,3 +514,13 @@ FLMEXTC FLMEXP RCODE FLMAPI xflaim_DataVector_inputData( return( pDataVector->inputData( pDb, (FLMUINT)ui32IndexNum, pucData, (FLMUINT)i32DataLen)); } + +/**************************************************************************** +Desc: +****************************************************************************/ +FLMEXTC FLMEXP void FLMAPI xflaim_DataVector_reset( + FLMUINT64 ui64This) +{ + IF_DataVector * pDataVector = ((IF_DataVector *)(FLMUINT)ui64This); + pDataVector->reset(); +} diff --git a/xflaim/csharp/xflaim/DataVector.cs b/xflaim/csharp/xflaim/DataVector.cs index d0991d4..8a44cdc 100644 --- a/xflaim/csharp/xflaim/DataVector.cs +++ b/xflaim/csharp/xflaim/DataVector.cs @@ -1058,5 +1058,21 @@ namespace xflaim byte [] pucData, int iDataLen); +//----------------------------------------------------------------------------- +// reset +//----------------------------------------------------------------------------- + + /// + /// Reset the contents of a data vector. + /// + public void reset() + { + xflaim_DataVector_reset( m_pDataVector); + } + + [DllImport("xflaim")] + private static extern RCODE xflaim_DataVector_reset( + ulong pDataVector); + } }