OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
index_io.hpp File Reference

Index serialization and deserialization for the oxy core library. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.
namespace  oxy::core
 This namespace contains core types and operations for the OXY-API library.

Functions

template<class Archive>
void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, oxy::index::entry_t &u)
template<class Archive>
void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::filesystem::path &u)
template<class Archive>
void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, const oxy::core::entry_t &u)
template<class Archive>
void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, const std::filesystem::path &u)
template<typename Archive = cereal::JSONInputArchive>
std::istream & oxy::core::parse (std::istream &is, index_t &obj)
template<typename Archive = cereal::JSONOutputArchive>
std::ostream & oxy::core::serialize (std::ostream &os, index_t const &obj)

Detailed Description

Index serialization and deserialization for the oxy core library.

This header defines functions to serialize and deserialize the index_t type to and from JSON format using the Cereal library. It includes custom serialization for std::filesystem::path and oxy::core::entry_t. The functions parse and serialize provide convenient interfaces for reading from and writing to streams.

@license MPL-2.0