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

Public Member Functions

virtual size_t GetBaseOffset ()
 
virtual bool GetAlignmentBetweenFileData (size_t &out_align)
 
virtual size_t GetFatEntriesOffset ()=0
 
virtual size_t GetFatEntryCount ()=0
 
virtual Result OnFileSystemWrite (fs::BinaryFile &w_bf, const ssize_t size_diff)=0
 
Result LookupFile (const std::string &path, NitroFile &out_file) const
 
Result GetName (const NitroEntryBase &entry, std::string &out_name) const
 
Result DoWithReadFile (std::function< Result(fs::BinaryFile &)> fn) const
 
Result SaveFileSystem () override
 
- Public Member Functions inherited from ntr::fs::ExternalFsFileFormat
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
 
- 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

nfs::NitroDirectory nitro_fs
 
- Public Attributes inherited from ntr::fs::ExternalFsFileFormat
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

◆ SaveFileSystem()

Result ntr::fmt::nfs::NitroFsFileFormat::SaveFileSystem ( )
overridevirtual

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