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

Representation of an entry of an index. More...

#include <type.hpp>

Public Member Functions

constexpr entry_t (const oid_t &oid, const mime_t &mime={}, const metadata_t &metadata={})
auto & data ()
constexpr auto & data () const
auto empty () const noexcept
auto & mime ()
constexpr auto & mime () const
constexpr auto & oid () const
bool operator< (const entry_t &rhs) const
bool operator== (const entry_t &rhs) const

Detailed Description

Representation of an entry of an index.

An entry is a single item in an index, which consists of an oid, a MIME type, and associated metadata. It is used to represent the contents of an index object in the OXY system.