Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
System with several parameters. More...
#include <bayeux/mygsl/multiparameter_system.h>
Public Types | |
typedef std::vector< param_entry * > | params_col_type |
Public Member Functions | |
bool | is_lock_params () const |
size_t | get_number_of_params () const |
size_t | get_number_of_free_params () const |
size_t | get_number_of_auto_params () const |
size_t | get_number_of_const_params () const |
void | init () |
void | reset () |
void | lock_params () |
void | unlock_params () |
bool | has_param_with_name (const std::string &name_) const |
const param_entry & | get_param_by_name (const std::string &name_) const |
param_entry & | grab_param_by_name (const std::string &name_) |
const param_entry & | get_param (int i_) const |
param_entry & | grab_param (int i_) |
const param_entry & | get_free_param (int i_) const |
param_entry & | grab_free_param (int i_) |
const param_entry & | get_auto_param (int i_) const |
param_entry & | grab_auto_param (int i_) |
void | add_param (const param_entry &pe_, const std::string &comment_="") |
multiparameter_system () | |
virtual | ~multiparameter_system () |
void | print (std::ostream &out_=std::clog, const std::string &title_="Multi-parameter system", const std::string &indent_="") const |
void | print_line (std::ostream &out_=std::clog) const |
void | print_status (std::ostream &out_=std::clog) const |
void | load_parameters (const std::string &filename_) |
void | load_params (const std::string &filename_) |
void | load_parameters (std::istream &in_) |
void | store_parameters (const std::string &filename_) const |
void | store_params (const std::string &filename_) const |
void | store_parameters (std::ostream &out_) const |
virtual void | compute_automatic_params () |
System with several parameters.
typedef std::vector<param_entry *> mygsl::multiparameter_system::params_col_type |
mygsl::multiparameter_system::multiparameter_system | ( | ) |
|
virtual |
void mygsl::multiparameter_system::add_param | ( | const param_entry & | pe_, |
const std::string & | comment_ = "" |
||
) |
|
virtual |
Reimplemented in mygsl::multiparameter_system_test.
const param_entry& mygsl::multiparameter_system::get_auto_param | ( | int | i_ | ) | const |
const param_entry& mygsl::multiparameter_system::get_free_param | ( | int | i_ | ) | const |
size_t mygsl::multiparameter_system::get_number_of_auto_params | ( | ) | const |
size_t mygsl::multiparameter_system::get_number_of_const_params | ( | ) | const |
size_t mygsl::multiparameter_system::get_number_of_free_params | ( | ) | const |
size_t mygsl::multiparameter_system::get_number_of_params | ( | ) | const |
const param_entry& mygsl::multiparameter_system::get_param | ( | int | i_ | ) | const |
const param_entry& mygsl::multiparameter_system::get_param_by_name | ( | const std::string & | name_ | ) | const |
param_entry& mygsl::multiparameter_system::grab_auto_param | ( | int | i_ | ) |
param_entry& mygsl::multiparameter_system::grab_free_param | ( | int | i_ | ) |
param_entry& mygsl::multiparameter_system::grab_param | ( | int | i_ | ) |
param_entry& mygsl::multiparameter_system::grab_param_by_name | ( | const std::string & | name_ | ) |
bool mygsl::multiparameter_system::has_param_with_name | ( | const std::string & | name_ | ) | const |
void mygsl::multiparameter_system::init | ( | ) |
bool mygsl::multiparameter_system::is_lock_params | ( | ) | const |
void mygsl::multiparameter_system::load_parameters | ( | const std::string & | filename_ | ) |
void mygsl::multiparameter_system::load_parameters | ( | std::istream & | in_ | ) |
void mygsl::multiparameter_system::load_params | ( | const std::string & | filename_ | ) |
void mygsl::multiparameter_system::lock_params | ( | ) |
void mygsl::multiparameter_system::print | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "Multi-parameter system" , |
||
const std::string & | indent_ = "" |
||
) | const |
void mygsl::multiparameter_system::print_line | ( | std::ostream & | out_ = std::clog | ) | const |
void mygsl::multiparameter_system::print_status | ( | std::ostream & | out_ = std::clog | ) | const |
void mygsl::multiparameter_system::reset | ( | ) |
void mygsl::multiparameter_system::store_parameters | ( | const std::string & | filename_ | ) | const |
void mygsl::multiparameter_system::store_parameters | ( | std::ostream & | out_ | ) | const |
void mygsl::multiparameter_system::store_params | ( | const std::string & | filename_ | ) | const |
void mygsl::multiparameter_system::unlock_params | ( | ) |