MLBookProc
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
LibArchiveFileData.h
1
/*
2
* Copyright (C) 2026 Yury Bobylev <bobilev_yury@mail.ru>
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along with
14
* this program. If not, see <https://www.gnu.org/licenses/>.
15
*/
16
#ifndef LIBARCHIVEFILEDATA_H
17
#define LIBARCHIVEFILEDATA_H
18
19
#include <filesystem>
20
#include <istream>
21
#include <memory>
22
28
class
LibArchiveFileData
29
{
30
public
:
31
LibArchiveFileData();
32
33
virtual
~LibArchiveFileData();
34
40
std::shared_ptr<std::iostream>
f
;
41
47
size_t
file_size
;
48
52
std::ios_base::openmode
open_mode
;
53
58
std::filesystem::path
path
;
59
63
std::string
source_buffer
;
64
70
char
*
buffer
;
71
77
size_t
buffer_size
;
78
85
size_t
start_offset
;
86
};
87
88
#endif
// LIBARCHIVEFILEDATA_H
LibArchiveFileData::f
std::shared_ptr< std::iostream > f
Definition
LibArchiveFileData.h:40
LibArchiveFileData::buffer
char * buffer
Definition
LibArchiveFileData.h:70
LibArchiveFileData::file_size
size_t file_size
Definition
LibArchiveFileData.h:47
LibArchiveFileData::source_buffer
std::string source_buffer
Definition
LibArchiveFileData.h:63
LibArchiveFileData::buffer_size
size_t buffer_size
Definition
LibArchiveFileData.h:77
LibArchiveFileData::path
std::filesystem::path path
Definition
LibArchiveFileData.h:58
LibArchiveFileData::start_offset
size_t start_offset
Definition
LibArchiveFileData.h:85
LibArchiveFileData::open_mode
std::ios_base::openmode open_mode
Definition
LibArchiveFileData.h:52
LibArchiveFileData.h
Generated by
1.17.0