HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CE_SnippetCache Class Reference

#include <CE_SnippetCache.h>

Public Member Functions

CE_SnippetCacheEntrySPtr findSnippet (UT_StringRef code) const
 
void purgeSnippet (UT_StringRef code)
 
CE_SnippetCacheEntrySPtr cacheSnippet (const UT_StringHolder &code, const UT_StringHolder &expandedcode, CE_Snippet::RunOver finalrunover, const UT_Array< CE_Snippet::Binding > &overlaybindings, const UT_Array< CE_Snippet::Binding > &initialbindings, CE_SnippetCacheEntry::SnippetParms parms)
 

Protected Attributes

UT_Lock myLock
 
UT_StringMap
< CE_SnippetCacheEntrySPtr
myCache
 

Detailed Description

Definition at line 94 of file CE_SnippetCache.h.

Member Function Documentation

CE_SnippetCacheEntrySPtr CE_SnippetCache::cacheSnippet ( const UT_StringHolder code,
const UT_StringHolder expandedcode,
CE_Snippet::RunOver  finalrunover,
const UT_Array< CE_Snippet::Binding > &  overlaybindings,
const UT_Array< CE_Snippet::Binding > &  initialbindings,
CE_SnippetCacheEntry::SnippetParms  parms 
)
CE_SnippetCacheEntrySPtr CE_SnippetCache::findSnippet ( UT_StringRef  code) const
void CE_SnippetCache::purgeSnippet ( UT_StringRef  code)

Member Data Documentation

UT_StringMap<CE_SnippetCacheEntrySPtr> CE_SnippetCache::myCache
protected

Definition at line 110 of file CE_SnippetCache.h.

UT_Lock CE_SnippetCache::myLock
mutableprotected

Definition at line 109 of file CE_SnippetCache.h.


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