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

Provides utilities for handling streams and contents in the oxy core library. More...

Classes

struct  oxy::core::make_stream_f
 Function object to create a stream from various input types. 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 Provider, class Hash, class Flavor>
void oxy::core::tag_invoke (boost::hash2::hash_append_tag const &, Provider const &, Hash &h, Flavor const &f, contents_t const *v)
 Hash append implementation for contents_t.

Variables

constexpr make_stream_f oxy::core::make_stream
 A constexpr instance of the make_stream_f function object for use in functional programming.

Detailed Description

Provides utilities for handling streams and contents in the oxy core library.

This header defines the make_stream_f function object, which provides overloads for creating a stream from various input types, including string views, strings, input streams, and commit/index objects. It also includes a specialization of the tag_invoke function for hashing contents_t objects using the Boost Hash2 library. The utilities in this header facilitate stream manipulation and hashing in the context of the oxy core library.

@license MPL-2.0