Added reset method to DataVector class in C#.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@900 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-09-22 15:50:39 +00:00
parent 1af19b5395
commit cb33c2f06b
2 changed files with 26 additions and 0 deletions

View File

@@ -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();
}

View File

@@ -1058,5 +1058,21 @@ namespace xflaim
byte [] pucData,
int iDataLen);
//-----------------------------------------------------------------------------
// reset
//-----------------------------------------------------------------------------
/// <summary>
/// Reset the contents of a data vector.
/// </summary>
public void reset()
{
xflaim_DataVector_reset( m_pDataVector);
}
[DllImport("xflaim")]
private static extern RCODE xflaim_DataVector_reset(
ulong pDataVector);
}
}