pdfobjects::StateUpdater::CheckTypes Struct Reference

#include <stateupdater.h>

List of all members.

Public Attributes

char name [MAX_OPERATOR_NAMELEN]
int argNum
unsigned short types [MAX_OPERANDS]
GfxState *(* update )(GfxState *, boost::shared_ptr< GfxResources >, const boost::shared_ptr< PdfOperator >, const PdfOperator::Operands &, BBox *rc)
char endTag [MAX_OPERATOR_NAMELEN]

Detailed Description

Structure representing one operator.

It is used to find an update function, which alters graphical state according to the operator and its operands.

It is also used to check whether the operand count and type match the pdf specification of an operator. It the argument number is less than zero, arbitrary number of operands is allowed up to the absolute value of argNum.

If the operator is a composite, endTag is the string representation of the ending operator of the composite.


Member Data Documentation

Number of operator arguments.

Referenced by pdfobjects::StateUpdater::updatePdfOperators().

If it is a complex type, its end tag.

Referenced by pdfobjects::isSimpleOp().

Operator name.

Referenced by pdfobjects::isTextOp().

Bits represent which types are allowed.

GfxState*(* pdfobjects::StateUpdater::CheckTypes::update)(GfxState *, boost::shared_ptr< GfxResources >, const boost::shared_ptr< PdfOperator >, const PdfOperator::Operands &, BBox *rc)

Function to execute when updating position.

Referenced by pdfobjects::StateUpdater::updatePdfOperators().


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