pdfobjects::UnknownCompositePdfOperator Class Reference

#include <pdfoperators.h>

Inheritance diagram for pdfobjects::UnknownCompositePdfOperator:
pdfobjects::CompositePdfOperator pdfobjects::PdfOperator ListItem< PdfOperator >

List of all members.

Public Member Functions

 UnknownCompositePdfOperator (const char *opBegin, const char *opEnd)
virtual void getStringRepresentation (std::string &str) const
virtual void getOperatorName (std::string &first) const

Protected Member Functions

virtual boost::shared_ptr
< PdfOperator
clone ()

Private Attributes

const char * _opBegin
const char * _opEnd

Detailed Description

Unknown composite operator which is constructed from a begin and end tag.

This is an implementation of Composite design pattern where leaves and composites share the same interface.

See also:
PdfOperator, CompositePdfOperator

Constructor & Destructor Documentation

pdfobjects::UnknownCompositePdfOperator::UnknownCompositePdfOperator ( const char *  opBegin,
const char *  opEnd 
)

Constructor. Create it as a standalone object. Prev and Next are not valid.

Parameters:
opBegin_ Start operator name text representation.
opEnd_ End operator name text representation.

References debug::DBG_DBG, and utilsPrintDbg.

Referenced by clone().


Member Function Documentation

shared_ptr< PdfOperator > pdfobjects::UnknownCompositePdfOperator::clone (  )  [protected, virtual]
virtual void pdfobjects::UnknownCompositePdfOperator::getOperatorName ( std::string &  first  )  const [inline, virtual]

Get the string operator name.

Parameters:
first String that will hold operator name.

Implements pdfobjects::CompositePdfOperator.

References _opBegin.

virtual void pdfobjects::UnknownCompositePdfOperator::getStringRepresentation ( std::string &  str  )  const [virtual]

Get the string representation of this operator.

Parameters:
str String that will hold the representation of this operator.

Reimplemented from pdfobjects::CompositePdfOperator.


Member Data Documentation

Text representing the beginning operator.

Referenced by clone(), and getOperatorName().

Text representing the ending operator.

Referenced by clone().


The documentation for this class was generated from the following files: