|
NX 1.0.3
niu2x's base c++ helper library
|
#include <file_system.h>


Public 成员函数 | |
| File (const String &p) | |
| File (const String &p, FILE *file, OpenMode m) | |
| ~File () | |
| void | close () |
| bool | open (OpenMode mode) |
| bool | open_read () |
| bool | open_write () |
| const Optional< OpenMode > & | get_mode () const |
| ReadResult | read (void *buffer, size_t bytes) override |
| WriteResult | write (const void *buffer, size_t bytes) override |
Public 成员函数 继承自 nx::Read | |
| virtual | ~Read ()=0 |
| bool | read_exact (void *buffer, size_t bytes) |
| ReadAllResult | read_all () |
Public 成员函数 继承自 nx::Write | |
| virtual | ~Write ()=0 |
| virtual bool | write_all (const void *buffer, size_t bytes) |
静态 Public 成员函数 | |
| static File & | in () |
| static File & | out () |
| static File & | err () |
|
explicit |
| nx::file_system::File::~File | ( | ) |
| void nx::file_system::File::close | ( | ) |
|
static |
|
static |
| bool nx::file_system::File::open | ( | OpenMode | mode | ) |
|
inline |
|
inline |
|
static |
|
overridevirtual |
实现了 nx::Read.
|
overridevirtual |
实现了 nx::Write.