![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| bool | isOverridden () const |
| virtual bool | excludedFromFullSerialisation () const |
Public Attributes | |
| const std::string | name |
| const std::string | description |
| const StringSet | aliases |
| int | created = 123 |
| bool | overridden = false |
| std::optional< ExperimentalFeature > | experimentalFeature |
Protected Member Functions | |
| AbstractSetting (const std::string &name, const std::string &description, const StringSet &aliases, std::optional< ExperimentalFeature > experimentalFeature=std::nullopt) | |
| virtual void | set (const std::string &value, bool append=false)=0 |
| virtual bool | isAppendable ()=0 |
| virtual std::string | to_string () const =0 |
| nlohmann::json | toJSON () |
| virtual std::map< std::string, nlohmann::json > | toJSONObject () const |
| virtual void | convertToArg (Args &args, const std::string &category) |
Friends | |
| class | Config |
|
protectedpure virtual |
Whether the type is appendable; i.e. whether the append parameter to set() is allowed to be true.
Implemented in nix::BaseSetting< T >, nix::BaseSetting< AbsolutePath >, nix::BaseSetting< bool >, nix::BaseSetting< CompressionAlgo >, nix::BaseSetting< Diagnose >, nix::BaseSetting< EvalProfilerMode >, nix::BaseSetting< ExternalBuilders >, nix::BaseSetting< int >, nix::BaseSetting< nix::AbsolutePath >, nix::BaseSetting< off_t >, nix::BaseSetting< PathsInChroot >, nix::BaseSetting< S3AddressingStyle >, nix::BaseSetting< SandboxMode >, nix::BaseSetting< size_t >, nix::BaseSetting< std::filesystem::path >, nix::BaseSetting< std::list< std::filesystem::path > >, nix::BaseSetting< std::optional< CompressionAlgo > >, nix::BaseSetting< std::optional< nix::AbsolutePath > >, nix::BaseSetting< std::optional< std::string > >, nix::BaseSetting< std::set< ExperimentalFeature > >, nix::BaseSetting< std::set< std::filesystem::path > >, nix::BaseSetting< std::set< StoreReference > >, nix::BaseSetting< std::string >, nix::BaseSetting< std::vector< StoreReference > >, nix::BaseSetting< StoreReference >, nix::BaseSetting< StringMap >, nix::BaseSetting< Strings >, nix::BaseSetting< StringSet >, nix::BaseSetting< time_t >, nix::BaseSetting< uint32_t >, nix::BaseSetting< uint64_t >, nix::BaseSetting< unsigned >, nix::BaseSetting< unsigned int >, and nix::BaseSetting< unsigned long >.
|
protectedpure virtual |
Implemented in nix::BaseSetting< T >, nix::BaseSetting< AbsolutePath >, nix::BaseSetting< bool >, nix::BaseSetting< CompressionAlgo >, nix::BaseSetting< Diagnose >, nix::BaseSetting< EvalProfilerMode >, nix::BaseSetting< ExternalBuilders >, nix::BaseSetting< int >, nix::BaseSetting< nix::AbsolutePath >, nix::BaseSetting< off_t >, nix::BaseSetting< PathsInChroot >, nix::BaseSetting< S3AddressingStyle >, nix::BaseSetting< SandboxMode >, nix::BaseSetting< size_t >, nix::BaseSetting< std::filesystem::path >, nix::BaseSetting< std::list< std::filesystem::path > >, nix::BaseSetting< std::optional< CompressionAlgo > >, nix::BaseSetting< std::optional< nix::AbsolutePath > >, nix::BaseSetting< std::optional< std::string > >, nix::BaseSetting< std::set< ExperimentalFeature > >, nix::BaseSetting< std::set< std::filesystem::path > >, nix::BaseSetting< std::set< StoreReference > >, nix::BaseSetting< std::string >, nix::BaseSetting< std::vector< StoreReference > >, nix::BaseSetting< StoreReference >, nix::BaseSetting< StringMap >, nix::BaseSetting< Strings >, nix::BaseSetting< StringSet >, nix::BaseSetting< time_t >, nix::BaseSetting< uint32_t >, nix::BaseSetting< uint64_t >, nix::BaseSetting< unsigned >, nix::BaseSetting< unsigned int >, and nix::BaseSetting< unsigned long >.