b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::cmdline::CmdOptRTable Class Reference

#include "b2cmdline.H"

Inheritance diagram for b2000::cmdline::CmdOptRTable:
Collaboration diagram for b2000::cmdline::CmdOptRTable:

Additional Inherited Members

- Public Member Functions inherited from b2000::RTable
bool has_key (const std::string &key) const
 
void remove_key (const std::string &key)
 Remove entry "key".
 
const RDataoperator() (const std::string &key) const
 
RDataoperator() (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 >
get (const std::string &key) const
 
template<typename 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)
 
- Public Attributes inherited from b2000::RTable
std::string errmsg_context
 Will be pre-pended to error messages.
 

Detailed Description

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.


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