Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::api::storage::FileCopy::State Struct Reference

Public Member Functions

 State (ReadOnlyFile source_file, WritableFile destination_file, std::uint64_t source_size)
 

Public Attributes

ReadOnlyFile source
 
WritableFile destination
 
std::array< std::byte, 32 *1024 > buffer {}
 
std::atomic< bool > cancel_requested {false}
 
std::uint64_t bytes_copied = 0
 
std::uint64_t total_bytes = 0
 
bool complete = false
 

Constructor & Destructor Documentation

◆ State()

symbian::api::storage::FileCopy::State::State ( ReadOnlyFile  source_file,
WritableFile  destination_file,
std::uint64_t  source_size 
)
inline

Member Data Documentation

◆ buffer

std::array<std::byte, 32 * 1024> symbian::api::storage::FileCopy::State::buffer {}

◆ bytes_copied

std::uint64_t symbian::api::storage::FileCopy::State::bytes_copied = 0

◆ cancel_requested

std::atomic<bool> symbian::api::storage::FileCopy::State::cancel_requested {false}

◆ complete

bool symbian::api::storage::FileCopy::State::complete = false

◆ destination

WritableFile symbian::api::storage::FileCopy::State::destination

◆ source

ReadOnlyFile symbian::api::storage::FileCopy::State::source

◆ total_bytes

std::uint64_t symbian::api::storage::FileCopy::State::total_bytes = 0

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