libeditwl
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
twl::fmt::Utility Struct Reference
Inheritance diagram for twl::fmt::Utility:
twl::fs::FileFormat twl::fmt::nfs::NitroFileSystemFormat

Classes

struct  Header
 

Public Member Functions

 Utility (const Utility &)=delete
 
 Utility (Utility &&)=default
 
size_t GetBaseOffset () override
 
size_t GetFatEntriesOffset () const override
 
size_t GetFatEntryCount () const override
 
Result OnFileSystemWrite (fs::BinaryFile &w_bf, const ssize_t size_diff) override
 
Result ReadValidateFrom (fs::File &rf) override
 
Result ReadAllFrom (fs::File &rf) override
 
Result WriteTo (fs::File &wf) override
 
- Public Member Functions inherited from twl::fs::FileFormat
Result ReadFrom (File &rf)
 
- Public Member Functions inherited from twl::fmt::nfs::NitroFileSystemFormat
Result CreateFileById (NitroFileSystemFile &file, const u32 file_id)
 
Result CreateFileByPath (NitroFileSystemFile &file, const std::string &path)
 

Public Attributes

Header header
 

Static Public Attributes

static constexpr size_t SectionAlignment = 0x20
 

Additional Inherited Members

- Protected Attributes inherited from twl::fmt::nfs::NitroFileSystemFormat
NitroFileSystem nitro_fs
 

Member Function Documentation

◆ ReadAllFrom()

Result twl::fmt::Utility::ReadAllFrom ( fs::File & rf)
overridevirtual

Implements twl::fs::FileFormat.

◆ ReadValidateFrom()

Result twl::fmt::Utility::ReadValidateFrom ( fs::File & rf)
overridevirtual

Implements twl::fs::FileFormat.

◆ WriteTo()

Result twl::fmt::Utility::WriteTo ( fs::File & wf)
overridevirtual

Implements twl::fs::FileFormat.


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