morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::ManifestFile Struct Reference

One file of a manifest. More...

#include <bundle.hpp>

Public Member Functions

bool operator== (ManifestFile const &) const =default
 Field-wise equality.

Public Attributes

std::string id
 The file's id: a screen's document id, app, a theme's, a catalogue's or a component's name.
std::string kind
 screen, app, theme, messages, component or icon; a client fetches no kind it does not know.
std::string hash
 The file's content hash.
std::uint64_t size = 0
 The file's size in bytes.
bool isPublic = false
 Whether anyone the ui-hello gate admits may fetch it, before sign-in (spec 6 §8 public).

Detailed Description

One file of a manifest.

Definition at line 125 of file bundle.hpp.

Member Function Documentation

◆ operator==()

bool morph::ui::ManifestFile::operator== ( ManifestFile const & ) const
default

Field-wise equality.

Returns
Whether every field is equal.

Member Data Documentation

◆ id

std::string morph::ui::ManifestFile::id

The file's id: a screen's document id, app, a theme's, a catalogue's or a component's name.

Definition at line 127 of file bundle.hpp.

◆ kind

std::string morph::ui::ManifestFile::kind

screen, app, theme, messages, component or icon; a client fetches no kind it does not know.

Definition at line 129 of file bundle.hpp.

◆ hash

std::string morph::ui::ManifestFile::hash

The file's content hash.

Definition at line 131 of file bundle.hpp.

◆ size

std::uint64_t morph::ui::ManifestFile::size = 0

The file's size in bytes.

Definition at line 133 of file bundle.hpp.

◆ isPublic

bool morph::ui::ManifestFile::isPublic = false

Whether anyone the ui-hello gate admits may fetch it, before sign-in (spec 6 §8 public).

Definition at line 135 of file bundle.hpp.


The documentation for this struct was generated from the following file: