Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::AbstractSetting Class Referenceabstract
Inheritance diagram for nix::AbstractSetting:
[legend]

Classes

struct  deprecated_t
 

Public Attributes

const std::string name
 
const std::string description
 
const std::set< std::string > aliases
 
int created = 123
 
bool overridden = false
 
std::optional< ExperimentalFeatureexperimentalFeature
 

Protected Member Functions

 AbstractSetting (const std::string &name, const std::string &description, const std::set< std::string > &aliases, std::optional< ExperimentalFeature > experimentalFeature=std::nullopt)
 
virtual void set (const std::string &value, bool append=false, const ApplyConfigOptions &options={})=0
 
virtual bool isAppendable ()=0
 
virtual std::string to_string () const =0
 
JSON toJSON ()
 
virtual std::map< std::string, JSON > toJSONObject () const
 
virtual void convertToArg (Args &args, const std::string &category)
 
bool isOverridden () const
 

Friends

class Config
 

Member Function Documentation

◆ isAppendable()

virtual bool nix::AbstractSetting::isAppendable ( )
protectedpure virtual

◆ set()


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