Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
double_parameter.h File Reference
#include "parameter.h"
#include "grassroots_service_library.h"
#include "parameter_set.h"
Include dependency graph for double_parameter.h:

Go to the source code of this file.

Data Structures

struct  DoubleParameter
 
struct  DoubleParameterOption
 
struct  DoubleParameterOptionNode
 

Functions

DoubleParameterAllocateDoubleParameterFromJSON (const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
 
void FreeDoubleParameter (DoubleParameter *param_p)
 
const double64 * GetDoubleParameterCurrentValue (const DoubleParameter *param_p)
 
bool SetDoubleParameterCurrentValue (DoubleParameter *param_p, const double64 *value_p)
 
const double64 * GetDoubleParameterDefaultValue (const DoubleParameter *param_p)
 
bool SetDoubleParameterDefaultValue (DoubleParameter *param_p, const double64 *value_p)
 
bool IsDoubleParameter (const Parameter *param_p)
 
bool GetCurrentDoubleParameterValueFromParameterSet (const ParameterSet *const params_p, const char *const name_s, const double64 **value_pp)
 
bool SetDoubleParameterBounds (DoubleParameter *param_p, const double64 *min_value_p, const double64 *max_value_p)
 
bool GetDoubleParameterBounds (const DoubleParameter *param_p, double64 *min_value_p, double64 *max_value_p)
 
bool SetDoubleParameterMinimumValue (DoubleParameter *param_p, const double64 *min_value_p)
 
bool SetDoubleParameterMaximumValue (DoubleParameter *param_p, const double64 *max_value_p)
 
bool SetDoubleParameterCurrentValueFromJSON (DoubleParameter *param_p, const json_t *value_p)
 

Function Documentation

◆ AllocateDoubleParameterFromJSON()

DoubleParameter* AllocateDoubleParameterFromJSON ( const json_t *  param_json_p,
const struct Service service_p,
const bool  concise_flag 
)

◆ FreeDoubleParameter()

void FreeDoubleParameter ( DoubleParameter param_p)

◆ GetDoubleParameterCurrentValue()

const double64* GetDoubleParameterCurrentValue ( const DoubleParameter param_p)

◆ SetDoubleParameterCurrentValue()

bool SetDoubleParameterCurrentValue ( DoubleParameter param_p,
const double64 *  value_p 
)

◆ GetDoubleParameterDefaultValue()

const double64* GetDoubleParameterDefaultValue ( const DoubleParameter param_p)

◆ SetDoubleParameterDefaultValue()

bool SetDoubleParameterDefaultValue ( DoubleParameter param_p,
const double64 *  value_p 
)

◆ IsDoubleParameter()

bool IsDoubleParameter ( const Parameter param_p)

◆ GetCurrentDoubleParameterValueFromParameterSet()

bool GetCurrentDoubleParameterValueFromParameterSet ( const ParameterSet *const  params_p,
const char *const  name_s,
const double64 **  value_pp 
)

◆ SetDoubleParameterBounds()

bool SetDoubleParameterBounds ( DoubleParameter param_p,
const double64 *  min_value_p,
const double64 *  max_value_p 
)

◆ GetDoubleParameterBounds()

bool GetDoubleParameterBounds ( const DoubleParameter param_p,
double64 *  min_value_p,
double64 *  max_value_p 
)

◆ SetDoubleParameterMinimumValue()

bool SetDoubleParameterMinimumValue ( DoubleParameter param_p,
const double64 *  min_value_p 
)

◆ SetDoubleParameterMaximumValue()

bool SetDoubleParameterMaximumValue ( DoubleParameter param_p,
const double64 *  max_value_p 
)

◆ SetDoubleParameterCurrentValueFromJSON()

bool SetDoubleParameterCurrentValueFromJSON ( DoubleParameter param_p,
const json_t *  value_p 
)