MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
file_sys.hpp File Reference
#include "mtcore/colls/slice.hpp"
#include "mtcore/core.hpp"
#include "mtcore/random.hpp"
Include dependency graph for file_sys.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mtcore::io::SyncFileSystemVTable
 VTable for synchronous file system. More...
 
struct  mtcore::io::SyncFileSystem
 Synchronous File System interface for handling I/O calls This is encapsulated as a struct of file pointers so we can do deterministic testing This allows us to also dynamically swap things out for different file systems, or even do remote "file systems" where we're reading and writing to an object store (e.g. More...
 

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 
namespace  mtcore::io
 

Macros

#define MTCORE_IO_HPP
 

Typedefs

using mtcore::io::FileError = int
 File error.
 

Functions

SyncFileSystem mtcore::io::c_filesys ()
 Creates a sync file system based on the C API Uses the 64-bit options where possible (enables >2GB file ops)
 

Macro Definition Documentation

◆ MTCORE_IO_HPP

#define MTCORE_IO_HPP

Definition at line 22 of file file_sys.hpp.