LibreOffice Module basic (master) 1
Public Member Functions | Private Attributes | List of all members
SbiStringPool Class Reference

#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
 

Detailed Description

Definition at line 37 of file symtbl.hxx.

Constructor & Destructor Documentation

◆ SbiStringPool()

SbiStringPool::SbiStringPool ( )

Definition at line 37 of file symtbl.cxx.

◆ ~SbiStringPool()

SbiStringPool::~SbiStringPool ( )

Definition at line 40 of file symtbl.cxx.

Member Function Documentation

◆ Add() [1/2]

short SbiStringPool::Add ( const OUString &  rVal)

◆ Add() [2/2]

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.

◆ Find()

OUString SbiStringPool::Find ( sal_uInt32  n) const

Definition at line 43 of file symtbl.cxx.

References aData, and n.

Referenced by SbiSymPool::Add(), SbiParser::DefType(), SbiParser::DefVar(), SbiSymDef::GetName(), and SbiCodeGen::Save().

◆ GetSize()

sal_uInt32 SbiStringPool::GetSize ( ) const
inline

Definition at line 42 of file symtbl.hxx.

References aData.

Referenced by SbiCodeGen::Save().

Member Data Documentation

◆ aData

std::vector<OUString> SbiStringPool::aData
private

Definition at line 38 of file symtbl.hxx.

Referenced by Add(), Find(), and GetSize().


The documentation for this class was generated from the following files: