5 using std::stringstream;
29 if(i > (
Size() -1) ) {
31 msg<<
"QEventList::operator[]: index "
32 <<i<<
" is out of range (size is "<<
Size()<<
")";
40 if(i > (
Size() -1) ) {
42 msg<<
"QEventList::operator[]: index "
43 <<i<<
" is out of range (size is "<<
Size()<<
")";
#define Q_BEGIN_NAMESPACE
error class with error type and description
void Pop()
remove the first QEvent in the list
std::vector< const QEvent * > fEvents
underlying vector of QEvent (s) references
const QEvent & operator[](const size_t i)
operator[], if out of range throws an exception
void Push(const QEvent *obj)
add a QEvent
size_t Size() const
number of QEvent (s)