LibreOffice Module sdext (master) 1
Typedefs | Functions | Variables
pppoptimizertoken.cxx File Reference
#include "pppoptimizertoken.hxx"
#include <sal/macros.h>
#include <unordered_map>
#include <memory>
#include <mutex>
Include dependency graph for pppoptimizertoken.cxx:

Go to the source code of this file.

Typedefs

typedef std::unordered_map< const char *, PPPOptimizerTokenEnum, rtl::CStringHash, rtl::CStringEqual > TypeNameHashMap
 

Functions

static std::mutexgetHashMapMutex ()
 
PPPOptimizerTokenEnum TKGet (std::u16string_view rToken)
 
OUString TKGet (const PPPOptimizerTokenEnum eToken)
 

Variables

static TypeNameHashMappHashMap = nullptr
 
const TokenTable pTokenTableArray []
 

Typedef Documentation

◆ TypeNameHashMap

typedef std::unordered_map< const char*, PPPOptimizerTokenEnum, rtl::CStringHash, rtl::CStringEqual> TypeNameHashMap

Definition at line 28 of file pppoptimizertoken.cxx.

Function Documentation

◆ getHashMapMutex()

static std::mutex & getHashMapMutex ( )
static

Definition at line 30 of file pppoptimizertoken.cxx.

Referenced by TKGet().

◆ TKGet() [1/2]

OUString TKGet ( const PPPOptimizerTokenEnum  eToken)

Definition at line 140 of file pppoptimizertoken.cxx.

References eToken, pS, and pTokenTableArray.

◆ TKGet() [2/2]

PPPOptimizerTokenEnum TKGet ( std::u16string_view  rToken)

Variable Documentation

◆ pHashMap

TypeNameHashMap* pHashMap = nullptr
static

Definition at line 29 of file pppoptimizertoken.cxx.

Referenced by TKGet().

◆ pTokenTableArray

const TokenTable pTokenTableArray[]

Definition at line 46 of file pppoptimizertoken.cxx.

Referenced by TKGet().