4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alfredo Braunstein
9 * Full author contact details are available in file CREDITS.
15 #include "support/std_string.h"
21 /// A class to hold an error item
28 ErrorItem(string const & error, string const & description,
29 int parid, int posstart, int posend);
33 class ErrorList : private std::vector<ErrorItem>
36 ErrorList() : std::vector<ErrorItem> () {};
38 using std::vector<ErrorItem>::push_back;
39 using std::vector<ErrorItem>::end;
40 using std::vector<ErrorItem>::begin;
41 using std::vector<ErrorItem>::operator[];
42 using std::vector<ErrorItem>::size;
43 using std::vector<ErrorItem>::clear;
44 using std::vector<ErrorItem>::empty;
45 using std::vector<ErrorItem>::const_iterator;