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/docstring.h"
25 /// A class to hold an error item
29 docstring description;
33 ErrorItem(docstring const & error, docstring const & description,
34 int parid, pos_type posstart, pos_type posend);
39 class ErrorList : private std::vector<ErrorItem>
42 ErrorList() : std::vector<ErrorItem> () {};
44 using std::vector<ErrorItem>::push_back;
45 using std::vector<ErrorItem>::end;
46 using std::vector<ErrorItem>::begin;
47 using std::vector<ErrorItem>::operator[];
48 using std::vector<ErrorItem>::size;
49 using std::vector<ErrorItem>::clear;
50 using std::vector<ErrorItem>::empty;
51 using std::vector<ErrorItem>::const_iterator;