Lines Matching refs:index
166 wxClientDataDictionaryPair( size_t idx ) : index( idx ), data( 0 ) { }
168 size_t index;
197 // if data for the given index is not present, add it,
200 void Set( size_t index, wxClientData* data, bool doDelete )
202 size_t ptr = Find( index );
215 m_vec.push_back( wxClientDataDictionaryPair( index ) );
225 // get the data associated with the given index,
227 wxClientData* Get( size_t index ) const
229 size_t it = Find( index );
234 // delete the data associated with the given index
236 // with an index greater than the given index
237 void Delete( size_t index, bool doDelete )
243 if( m_vec[i].index == index )
245 else if( m_vec[i].index > index )
246 --(m_vec[i].index);
258 size_t Find( size_t index ) const
262 if( m_vec[i].index == index )