|
enum class | Encoding : u8 { CP1252 = 1
, UTF16 = 2
, ShiftJIS = 3
, UTF8 = 4
} |
|
enum class | MessageTokenType : u8 { Text
, Escape
} |
|
|
| BMG (const BMG &)=delete |
|
bool | HasMessageIds () |
|
Result | CreateFrom (const Encoding enc, const bool has_message_ids, const size_t attr_size, const std::vector< Message > &msgs, const u32 file_id, const ntr::fs::FileCompression comp=ntr::fs::FileCompression::None) |
|
Result | ValidateImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | ReadImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | WriteImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | Validate (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None) |
|
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) |
|
|
static constexpr size_t | GetCharacterSize (const Encoding enc) |
|
static constexpr bool | IsValidEncoding (const Encoding enc) |
|
◆ ReadImpl()
Result ntr::fmt::BMG::ReadImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
◆ ValidateImpl()
Result ntr::fmt::BMG::ValidateImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
◆ WriteImpl()
Result ntr::fmt::BMG::WriteImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
The documentation for this struct was generated from the following files:
- libnedit/include/ntr/fmt/fmt_BMG.hpp
- libnedit/source/ntr/fmt/fmt_BMG.cpp