12 m_root(
std::move(other.m_root)),
13 m_node(other.m_node) {}
26 inline const std::shared_ptr<EnvRoot>&
Env::root()
const {
31 throw std::runtime_error(msg);
35 CHECK(algo().arguments().count(option) > 0)
36 <<
"env_for_option(): There is no option '" 39 auto& a = algo().
arguments().at(option).as_algorithm();
41 return Env(m_root, a);
const std::shared_ptr< EnvRoot > & root() const
Contains the text compression and encoding framework.
Env env_for_option(const std::string &option) const
Create the environment for a sub algorithm option.
const OptionValue & option(const std::string &option) const
Get an option of this algorithm.
void error(const std::string &msg) const
Log an error and end the current operation.
const ArgumentMap & arguments() const
AlgorithmValue & algo_value()
Local environment for a compression/encoding/decompression call.