Class for writing a text file for backups/restorations. More...
#include <arcane/std/TextReader.h>
Classes | |
| class | Impl |
Public Member Functions | |
| TextReader (const String &filename) | |
| TextReader (const TextReader &rhs)=delete | |
| TextReader & | operator= (const TextReader &rhs)=delete |
| void | read (Span< std::byte > values) |
| void | readIntegers (Span< Integer > values) |
| String | fileName () const |
| void | setFileOffset (Int64 v) |
| void | setDataCompressor (Ref< IDataCompressor > ds) |
| Ref< IDataCompressor > | dataCompressor () const |
| std::ifstream & | stream () |
| Int64 | fileLength () const |
| void | read (Span< Int16 > values) |
| void | read (Span< Int32 > values) |
| void | read (Span< Int64 > values) |
| void | read (Span< Real > values) |
| void | read (Span< Byte > values) |
Private Member Functions | |
| void | _binaryRead (void *bytes, Int64 len) |
| void | _checkStream (const char *type, Int64 nb_read_value) |
Private Attributes | |
| Impl * | m_p |
Class for writing a text file for backups/restorations.
Definition at line 39 of file TextReader.h.
|
explicit |
Definition at line 56 of file TextReader.cc.
| Arcane::impl::TextReader::~TextReader | ( | ) |
Definition at line 70 of file TextReader.cc.
|
private |
Definition at line 158 of file TextReader.cc.
|
private |
Definition at line 88 of file TextReader.cc.
| Ref< IDataCompressor > Arcane::impl::TextReader::dataCompressor | ( | ) | const |
Definition at line 206 of file TextReader.cc.
| Int64 Arcane::impl::TextReader::fileLength | ( | ) | const |
Definition at line 224 of file TextReader.cc.
| String Arcane::impl::TextReader::fileName | ( | ) | const |
Definition at line 179 of file TextReader.cc.
Definition at line 113 of file TextReader.cc.
Definition at line 131 of file TextReader.cc.
Definition at line 140 of file TextReader.cc.
Definition at line 122 of file TextReader.cc.
Definition at line 149 of file TextReader.cc.
| void Arcane::impl::TextReader::read | ( | Span< std::byte > | values | ) |
Definition at line 102 of file TextReader.cc.
Definition at line 79 of file TextReader.cc.
| void Arcane::impl::TextReader::setDataCompressor | ( | Ref< IDataCompressor > | ds | ) |
Definition at line 197 of file TextReader.cc.
| void Arcane::impl::TextReader::setFileOffset | ( | Int64 | v | ) |
Definition at line 188 of file TextReader.cc.
| std::ifstream & Arcane::impl::TextReader::stream | ( | ) |
Definition at line 215 of file TextReader.cc.
|
private |
Definition at line 81 of file TextReader.h.