|
| | ReadWriteAccessor (const std::shared_ptr< fileaccess::ReadAccessorImpl > &impl_ptr, std::shared_ptr< fileaccess::IFileStream > &stream) |
| | construtor of ReadWriteAccessor 更多...
|
| |
| | ReadWriteAccessor ()=delete |
| | The default constructor for ReadWriteAccessor shall not be used. 更多...
|
| |
| ara::core::Result< void > | SyncToFile () noexcept |
| | Triggers flushing of the current file content to the physical storage. 更多...
|
| |
| ara::core::Result< void > | SetFileSize (std::uint64_t size) noexcept |
| | Reduces the size of the file to ’size’, effectively removing the current content of the file beyond this size. 更多...
|
| |
| ara::core::Result< void > | WriteText (ara::core::StringView s) noexcept |
| | Writes the content of a StringView to the file 更多...
|
| |
| ara::core::Result< void > | WriteBinary (ara::core::Span< const ara::core::Byte > b) noexcept |
| | Writes the content of a Span of Byte to the file. 更多...
|
| |
| ReadWriteAccessor & | operator<< (ara::core::StringView s) noexcept |
| | Writes the content of a StringView to the file. 更多...
|
| |
| | ReadAccessor (const std::shared_ptr< fileaccess::ReadAccessorImpl > &impl_ptr) |
| | construtor of ReadAccessor 更多...
|
| |
| | ReadAccessor ()=delete |
| | The default constructor for ReadAccessor shall not be used. 更多...
|
| |
| | ReadAccessor (ReadAccessor &&ra)=delete |
| | The move constructor for ReadAccessor shall not be used. 更多...
|
| |
| ReadAccessor & | operator= (ReadAccessor &&ra) &=delete |
| | The move assignment operator for ReadAccessor shall not be used. 更多...
|
| |
| | ReadAccessor (const ReadAccessor &)=delete |
| | The copy constructor for ReadAccessor shall not be used. 更多...
|
| |
| ReadAccessor & | operator= (const ReadAccessor &)=delete |
| | The copy assignment operator for ReadAccessor shall not be used. 更多...
|
| |
| | ~ReadAccessor () noexcept=default |
| | Destructor for ReadAccessor. 更多...
|
| |
| ara::core::Result< char > | PeekChar () noexcept |
| | Returns the character at the current position of the file. 更多...
|
| |
| ara::core::Result< ara::core::Byte > | PeekByte () const noexcept |
| | Returns the byte at the current position of the file. 更多...
|
| |
| ara::core::Result< char > | GetChar () noexcept |
| | Returns the character at the current position of the file, advancing the current position 更多...
|
| |
| ara::core::Result< ara::core::Byte > | GetByte () noexcept |
| | Returns the byte at the current position of the file, advancing the current position. 更多...
|
| |
| ara::core::Result< ara::core::String > | ReadText (uint64_t n) noexcept |
| | Reads a number of characters into a String, starting from the current position. 更多...
|
| |
| ara::core::Result< ara::core::String > | ReadText () noexcept |
| | Reads all remaining characters into a String, starting from the current position. 更多...
|
| |
| ara::core::Result< ara::core::Vector< ara::core::Byte > > | ReadBinary () noexcept |
| | Reads all remaining bytes into a Vector of Byte, starting from the current position. 更多...
|
| |
| ara::core::Result< ara::core::Vector< ara::core::Byte > > | ReadBinary (uint64_t n) noexcept |
| | Reads a number of bytes into a Vector of Byte, starting from the current position. 更多...
|
| |
| ara::core::Result< ara::core::String > | ReadLine (char delimiter='\n') noexcept |
| | Reads a complete line of characters into a String, advancing the current position accordingly 更多...
|
| |
| uint64_t | GetPosition () const noexcept |
| | Returns the current position relative to the beginning of the file. 更多...
|
| |
| ara::core::Result< void > | SetPosition (uint64_t position) noexcept |
| | Sets the current position relative to the beginning of the file. 更多...
|
| |
| ara::core::Result< uint64_t > | MovePosition (Origin const origin, int64_t const offset) noexcept |
| | Moves the current position in the file relative to the Origin. 更多...
|
| |
| bool | IsEof () const noexcept |
| | Checks if the current position is at end of file.。 更多...
|
| |
| uint64_t | GetSize () const noexcept |
| | Returns the current size of a file in bytes 更多...
|
| |