Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CJS_Util Class Referencefinal

#include <cjs_util.h>

+ Inheritance diagram for CJS_Util:
+ Collaboration diagram for CJS_Util:

Public Types

enum class  DataType { kInvalid = -1 , kInt = 0 , kDouble = 1 , kString = 2 }
 

Public Member Functions

 CJS_Util (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 
 ~CJS_Util () override
 
- Public Member Functions inherited from CJS_Object
 CJS_Object (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 
virtual ~CJS_Object ()
 
v8::Local< v8::Object > ToV8Object ()
 
CJS_RuntimeGetRuntime () const
 

Static Public Member Functions

static uint32_t GetObjDefnID ()
 
static void DefineJSObjects (CFXJS_Engine *pEngine)
 
static DataType ParseDataType (WideString *sFormat)
 
static WideString StringPrintx (const WideString &cFormat, const WideString &cSource)
 
- Static Public Member Functions inherited from CJS_Object
static void DefineConsts (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSConstSpec > consts)
 
static void DefineProps (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSPropertySpec > consts)
 
static void DefineMethods (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSMethodSpec > consts)
 

Detailed Description

Definition at line 18 of file cjs_util.h.

Member Enumeration Documentation

◆ DataType

enum class CJS_Util::DataType
strong
Enumerator
kInvalid 
kInt 
kDouble 
kString 

Definition at line 20 of file cjs_util.h.

Constructor & Destructor Documentation

◆ CJS_Util()

CJS_Util::CJS_Util ( v8::Local< v8::Object > pObject,
CJS_Runtime * pRuntime )

Definition at line 96 of file cjs_util.cpp.

◆ ~CJS_Util()

CJS_Util::~CJS_Util ( )
overridedefault

Member Function Documentation

◆ DefineJSObjects()

void CJS_Util::DefineJSObjects ( CFXJS_Engine * pEngine)
static

Definition at line 90 of file cjs_util.cpp.

References CJS_Object::DefineMethods(), and FXJSOBJTYPE_STATIC.

+ Here is the call graph for this function:

◆ GetObjDefnID()

uint32_t CJS_Util::GetObjDefnID ( )
static

Definition at line 85 of file cjs_util.cpp.

◆ ParseDataType()

CJS_Util::DataType CJS_Util::ParseDataType ( WideString * sFormat)
static

Definition at line 403 of file cjs_util.cpp.

References FXSYS_IsDecimalDigit(), kDouble, kInt, kInvalid, and kString.

Referenced by TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StringPrintx()

WideString CJS_Util::StringPrintx ( const WideString & cFormat,
const WideString & cSource )
static

Definition at line 283 of file cjs_util.cpp.

Referenced by CJS_PublicMethods::AFSpecial_Format().

+ Here is the caller graph for this function:

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