// NOTE: Maybe we should't ask for nIndex since this table is supposed to be sorted // we could sort ourselves? public bool addVTableRecordCache(ushort nIndex, vTableRecordCache vtrc) { bool bResult = true; if (nIndex > m_recs) { bResult = false; throw new ArgumentOutOfRangeException("nIndex is greater than the number of records + 1."); } m_entry.Insert(nIndex, vtrc); return(bResult); }
public bool addVTableRecordCache(ushort nIndex, ushort yPelHeight, short yMax, short yMin) { bool bResult = true; if (nIndex > m_recs) { bResult = false; throw new ArgumentOutOfRangeException("nIndex is greater than the number of records + 1."); } vTableRecordCache vtrc = new vTableRecordCache(yPelHeight, yMax, yMin); bResult = addVTableRecordCache(nIndex, vtrc); return(bResult); }
public bool addVTableRecordCache( ushort nIndex, ushort yPelHeight, short yMax, short yMin ) { bool bResult = true; if( nIndex > m_recs ) { bResult = false; throw new ArgumentOutOfRangeException( "nIndex is greater than the number of records + 1." ); } vTableRecordCache vtrc = new vTableRecordCache( yPelHeight, yMax, yMin ); bResult = addVTableRecordCache( nIndex, vtrc ); return bResult; }
// NOTE: Maybe we should't ask for nIndex since this table is supposed to be sorted // we could sort ourselves? public bool addVTableRecordCache( ushort nIndex, vTableRecordCache vtrc ) { bool bResult = true; if( nIndex > m_recs ) { bResult = false; throw new ArgumentOutOfRangeException( "nIndex is greater than the number of records + 1." ); } m_entry.Insert( nIndex, vtrc ); return bResult; }