libnedit
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ntr::fs::ExternalFsFileFormat Struct Referenceabstract
Inheritance diagram for ntr::fs::ExternalFsFileFormat:
ntr::fs::FileFormat ntr::fmt::SDAT ntr::fmt::nfs::NitroFsFileFormat ntr::fmt::NARC ntr::fmt::ROM ntr::fmt::Utility

Public Member Functions

std::string GetExternalFsPath (const std::string &path)
 
std::string GetBasePath (const std::string &ext_fs_path)
 
Result WriteImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override
 
virtual Result SaveFileSystem ()=0
 
- Public Member Functions inherited from ntr::fs::FileFormat
virtual Result ValidateImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp)=0
 
Result Validate (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None)
 
virtual Result ReadImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp)=0
 
Result ReadFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None)
 
Result ReadCompressedFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle)
 
Result WriteTo (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle)
 
Result WriteTo (std::shared_ptr< fs::FileHandle > file_handle)
 

Public Attributes

u32 ext_fs_id
 
std::string ext_fs_root_path
 
- Public Attributes inherited from ntr::fs::FileFormat
std::string read_path
 
std::shared_ptr< fs::FileHandleread_file_handle
 
std::string write_path
 
std::shared_ptr< fs::FileHandlewrite_file_handle
 
fs::FileCompression comp
 

Member Function Documentation

◆ WriteImpl()

Result ntr::fs::ExternalFsFileFormat::WriteImpl ( const std::string & path,
std::shared_ptr< fs::FileHandle > file_handle,
const fs::FileCompression comp )
inlineoverridevirtual

Implements ntr::fs::FileFormat.


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