libnedit
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ntr::fs::StdioFileHandle Struct Reference
Inheritance diagram for ntr::fs::StdioFileHandle:
ntr::fs::FileHandle

Public Member Functions

bool Exists (const std::string &path, size_t &out_size) override
 
Result Open (const std::string &path, const OpenMode mode) override
 
Result GetSize (size_t &out_size) override
 
Result SetOffset (const size_t offset, const Position pos) override
 
Result GetOffset (size_t &out_offset) override
 
Result Read (void *read_buf, const size_t read_size, size_t &out_read_size) override
 
Result Write (const void *write_buf, const size_t write_size) override
 
Result Close () override
 

Public Attributes

FILE * file
 

Member Function Documentation

◆ Close()

Result ntr::fs::StdioFileHandle::Close ( )
overridevirtual

Implements ntr::fs::FileHandle.

◆ Exists()

bool ntr::fs::StdioFileHandle::Exists ( const std::string & path,
size_t & out_size )
overridevirtual

Implements ntr::fs::FileHandle.

◆ GetOffset()

Result ntr::fs::StdioFileHandle::GetOffset ( size_t & out_offset)
overridevirtual

Implements ntr::fs::FileHandle.

◆ GetSize()

Result ntr::fs::StdioFileHandle::GetSize ( size_t & out_size)
overridevirtual

Implements ntr::fs::FileHandle.

◆ Open()

Result ntr::fs::StdioFileHandle::Open ( const std::string & path,
const OpenMode mode )
overridevirtual

Implements ntr::fs::FileHandle.

◆ Read()

Result ntr::fs::StdioFileHandle::Read ( void * read_buf,
const size_t read_size,
size_t & out_read_size )
overridevirtual

Implements ntr::fs::FileHandle.

◆ SetOffset()

Result ntr::fs::StdioFileHandle::SetOffset ( const size_t offset,
const Position pos )
overridevirtual

Implements ntr::fs::FileHandle.

◆ Write()

Result ntr::fs::StdioFileHandle::Write ( const void * write_buf,
const size_t write_size )
overridevirtual

Implements ntr::fs::FileHandle.


The documentation for this struct was generated from the following files: