Lines Matching refs:idx
111 /// \a file starting \a idx entries into the file spec list.
113 /// @param[in] idx
127 FindFileIndex (size_t idx, const FileSpec &file, bool full) const;
132 /// Gets a file from the file list. If \a idx is not a valid index,
137 /// @param[in] idx
141 /// A copy of the FileSpec object at index \a idx. If \a idx
146 GetFileSpecAtIndex (size_t idx) const;
154 /// @param[in] idx
158 /// A pointer to a contained FileSpec object at index \a idx.
159 /// If \a idx is out of range, then an NULL is returned.
162 GetFileSpecPointerAtIndex (size_t idx) const;
195 Insert (size_t idx, const FileSpec &file)
197 if (idx < m_files.size())
199 m_files.insert(m_files.begin() + idx, file);
202 else if (idx == m_files.size())
211 Replace (size_t idx, const FileSpec &file)
213 if (idx < m_files.size())
215 m_files[idx] = file;
222 Remove (size_t idx)
224 if (idx < m_files.size())
226 m_files.erase(m_files.begin() + idx);