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
QV4::CompiledData::SaveableUnitPointer Class Reference

#include <qv4compileddata_p.h>

Collaboration diagram for QV4::CompiledData::SaveableUnitPointer:

Public Member Functions

 SaveableUnitPointer (const Unit *unit, quint32 temporaryFlags=Unit::StaticData)
 ~SaveableUnitPointer ()=default
template<typename Char>
bool saveToDisk (const std::function< bool(const Char *, quint32)> &writer) const

Static Public Member Functions

static bool writeDataToFile (const QString &outputFileName, const char *data, quint32 size, QString *errorString)

Detailed Description

Definition at line 1745 of file qv4compileddata_p.h.

Constructor & Destructor Documentation

◆ SaveableUnitPointer()

QV4::CompiledData::SaveableUnitPointer::SaveableUnitPointer ( const Unit * unit,
quint32 temporaryFlags = Unit::StaticData )
inline

Definition at line 1749 of file qv4compileddata_p.h.

◆ ~SaveableUnitPointer()

QV4::CompiledData::SaveableUnitPointer::~SaveableUnitPointer ( )
default

Member Function Documentation

◆ saveToDisk()

template<typename Char>
bool QV4::CompiledData::SaveableUnitPointer::saveToDisk ( const std::function< bool(const Char *, quint32)> & writer) const
inline

Definition at line 1758 of file qv4compileddata_p.h.

◆ writeDataToFile()

bool QV4::CompiledData::SaveableUnitPointer::writeDataToFile ( const QString & outputFileName,
const char * data,
quint32 size,
QString * errorString )
inlinestatic

Definition at line 1766 of file qv4compileddata_p.h.


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