|
template<typename T > |
| JParameter (std::string name, T val) |
|
template<typename T > |
T | GetDefault (void) |
|
bool | GetHasDefault (void) |
|
const std::string & | GetName (void) |
|
template<typename T > |
T | GetValue (void) |
|
template<typename T > |
T | GetValue (T &val) |
|
bool | IsDefault (void) |
|
template<typename T > |
T | SetDefault (T val) |
|
template<typename T > |
T | SetValue (T val) |
|
template<> |
std::vector< std::string > | GetDefault () |
|
template<> |
std::vector< std::string > | SetDefault (std::vector< std::string > default_value) |
| Specialization for vector<string>
|
|
template<> |
std::vector< std::string > | SetValue (std::vector< std::string > val) |
|
|
bool | _has_default |
|
std::string | _name |
|
std::string | _val |
|
std::string | _default |
|
bool JParameter::GetHasDefault |
( |
void |
| ) |
|
Returns whether this parameter has a default value assigned to it. The default is set by calling JParameterManager::SetDefaultParameter (preferred) or calling the SetDefault method of this class.
The documentation for this class was generated from the following files:
- src/lib/JANA/Services/JParameter.h
- src/lib/JANA/Services/JParameter.cc