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"
22 /// A class to hold an error item
25 std::string description;
27 lyx::pos_type pos_start;
28 lyx::pos_type pos_end;
29 ErrorItem(std::string const & error, std::string const & description,
30 int parid, lyx::pos_type posstart, lyx::pos_type posend);
34 class ErrorList : private std::vector<ErrorItem>
37 ErrorList() : std::vector<ErrorItem> () {};
39 using std::vector<ErrorItem>::push_back;
40 using std::vector<ErrorItem>::end;
41 using std::vector<ErrorItem>::begin;
42 using std::vector<ErrorItem>::operator[];
43 using std::vector<ErrorItem>::size;
44 using std::vector<ErrorItem>::clear;
45 using std::vector<ErrorItem>::empty;
46 using std::vector<ErrorItem>::const_iterator;