|
| sr_param (const std::string &nam, const int &val) |
| Constructor with int value. More...
|
|
| sr_param (const char *nam, const int &val) |
|
const std::string | getTypeString () const |
| Overloads sr_param::getTypeString. More...
|
|
gs::cnf::Param_type | getType () const |
| Overloads sr_param::getType. More...
|
|
std::string | convertValueToString (const val_type &val) const |
| Overloads sr_param_t<T>::convertValueToString. More...
|
|
my_type & | operator+= (val_type) |
|
my_type & | operator-= (val_type) |
|
my_type & | operator/= (val_type) |
|
my_type & | operator*= (val_type) |
|
val_type | operator+ (val_type) |
|
val_type | operator- (val_type) |
|
val_type | operator/ (val_type) |
|
val_type | operator* (val_type) |
|
my_type & | operator%= (val_type) |
|
my_type & | operator^= (val_type) |
|
my_type & | operator&= (val_type) |
|
my_type & | operator|= (val_type) |
|
my_type & | operator<<= (val_type) |
|
my_type & | operator>>= (val_type) |
|
my_type & | operator-- () |
|
val_type | operator-- (int) |
|
my_type & | operator++ () |
|
val_type | operator++ (int) |
|
| sr_param_t () |
| Empty constructor. Name will be set in base. Avoid using it! You MUST call init() after instantiation! More...
|
|
| sr_param_t (const bool force_top_level_name, gs_param_array *parent_array, const bool register_at_db) |
| Constructor with the special parameters. Name will be set in base. Avoid using it! You MUST call init() after instantiation! More...
|
|
| sr_param_t (const std::string &nam) |
| Constructor with (local or hierarchical) name. You MUST call init() after instantiation! More...
|
|
| sr_param_t (const std::string &nam, const bool force_top_level_name, gs_param_array *parent_array, const bool register_at_db) |
| Constructor with (local or hierarchical) name and special parameters. You MUST call init() after instantiation! More...
|
|
void | init (const val_type &default_val) |
| Init method to set the value and add the parameter to the plugin db. More...
|
|
void | init () |
| Init method without value. More...
|
|
virtual | ~sr_param_t () |
| Destructor. More...
|
|
my_type & | operator= (const my_type &v) |
| Set the value of this parameter to the value of another gs_param. More...
|
|
my_type & | operator= (const val_type &v) |
| Set the value of this parameter. More...
|
|
| operator const val_type & () const |
| Get the value of this parameter. More...
|
|
void | setValue (const val_type &val) |
| Set the value of this parameter. More...
|
|
const val_type & | getValue () const |
| Returns the value of this parameter. More...
|
|
const void * | get_value_pointer () const |
|
bool | setString (const std::string &str) |
| Set the value of this parameter with a string. More...
|
|
const std::string & | getString () const |
| Get the value of this parameter as a string. More...
|
|
virtual const bool | deserialize (val_type &target_val, const std::string &str)=0 |
| Deserialize for this parameter. To be implemented by the specialization. More...
|
|
void | mirror (long long &original) |
| Serialize this parameter. More...
|
|
void | mirror (sr_param_t< long long > &original) |
|
| sr_param_base (const std::string &n, const bool register_at_db=true, gs::cnf::gs_param_array *parent_array=NULL, const bool force_top_level_name=false) |
|
void | setProperty (std::string key, std::string value) |
|
std::string | getProperty (std::string key) |
|
std::map< std::string,
std::string > | getProperties () |
|
void | deleteProperty (std::string key) |
|
bool | exists (std::string key) |
|
easy_init | add_properties () |
|
template<>
class sr_param< long long >
Template specialization for sr_param<long long int>.
Default value = 0.