File Read/Write Routines. More...
#include <arcane/std/internal/IosFile.h>
Public Member Functions | |
| IosFile (std::istream *stream) | |
| const char * | getNextLine (const char *) |
| const char * | getNextLine (void) |
| void | goToEndOfLine (void) |
| Reads all characters until a non-whitespace character. | |
| Real | getReal (void) |
| Integer | getInteger (void) |
| Int64 | getInt64 (void) |
| bool | lookForString (const String &str) |
| void | checkString (const String ¤t_value, const String &expected_value) |
| void | checkString (const String ¤t_value, const String &expected_value1, const String &expected_value2) |
| bool | isEnd (void) |
| void | readBytes (SmallSpan< std::byte > bytes) |
| void | binaryRead (SmallSpan< Int32 > values) |
| void | binaryRead (SmallSpan< Int64 > values) |
| void | binaryRead (SmallSpan< Real3 > values) |
| void | binaryRead (SmallSpan< double > values) |
| void | binaryRead (SmallSpan< Byte > values) |
Static Public Member Functions | |
| static bool | isEqualString (const String ¤t_value, const String &expected_value) |
Static Public Attributes | |
| static const int | IOS_BFR_SZE = 8192 |
Private Attributes | |
| std::istream * | m_stream = nullptr |
| char | m_buf [IOS_BFR_SZE] |
Definition at line 257 of file IosFile.cc.
| void Arcane::IosFile::binaryRead | ( | SmallSpan< double > | values | ) |
Definition at line 239 of file IosFile.cc.
Definition at line 221 of file IosFile.cc.
Definition at line 230 of file IosFile.cc.
Definition at line 248 of file IosFile.cc.
Definition at line 167 of file IosFile.cc.
| void Arcane::IosFile::checkString | ( | const String & | current_value, |
| const String & | expected_value1, | ||
| const String & | expected_value2 ) |
Definition at line 182 of file IosFile.cc.
| Int64 Arcane::IosFile::getInt64 | ( | void | ) |
Definition at line 139 of file IosFile.cc.
| Integer Arcane::IosFile::getInteger | ( | void | ) |
Definition at line 126 of file IosFile.cc.
| const char * Arcane::IosFile::getNextLine | ( | const char * | comment_char | ) |
Definition at line 40 of file IosFile.cc.
| const char * Arcane::IosFile::getNextLine | ( | void | ) |
Definition at line 78 of file IosFile.cc.
| Real Arcane::IosFile::getReal | ( | void | ) |
Definition at line 113 of file IosFile.cc.
| void Arcane::IosFile::goToEndOfLine | ( | void | ) |
Reads all characters until a non-whitespace character.
Definition at line 90 of file IosFile.cc.
| bool Arcane::IosFile::isEnd | ( | void | ) |
Definition at line 30 of file IosFile.cc.
|
static |
Definition at line 198 of file IosFile.cc.
| bool Arcane::IosFile::lookForString | ( | const String & | str | ) |
Definition at line 152 of file IosFile.cc.
| void Arcane::IosFile::readBytes | ( | SmallSpan< std::byte > | bytes | ) |
Definition at line 209 of file IosFile.cc.