WSF
WsfParseNodePool Class Reference

To improve efficiency, WsfParseNodePool handles the allocation and deletion of WsfParseNode's. More...

#include <WsfParseNode.hpp>

Public Member Functions

 WsfParseNodePool ()
 ~WsfParseNodePool ()
 WsfParseNodePool (const WsfParseNodePool &)=default
void DeleteAllNodes ()
void SwapPool (WsfParseNodePool &aRhs)
WsfParseNodeNewNode (WsfParseRule *aRule, const char *aType, UtTextDocumentRange aValue=UtTextDocumentRange())
 Create a new parse node.
WsfParseNodeNewNode ()
 Create a new parse node.
void FreeNode (WsfParseNode *aNodePtr)
void AddAuxiliaryValue (WsfParseAuxData *aDataPtr)
 UT_MEMORY_DEBUG_MARKER (cMDB_PARSE_NODE_POOL)

Public Attributes

std::vector< WsfParseAuxData * > mAuxVals

Detailed Description

To improve efficiency, WsfParseNodePool handles the allocation and deletion of WsfParseNode's.

Constructor & Destructor Documentation

◆ WsfParseNodePool() [1/2]

WsfParseNodePool::WsfParseNodePool ( )
inline

Referenced by SwapPool(), and WsfParseNodePool().

◆ ~WsfParseNodePool()

WsfParseNodePool::~WsfParseNodePool ( )
inline

References mAuxVals.

◆ WsfParseNodePool() [2/2]

WsfParseNodePool::WsfParseNodePool ( const WsfParseNodePool & )
default

References WsfParseNodePool().

Member Function Documentation

◆ AddAuxiliaryValue()

void WsfParseNodePool::AddAuxiliaryValue ( WsfParseAuxData * aDataPtr)
inline

References mAuxVals.

◆ DeleteAllNodes()

void WsfParseNodePool::DeleteAllNodes ( )
inline

References mAuxVals.

◆ FreeNode()

void WsfParseNodePool::FreeNode ( WsfParseNode * aNodePtr)
inline

◆ NewNode() [1/2]

WsfParseNode * WsfParseNodePool::NewNode ( )
inline

Create a new parse node.

◆ NewNode() [2/2]

WsfParseNode * WsfParseNodePool::NewNode ( WsfParseRule * aRule,
const char * aType,
UtTextDocumentRange aValue = UtTextDocumentRange() )
inline

Create a new parse node.

References WsfParseRule::GetRuleDescription().

◆ SwapPool()

void WsfParseNodePool::SwapPool ( WsfParseNodePool & aRhs)
inline

◆ UT_MEMORY_DEBUG_MARKER()

WsfParseNodePool::UT_MEMORY_DEBUG_MARKER ( cMDB_PARSE_NODE_POOL )

References cMDB_PARSE_NODE_POOL.

Member Data Documentation

◆ mAuxVals

std::vector<WsfParseAuxData*> WsfParseNodePool::mAuxVals

The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved