#include <large_file_io.h>
|
| File () |
|
| File (mi::Uint32 gzip_compression_level) |
|
| File (const std::string &file_path, std::ios_base::openmode open_mode=std::ios_base::in|std::ios_base::out, mi::Uint32 file_flags=FILE_FLAG_NONE) |
|
virtual | ~File () |
|
bool | open (const std::string &file_path, std::ios_base::openmode open_mode=std::ios_base::in|std::ios_base::out, mi::Uint32 file_flags=FILE_FLAG_NONE) |
|
bool | is_open () const |
|
void | close () |
|
mi::Uint64 | read (void *output_buffer, mi::Uint64 start_position, mi::Uint64 num_bytes_to_read) |
|
mi::Uint64 | write (const void *input_buffer, mi::Uint64 start_position, mi::Uint64 num_bytes_to_write) |
|
mi::Uint64 | read (void *output_buffer, mi::Uint64 num_bytes_to_read) |
|
mi::Uint64 | write (const void *input_buffer, mi::Uint64 num_bytes_to_write) |
|
bool | flush_buffers () const |
|
mi::Uint64 | size () const |
|
const std::string & | file_path () const |
|
| operator bool () const |
|
Definition at line 24 of file large_file_io.h.
◆ anonymous enum
Enumerator |
---|
FILE_FLAG_NONE | |
FILE_FLAG_SEQUENTIAL_READ | |
FILE_FLAG_NO_SYSTEM_CACHE | |
Definition at line 27 of file large_file_io.h.
◆ File() [1/3]
nv::index_common::io::File::File |
( |
| ) |
|
◆ File() [2/3]
nv::index_common::io::File::File |
( |
mi::Uint32 |
gzip_compression_level | ) |
|
|
explicit |
◆ File() [3/3]
nv::index_common::io::File::File |
( |
const std::string & |
file_path, |
|
|
std::ios_base::openmode |
open_mode = std::ios_base::in | std::ios_base::out , |
|
|
mi::Uint32 |
file_flags = FILE_FLAG_NONE |
|
) |
| |
|
explicit |
◆ ~File()
nv::index_common::io::File::~File |
( |
| ) |
|
|
virtual |
◆ close()
void nv::index_common::io::File::close |
( |
| ) |
|
◆ file_path()
const std::string & nv::index_common::io::File::file_path |
( |
| ) |
const |
◆ flush_buffers()
bool nv::index_common::io::File::flush_buffers |
( |
| ) |
const |
◆ is_open()
bool nv::index_common::io::File::is_open |
( |
| ) |
const |
◆ open()
bool nv::index_common::io::File::open |
( |
const std::string & |
file_path, |
|
|
std::ios_base::openmode |
open_mode = std::ios_base::in | std::ios_base::out , |
|
|
mi::Uint32 |
file_flags = FILE_FLAG_NONE |
|
) |
| |
◆ operator bool()
nv::index_common::io::File::operator bool |
( |
| ) |
const |
◆ read() [1/2]
mi::Uint64 nv::index_common::io::File::read |
( |
void * |
output_buffer, |
|
|
mi::Uint64 |
num_bytes_to_read |
|
) |
| |
◆ read() [2/2]
mi::Uint64 nv::index_common::io::File::read |
( |
void * |
output_buffer, |
|
|
mi::Uint64 |
start_position, |
|
|
mi::Uint64 |
num_bytes_to_read |
|
) |
| |
◆ size()
mi::Uint64 nv::index_common::io::File::size |
( |
| ) |
const |
◆ write() [1/2]
mi::Uint64 nv::index_common::io::File::write |
( |
const void * |
input_buffer, |
|
|
mi::Uint64 |
num_bytes_to_write |
|
) |
| |
◆ write() [2/2]
mi::Uint64 nv::index_common::io::File::write |
( |
const void * |
input_buffer, |
|
|
mi::Uint64 |
start_position, |
|
|
mi::Uint64 |
num_bytes_to_write |
|
) |
| |
◆ m_file_impl
File_impl* nv::index_common::io::File::m_file_impl |
|
protected |
The documentation for this class was generated from the following files: