LibreOffice Module basic (master) 1
|
#include <symtbl.hxx>
Public Member Functions | |
SbiStringPool () | |
~SbiStringPool () | |
sal_uInt32 | GetSize () const |
short | Add (const OUString &) |
short | Add (double, SbxDataType) |
OUString | Find (sal_uInt32) const |
Private Attributes | |
std::vector< OUString > | aData |
Definition at line 37 of file symtbl.hxx.
SbiStringPool::SbiStringPool | ( | ) |
Definition at line 37 of file symtbl.cxx.
SbiStringPool::~SbiStringPool | ( | ) |
Definition at line 40 of file symtbl.cxx.
short SbiStringPool::Add | ( | const OUString & | rVal | ) |
Definition at line 51 of file symtbl.cxx.
References aData, i, n, and p.
Referenced by Add(), SbiSymPool::Add(), SbiSymPool::AddProc(), SbiSymPool::AddSym(), SbiParser::DefDeclare(), SbiParser::DefEnum(), SbiExprList::Gen(), SbiExprNode::Gen(), SbiParser::ProcDecl(), and SbiParser::TypeDecl().
short SbiStringPool::Add | ( | double | n, |
SbxDataType | t | ||
) |
Definition at line 65 of file symtbl.cxx.
References Add(), n, SbxCURRENCY, SbxDOUBLE, SbxINTEGER, SbxLONG, SbxSINGLE, size, and t.
OUString SbiStringPool::Find | ( | sal_uInt32 | n | ) | const |
Definition at line 43 of file symtbl.cxx.
Referenced by SbiSymPool::Add(), SbiParser::DefType(), SbiParser::DefVar(), SbiSymDef::GetName(), and SbiCodeGen::Save().
|
inline |
|
private |
Definition at line 38 of file symtbl.hxx.