An interface representing a PDF 1.6+ visibility expression. Please refer to table 4.4.9 of the PDF 1.7 specification for background and detail. More...
#include <optionalcontent.h>
Public Types | |
enum | eVisibilityExpressionOperation { eVEOGroupState , eVEONot , eVEOAnd , eVEOOr } |
The operation of this expression. More... | |
Public Member Functions | |
virtual IOptionalContentVisibilityExpressionPtr | clone ()=0 |
Clone this expression. | |
virtual eVisibilityExpressionOperation | getOperation () const =0 |
Get the type of operation. | |
virtual IOptionalContentGroupReferencePtr | getGroup () const =0 |
Get the group for eVEOGroupState operations. If the operation is something else, an exception will be thrown. | |
virtual COptionalContentVisibilityExpressionVect | getSubExpressions () const =0 |
Get the subexpressions if the operation is eVEONot, eVEOAnd or eVEOOr. If the operation is something else, an exception will be thrown. | |
virtual eOptionalContentVisibility | evaluate (const IOptionalContentPtr &optionalContent, eOptionalContentEvent event) const =0 |
Public Member Functions inherited from IRCObject | |
virtual void | addRef () const =0 |
Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
virtual bool | decRef () const =0 |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
virtual int32 | getRefCount () const =0 |
Retrieve the current reference count of the actual object pointed to. | |
Public Member Functions inherited from JawsMako::IHashable | |
virtual uint64 | hash () const |
Obtain a 64-bit hash of the receiving object. | |
virtual void | updateHash (uint64 &hash) const =0 |
Update the given hash to include the receiver. | |
Additional Inherited Members | |
Protected Member Functions inherited from IRCObject | |
virtual | ~IRCObject () |
Virtual destructor. | |
An interface representing a PDF 1.6+ visibility expression. Please refer to table 4.4.9 of the PDF 1.7 specification for background and detail.
The operation of this expression.
|
pure virtual |
Determine the result of the expression. The document's optional content must be provided.