LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
vcl::ScriptRun Class Referencefinal

#include <scrptrun.h>

Inheritance diagram for vcl::ScriptRun:
[legend]
Collaboration diagram for vcl::ScriptRun:
[legend]

Public Member Functions

 ScriptRun (const UChar chars[], int32_t length)
 
void reset ()
 
void reset (int32_t start, int32_t count)
 
void reset (const UChar chars[], int32_t start, int32_t length)
 
int32_t getScriptStart () const
 
int32_t getScriptEnd () const
 
UScriptCode getScriptCode () const
 
UBool next ()
 
virtual UClassID getDynamicClassID () const override
 s * ICU "poor man's RTTI", returns a UClassID for the actual class. More...
 

Static Public Member Functions

static UClassID getStaticClassID ()
 ICU "poor man's RTTI", returns a UClassID for this class. More...
 

Private Attributes

int32_t charStart
 
int32_t charLimit
 
const UChar * charArray
 
int32_t scriptStart
 
int32_t scriptEnd
 
UScriptCode scriptCode
 
std::vector< ParenStackEntryparenStack
 
int32_t parenSP
 

Static Private Attributes

static const char fgClassID =0
 The address of this static class variable serves as this class's ID for ICU "poor man's RTTI". More...
 

Detailed Description

Definition at line 61 of file scrptrun.h.

Constructor & Destructor Documentation

◆ ScriptRun()

vcl::ScriptRun::ScriptRun ( const UChar  chars[],
int32_t  length 
)
inline

Definition at line 116 of file scrptrun.h.

References length, parenStack, and reset().

Member Function Documentation

◆ getDynamicClassID()

virtual UClassID vcl::ScriptRun::getDynamicClassID ( ) const
inlineoverridevirtual

s * ICU "poor man's RTTI", returns a UClassID for the actual class.

   @stable ICU 2.2

Definition at line 85 of file scrptrun.h.

◆ getScriptCode()

UScriptCode vcl::ScriptRun::getScriptCode ( ) const
inline

Definition at line 126 of file scrptrun.h.

References scriptCode.

Referenced by vcl::text::TextLayoutCache::TextLayoutCache().

◆ getScriptEnd()

int32_t vcl::ScriptRun::getScriptEnd ( ) const
inline

Definition at line 124 of file scrptrun.h.

References scriptEnd.

Referenced by vcl::text::TextLayoutCache::TextLayoutCache().

◆ getScriptStart()

int32_t vcl::ScriptRun::getScriptStart ( ) const
inline

Definition at line 122 of file scrptrun.h.

References scriptStart.

Referenced by vcl::text::TextLayoutCache::TextLayoutCache().

◆ getStaticClassID()

static UClassID vcl::ScriptRun::getStaticClassID ( )
inlinestatic

ICU "poor man's RTTI", returns a UClassID for this class.

@stable ICU 2.2

Definition at line 92 of file scrptrun.h.

◆ next()

UBool vcl::ScriptRun::next ( )

◆ reset() [1/3]

void vcl::ScriptRun::reset ( )
inline

Definition at line 128 of file scrptrun.h.

References charStart, parenSP, parenStack, scriptCode, scriptEnd, and scriptStart.

Referenced by reset(), and ScriptRun().

◆ reset() [2/3]

void vcl::ScriptRun::reset ( const UChar  chars[],
int32_t  start,
int32_t  length 
)
inline

Definition at line 145 of file scrptrun.h.

References charArray, length, reset(), and start.

◆ reset() [3/3]

void vcl::ScriptRun::reset ( int32_t  start,
int32_t  count 
)
inline

Definition at line 137 of file scrptrun.h.

References charLimit, charStart, length, reset(), and start.

Member Data Documentation

◆ charArray

const UChar* vcl::ScriptRun::charArray
private

Definition at line 100 of file scrptrun.h.

Referenced by next(), and reset().

◆ charLimit

int32_t vcl::ScriptRun::charLimit
private

Definition at line 99 of file scrptrun.h.

Referenced by next(), and reset().

◆ charStart

int32_t vcl::ScriptRun::charStart
private

Definition at line 98 of file scrptrun.h.

Referenced by reset().

◆ fgClassID

const char vcl::ScriptRun::fgClassID =0
staticprivate

The address of this static class variable serves as this class's ID for ICU "poor man's RTTI".

Definition at line 113 of file scrptrun.h.

◆ parenSP

int32_t vcl::ScriptRun::parenSP
private

Definition at line 107 of file scrptrun.h.

Referenced by next(), and reset().

◆ parenStack

std::vector<ParenStackEntry> vcl::ScriptRun::parenStack
private

Definition at line 106 of file scrptrun.h.

Referenced by next(), reset(), and ScriptRun().

◆ scriptCode

UScriptCode vcl::ScriptRun::scriptCode
private

Definition at line 104 of file scrptrun.h.

Referenced by getScriptCode(), next(), and reset().

◆ scriptEnd

int32_t vcl::ScriptRun::scriptEnd
private

Definition at line 103 of file scrptrun.h.

Referenced by getScriptEnd(), next(), and reset().

◆ scriptStart

int32_t vcl::ScriptRun::scriptStart
private

Definition at line 102 of file scrptrun.h.

Referenced by getScriptStart(), next(), and reset().


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