LibreOffice Module sdext (master) 1
|
#include "pppoptimizertoken.hxx"
#include <sal/macros.h>
#include <unordered_map>
#include <memory>
#include <mutex>
Go to the source code of this file.
Typedefs | |
typedef std::unordered_map< const char *, PPPOptimizerTokenEnum, rtl::CStringHash, rtl::CStringEqual > | TypeNameHashMap |
Functions | |
static std::mutex & | getHashMapMutex () |
PPPOptimizerTokenEnum | TKGet (std::u16string_view rToken) |
OUString | TKGet (const PPPOptimizerTokenEnum eToken) |
Variables | |
static TypeNameHashMap * | pHashMap = nullptr |
const TokenTable | pTokenTableArray [] |
typedef std::unordered_map< const char*, PPPOptimizerTokenEnum, rtl::CStringHash, rtl::CStringEqual> TypeNameHashMap |
Definition at line 28 of file pppoptimizertoken.cxx.
|
static |
Definition at line 30 of file pppoptimizertoken.cxx.
Referenced by TKGet().
OUString TKGet | ( | const PPPOptimizerTokenEnum | eToken | ) |
Definition at line 140 of file pppoptimizertoken.cxx.
References eToken, pS, and pTokenTableArray.
PPPOptimizerTokenEnum TKGet | ( | std::u16string_view | rToken | ) |
Definition at line 113 of file pppoptimizertoken.cxx.
References getHashMapMutex(), i, pHashMap, pTokenTableArray, SAL_N_ELEMENTS, and TK_NotFound.
Referenced by FileOpenDialog::FileOpenDialog(), OptimizationStats::InitializeStatusValues(), OptimizerSettings::LoadSettingsFromConfiguration(), ConfigurationAccess::LoadStrings(), and OptimizerDialog::UpdateStatus().
|
static |
Definition at line 29 of file pppoptimizertoken.cxx.
Referenced by TKGet().
const TokenTable pTokenTableArray[] |
Definition at line 46 of file pppoptimizertoken.cxx.
Referenced by TKGet().