LibreOffice Module basic (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
runtime.hxx File Reference
#include <basic/sberrors.hxx>
#include <basic/sbmeth.hxx>
#include <basic/sbstar.hxx>
#include <basic/sbx.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/file.hxx>
#include <i18nlangtag/lang.h>
#include <cmath>
#include <vector>
#include <memory>
#include <optional>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <unotools/localedatawrapper.hxx>
#include <o3tl/deleter.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <tools/wldcrd.hxx>
Include dependency graph for runtime.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SbiForStack
 
struct  o3tl::typed_flags< SbAttributes >
 
class  SbiRTLData
 
class  SbiInstance
 
class  SbiRuntime
 

Namespaces

namespace  o3tl
 

Macros

#define MAXRECURSION   500
 

Typedefs

typedef std::vector< css::uno::Reference< css::lang::XComponent > > ComponentVector_t
 

Enumerations

enum class  ForType {
  To ,
  EachArray ,
  EachCollection ,
  EachXEnumeration ,
  EachXIndexAccess ,
  Error
}
 
enum class  SbAttributes {
  NONE = 0x0000 ,
  READONLY = 0x0001 ,
  HIDDEN = 0x0002 ,
  DIRECTORY = 0x0010
}
 

Functions

void checkArithmeticOverflow (double d)
 
void checkArithmeticOverflow (SbxVariable const *pVar)
 
StarBASICGetCurrentBasic (StarBASIC *pRTBasic)
 
bool hasUno ()
 
OUString getFullPath (const OUString &aRelPath)
 
void implStepRenameUCB (const OUString &aSource, const OUString &aDest)
 
void implStepRenameOSL (const OUString &aSource, const OUString &aDest)
 
bool IsBaseIndexOne ()
 
void removeDimAsNewRecoverItem (SbxVariable *pVar)
 

Macro Definition Documentation

◆ MAXRECURSION

#define MAXRECURSION   500

Definition at line 90 of file runtime.hxx.

Typedef Documentation

◆ ComponentVector_t

typedef std::vector< css::uno::Reference< css::lang::XComponent > > ComponentVector_t

Definition at line 125 of file runtime.hxx.

Enumeration Type Documentation

◆ ForType

enum class ForType
strong
Enumerator
To 
EachArray 
EachCollection 
EachXEnumeration 
EachXIndexAccess 
Error 

Definition at line 56 of file runtime.hxx.

◆ SbAttributes

enum class SbAttributes
strong
Enumerator
NONE 
READONLY 
HIDDEN 
DIRECTORY 

Definition at line 92 of file runtime.hxx.

Function Documentation

◆ checkArithmeticOverflow() [1/2]

void checkArithmeticOverflow ( double  d)
inline

Definition at line 383 of file runtime.hxx.

References d, ERRCODE_BASIC_MATH_OVERFLOW, and StarBASIC::Error().

Referenced by checkArithmeticOverflow(), and SbiRuntime::StepArith().

◆ checkArithmeticOverflow() [2/2]

void checkArithmeticOverflow ( SbxVariable const *  pVar)
inline

◆ GetCurrentBasic()

StarBASIC * GetCurrentBasic ( StarBASIC pRTBasic)

◆ getFullPath()

OUString getFullPath ( const OUString &  aRelPath)

Referenced by SbiStream::Open().

◆ hasUno()

bool hasUno ( )

Definition at line 133 of file iosys.cxx.

References comphelper::getProcessComponentContext().

Referenced by SbiStream::Open(), and SbiRuntime::StepRENAME().

◆ implStepRenameOSL()

void implStepRenameOSL ( const OUString &  aSource,
const OUString &  aDest 
)

Referenced by SbiRuntime::StepRENAME().

◆ implStepRenameUCB()

void implStepRenameUCB ( const OUString &  aSource,
const OUString &  aDest 
)

Referenced by SbiRuntime::StepRENAME().

◆ IsBaseIndexOne()

bool IsBaseIndexOne ( )

Referenced by StringToByteArray().

◆ removeDimAsNewRecoverItem()

void removeDimAsNewRecoverItem ( SbxVariable pVar)

Definition at line 1790 of file runtime.cxx.

Referenced by SbxVariable::~SbxVariable().