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/types.h"
16 #include "support/docstring.h"
26 /// A class to hold an error item
30 docstring description;
34 ErrorItem(docstring const & error, docstring const & description,
35 int parid, pos_type posstart, pos_type posend);
40 class ErrorList : private std::vector<ErrorItem>
43 ErrorList() : std::vector<ErrorItem> () {};
45 using std::vector<ErrorItem>::push_back;
46 using std::vector<ErrorItem>::end;
47 using std::vector<ErrorItem>::begin;
48 using std::vector<ErrorItem>::operator[];
49 using std::vector<ErrorItem>::size;
50 using std::vector<ErrorItem>::clear;
51 using std::vector<ErrorItem>::empty;
52 using std::vector<ErrorItem>::const_iterator;