Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- FArchiveState
- FArchive
- FArchiveFileReaderGeneric
- FMovieSceneArchiveFileReader
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/FileManagerGeneric.h |
| Include | #include "HAL/FileManagerGeneric.h" |
Syntax
class FArchiveFileReaderGeneric : public FArchive
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFirstReadAfterSeek | ||
| TArray64< uint8 > | BufferArray | The contract for the BufferWindow and the low level pos is that if we have a BufferWindow and Pos is within it, then the LowLevel Pos is at the end of the BufferWindow If we do not have a BufferWindow, or Pos is outside of it, then LowLevel Pos is at Pos. | |
| int64 | BufferBase | ||
| int64 | BufferSize | ||
| FString | Filename | Filename for debugging purposes. | |
| uint32 | Flags | ||
| TUniquePtr< IFileHandle > | Handle | ||
| int64 | Pos | ||
| int64 | Size |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArchiveFileReaderGeneric
(
IFileHandle* InHandle, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Close the file handle | ||
| bool | InternalPrecache
(
int64 PrecacheOffset, |
||
| bool | IsSilent () |
Returns true if the archive should suppress logging in case of error | |
| void | ReadLowLevel
(
uint8* Dest, |
Platform specific read | |
| bool | SeekLowLevel
(
int64 InPos |
Platform specific seek |
Overridden from FArchive
| Type | Name | Description | |
|---|---|---|---|
| bool | Close () |
Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded. | |
| void | FlushCache () |
Flushes cache and frees internal data. | |
| bool | Hint the archive that the region starting at passed in offset and spanning the passed in size is going to be read soon and should be precached. | ||
| void | Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. | ||
| void |
Overridden from FArchiveState
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the name of the Archive. | ||
| int64 | Tell () |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. | |
| int64 | TotalSize () |
Returns total size of the backing data storage. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| API/Runtime/Core/HAL/FArchiveFileReaderGeneric_1 |