Home | History | Annotate | Download | only in include

Lines Matching defs:nIndex

61     int nIndex = Find(t);
62 if(nIndex==-1) return FALSE;
63 return RemoveAt(nIndex);
65 WINBOOL RemoveAt(int nIndex) {
66 if(nIndex!=(m_nSize - 1))
67 memmove((void*)&m_aT[nIndex],(void*)&m_aT[nIndex + 1],(m_nSize - (nIndex + 1))*sizeof(T));
79 T &operator[] (int nIndex) const {
80 _ASSERTE(nIndex >= 0 && nIndex < m_nSize);
81 return m_aT[nIndex];
84 void SetAtIndex(int nIndex,T &t) {
85 _ASSERTE(nIndex >= 0 && nIndex < m_nSize);
86 m_aT[nIndex] = t;