LibreOffice Module oox (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
oox::core::prv::ContextStack Class Reference
Collaboration diagram for oox::core::prv::ContextStack:
[legend]

Public Member Functions

 ContextStack (FragmentHandlerRef xHandler)
 
bool empty () const
 
sal_Int32 getCurrentRecId () const
 
bool hasCurrentEndRecId () const
 
ContextHandlerRef getCurrentContext () const
 
void pushContext (const RecordInfo &rRec, const ContextHandlerRef &rxContext)
 
void popContext ()
 

Private Types

typedef ::std::pair< RecordInfo, ContextHandlerRefContextInfo
 
typedef ::std::vector< ContextInfoContextInfoVec
 

Private Attributes

FragmentHandlerRef mxHandler
 
ContextInfoVec maStack
 

Detailed Description

Definition at line 94 of file recordparser.cxx.

Member Typedef Documentation

◆ ContextInfo

Definition at line 109 of file recordparser.cxx.

◆ ContextInfoVec

Definition at line 110 of file recordparser.cxx.

Constructor & Destructor Documentation

◆ ContextStack()

oox::core::prv::ContextStack::ContextStack ( FragmentHandlerRef  xHandler)
explicit

Definition at line 116 of file recordparser.cxx.

References mxHandler.

Member Function Documentation

◆ empty()

bool oox::core::prv::ContextStack::empty ( ) const
inline

Definition at line 99 of file recordparser.cxx.

References maStack.

◆ getCurrentContext()

ContextHandlerRef oox::core::prv::ContextStack::getCurrentContext ( ) const

Definition at line 131 of file recordparser.cxx.

References maStack, and mxHandler.

◆ getCurrentRecId()

sal_Int32 oox::core::prv::ContextStack::getCurrentRecId ( ) const

Definition at line 121 of file recordparser.cxx.

References maStack.

◆ hasCurrentEndRecId()

bool oox::core::prv::ContextStack::hasCurrentEndRecId ( ) const

Definition at line 126 of file recordparser.cxx.

References maStack.

Referenced by pushContext().

◆ popContext()

void oox::core::prv::ContextStack::popContext ( )

Definition at line 145 of file recordparser.cxx.

References maStack.

◆ pushContext()

void oox::core::prv::ContextStack::pushContext ( const RecordInfo rRec,
const ContextHandlerRef rxContext 
)

Member Data Documentation

◆ maStack

ContextInfoVec oox::core::prv::ContextStack::maStack
private

◆ mxHandler

FragmentHandlerRef oox::core::prv::ContextStack::mxHandler
private

Definition at line 112 of file recordparser.cxx.

Referenced by getCurrentContext().


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