pdfobjects::ChangePdfOperatorIterator Struct Reference

#include <pdfoperatorsiter.h>

Inheritance diagram for pdfobjects::ChangePdfOperatorIterator:
iterator::DoubleListIterator< Item >

List of all members.

Public Member Functions

 ChangePdfOperatorIterator (ListItem oper)
virtual bool validItem () const

Static Public Attributes

static const size_t MAX_OPS_TO_CHECK = 5

Detailed Description

Decides if the operator is from content stream of our change or not.


Constructor & Destructor Documentation

pdfobjects::ChangePdfOperatorIterator::ChangePdfOperatorIterator ( ListItem  oper  )  [inline]

Member Function Documentation

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.

Returns:
True if the item is supported by this type of iterator, false otherwise.

Reimplemented from iterator::DoubleListIterator< Item >.

References iterator::DoubleListIterator< Item >::_cur, and pdfobjects::ContentsChangeTag::CHANGE_TAG_NAME.

Referenced by ChangePdfOperatorIterator().


Member Data Documentation

If not found in MAX_OPS_TO_CHECK operators, it is not our change.

Referenced by ChangePdfOperatorIterator().


The documentation for this struct was generated from the following file: