Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::configuration::ui::variant_registry_cli Class Reference

#include <bayeux/datatools/configuration/ui/variant_registry_cli.h>

Public Member Functions

 variant_registry_cli (datatools::configuration::variant_registry &)
 Constructor. More...
 
datatools::logger::priority get_logging () const
 Return the logging priority threshold. More...
 
void set_logging (const datatools::logger::priority)
 Set the logging priority threshold. More...
 
command::returned_info cmd_is_parameter_value_enabled (const std::string &param_path_, const std::string &value_token_, bool &enabled_)
 Command to check if the value of a parameter is enabled. More...
 
command::returned_info cmd_set_parameter_value (const std::string &param_path_, const std::string &value_token_)
 Command to set the value of a parameter from a string. More...
 
command::returned_info cmd_get_parameter_value (const std::string &param_path_, std::string &value_token_) const
 Command to get the value string of a parameter. More...
 
command::returned_info cmd_is_active_variant (const std::string &variant_path_, bool &active_) const
 Check if a variant is active. More...
 
command::returned_info cmd_has_variant (const std::string &variant_path_, bool &existing_) const
 Check if a variant exists. More...
 
command::returned_info cmd_has_parameter (const std::string &parameter_path_, bool &existing_) const
 Check if a parameter exists. More...
 

Constructor & Destructor Documentation

◆ variant_registry_cli()

datatools::configuration::ui::variant_registry_cli::variant_registry_cli ( datatools::configuration::variant_registry )

Constructor.

Member Function Documentation

◆ cmd_get_parameter_value()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_get_parameter_value ( const std::string &  param_path_,
std::string &  value_token_ 
) const

Command to get the value string of a parameter.

◆ cmd_has_parameter()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_has_parameter ( const std::string &  parameter_path_,
bool &  existing_ 
) const

Check if a parameter exists.

◆ cmd_has_variant()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_has_variant ( const std::string &  variant_path_,
bool &  existing_ 
) const

Check if a variant exists.

◆ cmd_is_active_variant()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_is_active_variant ( const std::string &  variant_path_,
bool &  active_ 
) const

Check if a variant is active.

◆ cmd_is_parameter_value_enabled()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_is_parameter_value_enabled ( const std::string &  param_path_,
const std::string &  value_token_,
bool &  enabled_ 
)

Command to check if the value of a parameter is enabled.

◆ cmd_set_parameter_value()

command::returned_info datatools::configuration::ui::variant_registry_cli::cmd_set_parameter_value ( const std::string &  param_path_,
const std::string &  value_token_ 
)

Command to set the value of a parameter from a string.

◆ get_logging()

datatools::logger::priority datatools::configuration::ui::variant_registry_cli::get_logging ( ) const

Return the logging priority threshold.

◆ set_logging()

void datatools::configuration::ui::variant_registry_cli::set_logging ( const datatools::logger::priority  )

Set the logging priority threshold.


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