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
qstdweb::File Class Reference

#include <qstdweb_p.h>

Collaboration diagram for qstdweb::File:

Public Member Functions

 File ()=default
 File (const emscripten::val &file)
 ~File ()
 File (const File &other)
 File (File &&other)
Fileoperator= (const File &other)
Fileoperator= (File &&other)
Blob slice (uint64_t begin, uint64_t end) const
std::string name () const
uint64_t size () const
std::string type () const
void stream (uint32_t offset, uint32_t length, char *buffer, std::function< void()> completed) const
void stream (char *buffer, std::function< void()> completed) const
emscripten::val val () const
void fileUrlRegistration () const
const QStringfileUrlPath () const
emscripten::val file () const

Detailed Description

Definition at line 94 of file qstdweb_p.h.

Constructor & Destructor Documentation

◆ File() [1/4]

qstdweb::File::File ( )
default

◆ File() [2/4]

File::File ( const emscripten::val & file)
explicit

Definition at line 197 of file qstdweb.cpp.

◆ ~File()

File::~File ( )
default

◆ File() [3/4]

File::File ( const File & other)
default

◆ File() [4/4]

File::File ( File && other)
default

Member Function Documentation

◆ file()

emscripten::val qstdweb::File::file ( ) const
inline

Definition at line 115 of file qstdweb_p.h.

◆ fileUrlPath()

const QString & qstdweb::File::fileUrlPath ( ) const
inline

Definition at line 114 of file qstdweb_p.h.

◆ fileUrlRegistration()

void qstdweb::File::fileUrlRegistration ( ) const

◆ name()

std::string File::name ( ) const

Definition at line 219 of file qstdweb.cpp.

◆ operator=() [1/2]

File & File::operator= ( const File & other)
default

◆ operator=() [2/2]

File & File::operator= ( File && other)
default

◆ size()

uint64_t File::size ( ) const

Definition at line 224 of file qstdweb.cpp.

◆ slice()

Blob File::slice ( uint64_t begin,
uint64_t end ) const

Definition at line 214 of file qstdweb.cpp.

◆ stream() [1/2]

void File::stream ( char * buffer,
std::function< void()> completed ) const

Definition at line 244 of file qstdweb.cpp.

◆ stream() [2/2]

void File::stream ( uint32_t offset,
uint32_t length,
char * buffer,
std::function< void()> completed ) const

Definition at line 236 of file qstdweb.cpp.

◆ type()

std::string File::type ( ) const

Definition at line 249 of file qstdweb.cpp.

◆ val()

emscripten::val File::val ( ) const

Definition at line 254 of file qstdweb.cpp.


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