Typedefs | Functions

pt_PT_Listener.cpp File Reference

#include "ut_types.h"
#include "ut_misc.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_growbuf.h"
#include "pt_PieceTable.h"
#include "pf_Frag.h"
#include "pf_Frag_FmtMark.h"
#include "pf_Frag_Object.h"
#include "pf_Frag_Strux.h"
#include "pf_Frag_Strux_Block.h"
#include "pf_Frag_Strux_Section.h"
#include "pf_Frag_Text.h"
#include "pf_Fragments.h"
#include "px_ChangeRecord.h"
#include "px_CR_Object.h"
#include "px_CR_Span.h"
#include "px_CR_SpanChange.h"
#include "px_CR_Strux.h"
#include "pl_ListenerCoupleCloser.h"
#include <set>
#include <boost/bind.hpp>
#include <boost/function.hpp>

Typedefs

typedef boost::function< bool(PT_DocPosition,
PT_DocPosition, PT_DocPosition,
PL_Listener *) 
f_WalkRangeFinished_t )
typedef std::set< pf_Frag::PFTypem_fragtypecol_t

Functions

static bool finishedFunctorEndOfRage (PT_DocPosition, PT_DocPosition rangeEndPos, PT_DocPosition curPos, PL_Listener *)
static bool finishedFunctorFinishingListener (PT_DocPosition, PT_DocPosition, PT_DocPosition, PL_Listener *, PL_FinishingListener *fl)
static m_fragtypecol_t_getTellListenerSubsetWalkRangeVisitAllFragments ()
static PT_DocPosition _tellListenerSubsetWalkRange (pt_PieceTable *pt, PL_Listener *pListener, PD_DocumentRange *, PT_DocPosition rangeStartPos, PT_DocPosition rangeEndPos, f_WalkRangeFinished_t finishedFunctor=finishedFunctorEndOfRage, m_fragtypecol_t &fragmentTypesToVisit=_getTellListenerSubsetWalkRangeVisitAllFragments(), bool walkForwards=true)
 This is a static function instead of a member so that boost::functors can be passed in to this function but boost headers are not needed in pt_PieceTable.h.

Typedef Documentation

typedef std::set< pf_Frag::PFType > m_fragtypecol_t

Function Documentation

static m_fragtypecol_t& _getTellListenerSubsetWalkRangeVisitAllFragments (  )  [static]
static PT_DocPosition _tellListenerSubsetWalkRange ( pt_PieceTable pt,
PL_Listener pListener,
PD_DocumentRange ,
PT_DocPosition  rangeStartPos,
PT_DocPosition  rangeEndPos,
f_WalkRangeFinished_t  finishedFunctor = finishedFunctorEndOfRage,
m_fragtypecol_t fragmentTypesToVisit = _getTellListenerSubsetWalkRangeVisitAllFragments(),
bool  walkForwards = true 
) [static]
static bool finishedFunctorEndOfRage ( PT_DocPosition  ,
PT_DocPosition  rangeEndPos,
PT_DocPosition  curPos,
PL_Listener  
) [static]
static bool finishedFunctorFinishingListener ( PT_DocPosition  ,
PT_DocPosition  ,
PT_DocPosition  ,
PL_Listener ,
PL_FinishingListener fl 
) [static]