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

#include <symtbl.hxx>

Inheritance diagram for SbiProcDef:
[legend]
Collaboration diagram for SbiProcDef:
[legend]

Public Member Functions

 SbiProcDef (SbiParser *, const OUString &, bool bProcDecl=false)
 
virtual ~SbiProcDef () override
 
virtual SbiProcDefGetProcDef () override
 
virtual void SetType (SbxDataType) override
 
SbiSymPoolGetParams ()
 
SbiSymPoolGetLabels ()
 
SbiSymPoolGetLocals ()
 
OUString & GetLib ()
 
OUString & GetAlias ()
 
void SetPublic (bool b)
 
bool IsPublic () const
 
void SetCdecl (bool b)
 
bool IsCdecl () const
 
bool IsUsedForProcDecl () const
 
void SetLine1 (sal_uInt16 n)
 
sal_uInt16 GetLine1 () const
 
void SetLine2 (sal_uInt16 n)
 
sal_uInt16 GetLine2 () const
 
PropertyMode getPropertyMode () const
 
void setPropertyMode (PropertyMode ePropMode)
 
const OUString & GetPropName () const
 
void Match (SbiProcDef *pForward)
 
- Public Member Functions inherited from SbiSymDef
 SbiSymDef (OUString)
 
virtual ~SbiSymDef ()
 
virtual SbiProcDefGetProcDef ()
 
virtual SbiConstDefGetConstDef ()
 
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)
 
SbiSymPoolGetPool ()
 
sal_uInt32 Define ()
 
sal_uInt32 Reference ()
 

Private Member Functions

 SbiProcDef (const SbiProcDef &)=delete
 

Private Attributes

SbiSymPool aParams
 
SbiSymPool aLabels
 
OUString aLibName
 
OUString aAlias
 
sal_uInt16 nLine1
 
sal_uInt16 nLine2
 
PropertyMode mePropMode
 
OUString maPropName
 
bool bCdecl: 1
 
bool bPublic: 1
 
bool mbProcDecl: 1
 

Additional Inherited Members

- Protected Attributes inherited from SbiSymDef
OUString aName
 
SbxDataType eType
 
SbiSymPoolpIn
 
std::unique_ptr< SbiSymPoolpPool
 
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
 

Detailed Description

Definition at line 161 of file symtbl.hxx.

Constructor & Destructor Documentation

◆ SbiProcDef() [1/2]

SbiProcDef::SbiProcDef ( SbiParser pParser,
const OUString &  rName,
bool  bProcDecl = false 
)

◆ ~SbiProcDef()

SbiProcDef::~SbiProcDef ( )
overridevirtual

Definition at line 428 of file symtbl.cxx.

◆ SbiProcDef() [2/2]

SbiProcDef::SbiProcDef ( const SbiProcDef )
privatedelete

Member Function Documentation

◆ GetAlias()

OUString & SbiProcDef::GetAlias ( )
inline

Definition at line 181 of file symtbl.hxx.

References aAlias.

Referenced by SbiParser::DefDeclare(), and SbiParser::ProcDecl().

◆ GetLabels()

SbiSymPool & SbiProcDef::GetLabels ( )
inline

◆ GetLib()

OUString & SbiProcDef::GetLib ( )
inline

Definition at line 180 of file symtbl.hxx.

References aLibName.

Referenced by SbiParser::DefDeclare(), SbiParser::ProcDecl(), and SbiCodeGen::Save().

◆ GetLine1()

sal_uInt16 SbiProcDef::GetLine1 ( ) const
inline

Definition at line 188 of file symtbl.hxx.

References nLine1.

Referenced by SbiCodeGen::Save().

◆ GetLine2()

sal_uInt16 SbiProcDef::GetLine2 ( ) const
inline

Definition at line 190 of file symtbl.hxx.

References nLine2.

Referenced by SbiCodeGen::Save().

◆ GetLocals()

SbiSymPool & SbiProcDef::GetLocals ( )
inline

Definition at line 179 of file symtbl.hxx.

References SbiSymDef::GetPool().

Referenced by SbiParser::DefProc().

◆ GetParams()

SbiSymPool & SbiProcDef::GetParams ( )
inline

◆ GetProcDef()

SbiProcDef * SbiProcDef::GetProcDef ( )
overridevirtual

Reimplemented from SbiSymDef.

Definition at line 431 of file symtbl.cxx.

Referenced by SbiCodeGen::Save().

◆ getPropertyMode()

PropertyMode SbiProcDef::getPropertyMode ( ) const
inline

Definition at line 191 of file symtbl.hxx.

References mePropMode.

Referenced by SbiParser::DefProc(), and SbiCodeGen::Save().

◆ GetPropName()

const OUString & SbiProcDef::GetPropName ( ) const
inline

Definition at line 193 of file symtbl.hxx.

References maPropName.

Referenced by SbiCodeGen::Save().

◆ IsCdecl()

bool SbiProcDef::IsCdecl ( ) const
inline

Definition at line 185 of file symtbl.hxx.

References bCdecl.

Referenced by SbiParser::DefDeclare(), and SbiParser::ProcDecl().

◆ IsPublic()

bool SbiProcDef::IsPublic ( ) const
inline

Definition at line 183 of file symtbl.hxx.

References bPublic.

Referenced by SbiCodeGen::Save().

◆ IsUsedForProcDecl()

bool SbiProcDef::IsUsedForProcDecl ( ) const
inline

Definition at line 186 of file symtbl.hxx.

References mbProcDecl.

Referenced by SbiParser::DefProc().

◆ Match()

void SbiProcDef::Match ( SbiProcDef pForward)

◆ SetCdecl()

void SbiProcDef::SetCdecl ( bool  b)
inline

Definition at line 184 of file symtbl.hxx.

References bCdecl.

Referenced by SbiParser::ProcDecl().

◆ SetLine1()

void SbiProcDef::SetLine1 ( sal_uInt16  n)
inline

Definition at line 187 of file symtbl.hxx.

References n, and nLine1.

Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().

◆ SetLine2()

void SbiProcDef::SetLine2 ( sal_uInt16  n)
inline

Definition at line 189 of file symtbl.hxx.

References n, and nLine2.

Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().

◆ setPropertyMode()

void SbiProcDef::setPropertyMode ( PropertyMode  ePropMode)

Definition at line 486 of file symtbl.cxx.

References SbiSymDef::aName, Get, Let, maPropName, mePropMode, NONE, and Set.

Referenced by SbiParser::DefProc().

◆ SetPublic()

void SbiProcDef::SetPublic ( bool  b)
inline

Definition at line 182 of file symtbl.hxx.

References bPublic.

Referenced by SbiParser::DefDeclare(), and SbiParser::DefProc().

◆ SetType()

void SbiProcDef::SetType ( SbxDataType  t)
overridevirtual

Reimplemented from SbiSymDef.

Definition at line 436 of file symtbl.cxx.

References aParams, SbiSymDef::eType, SbiSymPool::Get(), SbiSymDef::SetType(), and t.

Referenced by SbiParser::CheckRTLForSym(), and SbiParser::ProcDecl().

Member Data Documentation

◆ aAlias

OUString SbiProcDef::aAlias
private

Definition at line 165 of file symtbl.hxx.

Referenced by GetAlias().

◆ aLabels

SbiSymPool SbiProcDef::aLabels
private

Definition at line 163 of file symtbl.hxx.

Referenced by GetLabels().

◆ aLibName

OUString SbiProcDef::aLibName
private

Definition at line 164 of file symtbl.hxx.

Referenced by GetLib().

◆ aParams

SbiSymPool SbiProcDef::aParams
private

Definition at line 162 of file symtbl.hxx.

Referenced by GetParams(), Match(), SbiProcDef(), and SetType().

◆ bCdecl

bool SbiProcDef::bCdecl
private

Definition at line 169 of file symtbl.hxx.

Referenced by IsCdecl(), SbiProcDef(), and SetCdecl().

◆ bPublic

bool SbiProcDef::bPublic
private

Definition at line 170 of file symtbl.hxx.

Referenced by IsPublic(), SbiProcDef(), and SetPublic().

◆ maPropName

OUString SbiProcDef::maPropName
private

Definition at line 168 of file symtbl.hxx.

Referenced by GetPropName(), and setPropertyMode().

◆ mbProcDecl

bool SbiProcDef::mbProcDecl
private

Definition at line 171 of file symtbl.hxx.

Referenced by IsUsedForProcDecl().

◆ mePropMode

PropertyMode SbiProcDef::mePropMode
private

Definition at line 167 of file symtbl.hxx.

Referenced by getPropertyMode(), SbiProcDef(), and setPropertyMode().

◆ nLine1

sal_uInt16 SbiProcDef::nLine1
private

Definition at line 166 of file symtbl.hxx.

Referenced by GetLine1(), SbiProcDef(), and SetLine1().

◆ nLine2

sal_uInt16 SbiProcDef::nLine2
private

Definition at line 166 of file symtbl.hxx.

Referenced by GetLine2(), SbiProcDef(), and SetLine2().


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