LibreOffice Module basic (master) 1
|
#include <sbunoobj.hxx>
Public Member Functions | |
SbxVariable * | getVBAConstant (const OUString &rName) |
bool | isVBAConstantType (std::u16string_view rName) |
Static Public Member Functions | |
static VBAConstantHelper & | instance () |
Private Member Functions | |
VBAConstantHelper () | |
VBAConstantHelper (const VBAConstantHelper &)=delete | |
void | init () |
Private Attributes | |
std::vector< OUString > | aConstCache |
std::unordered_map< OUString, css::uno::Any > | aConstHash |
bool | isInited |
Definition at line 365 of file sbunoobj.hxx.
|
inlineprivate |
Definition at line 371 of file sbunoobj.hxx.
|
privatedelete |
SbxVariable * VBAConstantHelper::getVBAConstant | ( | const OUString & | rName | ) |
Definition at line 3279 of file sbunoobj.cxx.
References aConstHash, init(), SbxVARIANT, SbxVariable::SetName(), and unoToSbxValue().
Referenced by SbiRuntime::FindElement().
|
private |
Definition at line 3218 of file sbunoobj.cxx.
References aConstCache, aConstHash, getTypeDescriptorEnumeration(), and isInited.
Referenced by getVBAConstant(), and isVBAConstantType().
|
static |
Definition at line 3212 of file sbunoobj.cxx.
References aHelper.
Referenced by SbiRuntime::FindElement(), and SbiParser::TypeDecl().
bool VBAConstantHelper::isVBAConstantType | ( | std::u16string_view | rName | ) |
Definition at line 3262 of file sbunoobj.cxx.
References aConstCache, o3tl::equalsIgnoreAsciiCase(), and init().
|
private |
Definition at line 368 of file sbunoobj.hxx.
Referenced by init(), and isVBAConstantType().
|
private |
Definition at line 369 of file sbunoobj.hxx.
Referenced by getVBAConstant(), and init().
|
private |
Definition at line 370 of file sbunoobj.hxx.
Referenced by init().