OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
io_utilities.h File Reference
#include "pch.h"

Go to the source code of this file.

Classes

class  opennn::FileReader
 Thread-safe positional file reader (pread on POSIX, overlapped ReadFile on Windows). More...
 
class  opennn::FileWriter
 Streaming writer that finalises by atomic-renaming a .tmp file to its final path. More...
 
class  opennn::CsvReader
 Tokenising CSV reader that returns string_views into a single backing buffer. More...
 
struct  opennn::CsvReader::Config
 Reader configuration: field separator and an optional per-line validator. More...
 
struct  opennn::CsvReader::Result
 Parsed CSV result; owns the source buffer that backs all row views. More...
 

Namespaces

namespace  opennn
 

Functions

void opennn::atomic_rename (const filesystem::path &from, const filesystem::path &to)
 Atomically renames a file, replacing the destination if needed.