OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::stream_t Struct Reference

In-memory representation of a stream. More...

#include <type.hpp>

Public Member Functions

constexpr stream_t (std::string const &name, mime_t const &mime, tags_t const &tags)
auto empty () const noexcept
 explicit (false) const expr stream_t(std
constexpr auto & mime () const
constexpr auto & name () const
bool operator< (stream_t const &rhs) const
bool operator== (stream_t const &rhs) const
constexpr auto & tags () const

Detailed Description

In-memory representation of a stream.

This structure represents a stream in memory, containing its name, MIME type, and associated tags. It provides constructors for initialization, methods to check if the stream is empty, and accessors for its properties. The structure also defines comparison operators for equality and ordering based on the stream's name.