#include "b2cmdline.H"
Additional Inherited Members | |
![]() | |
bool | has_key (const std::string &key) const |
void | remove_key (const std::string &key) |
Remove entry "key". | |
const RData & | operator() (const std::string &key) const |
RData & | operator() (const std::string &key) |
void | update (const RTable &o) |
Update with all (key,value) pairs from another RTable. | |
template<typename T > | |
void | set (const std::string &key, const T &v, const bool new_key=false) |
Assign a single value. If new_key is true, the key must not exist. | |
template<typename T > | |
void | set (const std::string &key, const std::vector< T > &v, const bool new_key=false) |
Copy a vector. If new_key is true, the key must not exist. | |
template<typename InputIterator > | |
void | set (const std::string &key, InputIterator first, InputIterator last, const bool new_key=false) |
Copy a range. If new_key is true, the key must not exist. | |
void | set (const std::string &key, const std::string &s, const bool new_key=false) |
Copy a string. If new_key is true, the key must not exist. | |
bool | get_bool (const std::string &key) const |
bool | get_bool (const std::string &key, const bool default_) const |
int | get_int (const std::string &key) const |
int | get_int (const std::string &key, const int default_) const |
double | get_double (const std::string &key) const |
double | get_double (const std::string &key, const double default_) const |
std::complex< double > | get_complex_double (const std::string &key) const |
b2000::csda< double > | get_csda_double (const std::string &key) const |
std::complex< double > | get_complex_double (const std::string &key, const std::complex< double > &default_) const |
b2000::csda< double > | get_csda_double (const std::string &key, const b2000::csda< double > &default_) const |
std::string | get_string (const std::string &key) const |
std::string | get_string (const std::string &key, const std::string &default_) const |
template<typename T > | |
T | get (const std::string &key) const |
template<typename T > | |
T | get (const std::string &key, const T &default_) const |
void | get (const std::string &key, std::vector< int > &v) const |
void | get (const std::string &key, std::vector< double > &v) const |
void | get (const std::string &key, std::vector< std::complex< double > > &v) const |
void | get (const std::string &key, std::vector< b2000::csda< double > > &v) const |
void | get (const std::string &key, const size_t size_, int *v) const |
void | get (const std::string &key, const size_t size_, double *v) const |
void | get (const std::string &key, const size_t size_, std::complex< double > *v) const |
void | append_to_array (std::vector< char > &a) const |
const char * | update_from_array (const char *abegin, const char *aend) |
![]() | |
std::string | errmsg_context |
Will be pre-pended to error messages. | |
Command-line options for inserting (key,value) pair into an RTable, with the values being of types bool, int, double, std::complex, and std::string.