Text file writing class for backups/restorations. More...
#include <arcane/std/TextWriter.h>
Classes | |
| class | Impl |
Public Member Functions | |
| TextWriter (const String &filename) | |
| TextWriter (const TextWriter &rhs)=delete | |
| TextWriter & | operator= (const TextWriter &rhs)=delete |
| void | open (const String &filename) |
| void | write (Span< const std::byte > values) |
| String | fileName () const |
| void | setDataCompressor (Ref< IDataCompressor > ds) |
| Ref< IDataCompressor > | dataCompressor () const |
| Int64 | fileOffset () |
| std::ostream & | stream () |
| void | write (Span< const Real > values) |
| void | write (Span< const Int16 > values) |
| void | write (Span< const Int32 > values) |
| void | write (Span< const Int64 > values) |
| void | write (Span< const Byte > values) |
Private Member Functions | |
| void | _binaryWrite (const void *bytes, Int64 len) |
Private Attributes | |
| Impl * | m_p |
Text file writing class for backups/restorations.
Definition at line 41 of file TextWriter.h.
|
explicit |
Definition at line 47 of file TextWriter.cc.
| Arcane::impl::TextWriter::TextWriter | ( | ) |
Definition at line 57 of file TextWriter.cc.
| Arcane::impl::TextWriter::~TextWriter | ( | ) |
Definition at line 66 of file TextWriter.cc.
|
private |
Definition at line 167 of file TextWriter.cc.
| Ref< IDataCompressor > Arcane::impl::TextWriter::dataCompressor | ( | ) | const |
Definition at line 155 of file TextWriter.cc.
| String Arcane::impl::TextWriter::fileName | ( | ) | const |
Definition at line 143 of file TextWriter.cc.
| Int64 Arcane::impl::TextWriter::fileOffset | ( | ) |
Definition at line 161 of file TextWriter.cc.
| void Arcane::impl::TextWriter::open | ( | const String & | filename | ) |
Definition at line 75 of file TextWriter.cc.
| void Arcane::impl::TextWriter::setDataCompressor | ( | Ref< IDataCompressor > | ds | ) |
Definition at line 149 of file TextWriter.cc.
| std::ostream & Arcane::impl::TextWriter::stream | ( | ) |
Definition at line 188 of file TextWriter.cc.
Definition at line 125 of file TextWriter.cc.
Definition at line 98 of file TextWriter.cc.
Definition at line 107 of file TextWriter.cc.
Definition at line 116 of file TextWriter.cc.
Definition at line 89 of file TextWriter.cc.
| void Arcane::impl::TextWriter::write | ( | Span< const std::byte > | values | ) |
Definition at line 134 of file TextWriter.cc.
|
private |
Definition at line 84 of file TextWriter.h.