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

#include <cpp/symbian/api/include/symbian/api/storage/storage.h>

Public Member Functions

 ReadOnlyFile (ReadOnlyFile &&other) noexcept
 
ReadOnlyFile & operator= (ReadOnlyFile &&other) noexcept
 
 ReadOnlyFile (const ReadOnlyFile &)=delete
 
ReadOnlyFile & operator= (const ReadOnlyFile &)=delete
 
 ~ReadOnlyFile ()
 
absl::StatusOr< std::uint64_t > Size () const
 
absl::StatusOr< std::size_t > ReadAt (std::uint64_t offset, std::span< std::byte > destination) const
 

Static Public Member Functions

static absl::StatusOr< ReadOnlyFile > Open (std::u16string_view path)
 

Constructor & Destructor Documentation

◆ ReadOnlyFile() [1/2]

symbian::api::storage::ReadOnlyFile::ReadOnlyFile ( ReadOnlyFile &&  other)
noexcept

◆ ReadOnlyFile() [2/2]

symbian::api::storage::ReadOnlyFile::ReadOnlyFile ( const ReadOnlyFile &  )
delete

◆ ~ReadOnlyFile()

symbian::api::storage::ReadOnlyFile::~ReadOnlyFile ( )

Member Function Documentation

◆ Open()

absl::StatusOr< ReadOnlyFile > symbian::api::storage::ReadOnlyFile::Open ( std::u16string_view  path)
static

◆ operator=() [1/2]

ReadOnlyFile & symbian::api::storage::ReadOnlyFile::operator= ( const ReadOnlyFile &  )
delete

◆ operator=() [2/2]

ReadOnlyFile & symbian::api::storage::ReadOnlyFile::operator= ( ReadOnlyFile &&  other)
noexcept

◆ ReadAt()

absl::StatusOr< std::size_t > symbian::api::storage::ReadOnlyFile::ReadAt ( std::uint64_t  offset,
std::span< std::byte >  destination 
) const

◆ Size()

absl::StatusOr< std::uint64_t > symbian::api::storage::ReadOnlyFile::Size ( ) const

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