Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flox::resolver::GlobalManifestRaw Struct Reference

A global manifest containing only registry and options fields in its raw form. More...

#include <manifest-raw.hh>

Inheritance diagram for flox::resolver::GlobalManifestRaw:
flox::resolver::ManifestRaw

Public Member Functions

 GlobalManifestRaw (const GlobalManifestRaw &)=default
 
 GlobalManifestRaw (GlobalManifestRaw &&)=default
 
 GlobalManifestRaw (std::optional< RegistryRaw > registry, std::optional< Options > options=std::nullopt)
 
 GlobalManifestRaw (std::optional< Options > options)
 
GlobalManifestRawoperator= (const GlobalManifestRaw &)=default
 
GlobalManifestRawoperator= (GlobalManifestRaw &&)=default
 
virtual void check () const
 Validate manifest fields, throwing an exception if its contents are invalid.
 
virtual void clear ()
 
 operator GlobalManifestRawGA () const
 

Public Attributes

std::optional< RegistryRawregistry
 
std::optional< Optionsoptions
 Options controlling environment and search behaviors.
 

Detailed Description

A global manifest containing only registry and options fields in its raw form.

This raw struct is defined to generate parsers, and its declarations simply represent what is considered valid. On its own, it performs no real work, other than to validate the input.

See also
flox::resolver::GlobalManifest

Member Function Documentation

◆ check()

virtual void flox::resolver::GlobalManifestRaw::check ( ) const
inlinevirtual

Validate manifest fields, throwing an exception if its contents are invalid.

Reimplemented in flox::resolver::ManifestRaw.

Member Data Documentation

◆ registry

std::optional<RegistryRaw> flox::resolver::GlobalManifestRaw::registry

A collection of inputs to find packages.


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