![]() |
Rosetta Protocols
2014.16.56682
|
read a config file for quota selector More...
#include <QuotaConfig.hh>
Public Member Functions | |
| QuotaConfig (std::string config_file_name) | |
| Constructor reads a config file. More... | |
| QuotaConfig () | |
| Constructor used by derived classes. More... | |
| Size | count_pools () |
| how many pools have been defined in a config file More... | |
| Real | get_fraction (Size pool_id) |
| returns a fraction for a given pool More... | |
| void | set_fraction (Size pool_id, Real fraction) |
| returns a fraction for a given pool More... | |
| Real | get_fraction (std::string pool_name) |
| returns a fraction for a given pool More... | |
| bool | is_valid_quota_pool_name (std::string &pool_name) |
| returns true if a config file defined a given pool name More... | |
| std::string & | get_pool_name (Size pool_id) |
| return a string id (name) assigned to a given pool More... | |
Protected Attributes | |
| utility::vector1< Real > | pool_weights_ |
| utility::vector1< std::string > | pool_names_ |
read a config file for quota selector
| protocols::frag_picker::quota::QuotaConfig::QuotaConfig | ( | std::string | config_file_name | ) |
Constructor reads a config file.
References getline(), protocols::frag_picker::quota::trQuotaConfig, and utility_exit_with_message.
|
inline |
Constructor used by derived classes.
|
inline |
how many pools have been defined in a config file
returns a fraction for a given pool
|
inline |
returns a fraction for a given pool
References protocols::fldsgn::topology::compare().
|
inline |
return a string id (name) assigned to a given pool
|
inline |
returns true if a config file defined a given pool name
References protocols::fldsgn::topology::compare().
|
inline |
returns a fraction for a given pool
|
protected |
|
protected |
1.8.7