LibreOffice Module basic (master) 1
|
#include <symtbl.hxx>
Public Member Functions | |
SbiConstDef (const OUString &) | |
virtual | ~SbiConstDef () override |
virtual SbiConstDef * | GetConstDef () override |
void | Set (double, SbxDataType) |
void | Set (const OUString &) |
double | GetValue () const |
const OUString & | GetString () const |
Public Member Functions inherited from SbiSymDef | |
SbiSymDef (OUString) | |
virtual | ~SbiSymDef () |
virtual SbiProcDef * | GetProcDef () |
virtual SbiConstDef * | GetConstDef () |
SbxDataType | GetType () const |
virtual void | SetType (SbxDataType) |
const OUString & | GetName () |
SbiSymScope | GetScope () const |
sal_uInt32 | GetAddr () const |
sal_uInt16 | GetId () const |
sal_uInt16 | GetTypeId () const |
void | SetTypeId (sal_uInt16 n) |
sal_uInt16 | GetPos () const |
void | SetLen (short n) |
short | GetLen () const |
void | SetDims (short n) |
short | GetDims () const |
bool | IsDefined () const |
void | SetOptional () |
void | SetParamArray () |
void | SetWithEvents () |
void | SetWithBrackets () |
void | SetByVal (bool bByVal_) |
void | SetStatic (bool bAsStatic=true) |
void | SetNew () |
void | SetDefinedAs () |
void | SetGlobal (bool b) |
void | SetDefaultId (sal_uInt16 n) |
sal_uInt16 | GetDefaultId () const |
bool | IsOptional () const |
bool | IsParamArray () const |
bool | IsWithEvents () const |
bool | IsWithBrackets () const |
bool | IsByVal () const |
bool | IsStatic () const |
bool | IsNew () const |
bool | IsDefinedAs () const |
bool | IsGlobal () const |
short | GetFixedStringLength () const |
void | SetFixedStringLength (short n) |
SbiSymPool & | GetPool () |
sal_uInt32 | Define () |
sal_uInt32 | Reference () |
Private Attributes | |
double | nVal |
OUString | aVal |
Additional Inherited Members | |
Protected Attributes inherited from SbiSymDef | |
OUString | aName |
SbxDataType | eType |
SbiSymPool * | pIn |
std::unique_ptr< SbiSymPool > | pPool |
short | nLen |
short | nDims |
sal_uInt16 | nId |
sal_uInt16 | nTypeId |
sal_uInt16 | nProcId |
sal_uInt16 | nPos |
sal_uInt32 | nChain |
bool | bNew: 1 |
bool | bChained: 1 |
bool | bByVal: 1 |
bool | bOpt: 1 |
bool | bStatic: 1 |
bool | bAs: 1 |
bool | bGlobal: 1 |
bool | bParamArray: 1 |
bool | bWithEvents: 1 |
bool | bWithBrackets: 1 |
sal_uInt16 | nDefaultId |
short | nFixedStringLength |
Definition at line 204 of file symtbl.hxx.
SbiConstDef::SbiConstDef | ( | const OUString & | rName | ) |
Definition at line 510 of file symtbl.cxx.
References SbiSymDef::eType, nVal, and SbxINTEGER.
|
overridevirtual |
Definition at line 526 of file symtbl.cxx.
|
overridevirtual |
Reimplemented from SbiSymDef.
Definition at line 529 of file symtbl.cxx.
|
inline |
|
inline |
void SbiConstDef::Set | ( | const OUString & | n | ) |
Definition at line 521 of file symtbl.cxx.
References aVal, SbiSymDef::eType, n, nVal, and SbxSTRING.
void SbiConstDef::Set | ( | double | n, |
SbxDataType | t | ||
) |
Definition at line 516 of file symtbl.cxx.
References aVal, SbiSymDef::eType, n, nVal, and t.
Referenced by addNumericConst(), addStringConst(), SbiParser::DefEnum(), and SbiParser::DefVar().
|
private |
Definition at line 207 of file symtbl.hxx.
Referenced by GetString(), and Set().
|
private |
Definition at line 206 of file symtbl.hxx.
Referenced by GetValue(), SbiConstDef(), and Set().