Functions | |
void | load (Header &H, const std::string &path) |
void | save (const Header &H, const std::string &json_path, const std::string &image_path) |
KeyValues | read (const nlohmann::json &json, const KeyValues &preexisting=KeyValues()) |
void | read (const nlohmann::json &json, Header &header, const bool realign) |
void | write (const KeyValues &keyval, nlohmann::json &json) |
void | write (const Header &header, nlohmann::json &json, const std::string &image_path) |
void MR::File::JSON::load | ( | Header & | H, |
const std::string & | path | ||
) |
KeyValues MR::File::JSON::read | ( | const nlohmann::json & | json, |
const KeyValues & | preexisting = KeyValues() |
||
) |
void MR::File::JSON::read | ( | const nlohmann::json & | json, |
Header & | header, | ||
const bool | realign | ||
) |
void MR::File::JSON::save | ( | const Header & | H, |
const std::string & | json_path, | ||
const std::string & | image_path | ||
) |
void MR::File::JSON::write | ( | const Header & | header, |
nlohmann::json & | json, | ||
const std::string & | image_path | ||
) |
void MR::File::JSON::write | ( | const KeyValues & | keyval, |
nlohmann::json & | json | ||
) |