#include <pdfoperatorsiter.h>
Public Member Functions | |
| ChangePdfOperatorIterator (ListItem oper) | |
| virtual bool | validItem () const |
Static Public Attributes | |
| static const size_t | MAX_OPS_TO_CHECK = 5 |
Decides if the operator is from content stream of our change or not.
| pdfobjects::ChangePdfOperatorIterator::ChangePdfOperatorIterator | ( | ListItem | oper | ) | [inline] |
| virtual bool pdfobjects::ChangePdfOperatorIterator::validItem | ( | ) | const [inline, virtual] |
In the base iterator, loop through all objects. We can overload this function to be able to iterate only over specific items.
Reimplemented from iterator::DoubleListIterator< Item >.
References iterator::DoubleListIterator< Item >::_cur, and pdfobjects::ContentsChangeTag::CHANGE_TAG_NAME.
Referenced by ChangePdfOperatorIterator().
const size_t pdfobjects::ChangePdfOperatorIterator::MAX_OPS_TO_CHECK = 5 [static] |
If not found in MAX_OPS_TO_CHECK operators, it is not our change.
Referenced by ChangePdfOperatorIterator().