libetonyek::IWORKOutputManager Class Reference

A manager for output elements. More...

#include <IWORKOutputManager.h>

List of all members.

Public Member Functions

 IWORKOutputManager ()
 ~IWORKOutputManager ()
void push ()
 Push a new output element onto the stack.
void pop ()
 Pop a output element from the stack.
IWORKOutputID_t save ()
 Save the current output element.
IWORKOutputElementsget (IWORKOutputID_t id)
 Get output element with ID id.
const IWORKOutputElementsget (IWORKOutputID_t id) const
 Get output element with ID id.
IWORKOutputElementsgetCurrent ()
 Get the current output element.
const IWORKOutputElementsgetCurrent () const
 Get the current output element.

Private Types

typedef std::deque
< IWORKOutputElements
OutputList_t
typedef std::stack
< IWORKOutputElements
OutputStack_t

Private Member Functions

 IWORKOutputManager (const IWORKOutputManager &)
IWORKOutputManageroperator= (const IWORKOutputManager &)

Private Attributes

OutputStack_t m_active
OutputList_t m_saved

Detailed Description

A manager for output elements.

It keeps a stack of currently opened output elements and a list of saved output elements.

There is always at least one output element on the stack.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Get output element with ID id.

  • [in] id ID of the output element to get.

Referenced by libetonyek::PAGCollector::writePageGroupsObjects().

Get output element with ID id.

  • [in] id ID of the output element to get.

Get the current output element.

IWORKOutputManager& libetonyek::IWORKOutputManager::operator= ( const IWORKOutputManager ) [private]

Save the current output element.

It remains on the stack.

Returns:
The ID of the saved output element.

Referenced by libetonyek::PAGCollector::closePageGroup(), and libetonyek::KEYCollector::collectLayer().


Member Data Documentation


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