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.
boolean_parameter.h File Reference
#include "parameter.h"
#include "grassroots_service_library.h"
#include "parameter_set.h"
Include dependency graph for boolean_parameter.h:

Go to the source code of this file.

Data Structures

struct  BooleanParameter
 

Functions

BooleanParameterAllocateBooleanParameterFromJSON (const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
 
ParameterEasyCreateAndAddBooleanParameterToParameterSet (const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const bool *default_value_p, uint8 level)
 
ParameterCreateAndAddBooleanParameterToParameterSet (const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const bool *default_value_p, const bool *current_value_p, uint8 level)
 
void FreeBooleanParameter (BooleanParameter *param_p)
 
const bool * GetBooleanParameterCurrentValue (const BooleanParameter *param_p)
 
bool SetBooleanParameterCurrentValue (BooleanParameter *param_p, const bool *value_p)
 
const bool * GetBooleanParameterDefaultValue (const BooleanParameter *param_p)
 
bool SetBooleanParameterDefaultValue (BooleanParameter *param_p, const bool *value_p)
 
bool IsBooleanParameter (const Parameter *param_p)
 
bool GetCurrentBooleanParameterValueFromParameterSet (const ParameterSet *const params_p, const char *const name_s, const bool **value_pp)
 
bool SetBooleanParameterCurrentValueFromJSON (BooleanParameter *param_p, const json_t *value_p)
 

Function Documentation

◆ AllocateBooleanParameterFromJSON()

BooleanParameter* AllocateBooleanParameterFromJSON ( const json_t *  param_json_p,
const struct Service service_p,
const bool  concise_flag 
)

◆ EasyCreateAndAddBooleanParameterToParameterSet()

Parameter* EasyCreateAndAddBooleanParameterToParameterSet ( const struct ServiceData service_data_p,
ParameterSet params_p,
ParameterGroup group_p,
const char *const  name_s,
const char *const  display_name_s,
const char *const  description_s,
const bool *  default_value_p,
uint8  level 
)

◆ CreateAndAddBooleanParameterToParameterSet()

Parameter* CreateAndAddBooleanParameterToParameterSet ( const struct ServiceData service_data_p,
ParameterSet params_p,
ParameterGroup group_p,
const char *const  name_s,
const char *const  display_name_s,
const char *const  description_s,
const bool *  default_value_p,
const bool *  current_value_p,
uint8  level 
)

◆ FreeBooleanParameter()

void FreeBooleanParameter ( BooleanParameter param_p)

◆ GetBooleanParameterCurrentValue()

const bool* GetBooleanParameterCurrentValue ( const BooleanParameter param_p)

◆ SetBooleanParameterCurrentValue()

bool SetBooleanParameterCurrentValue ( BooleanParameter param_p,
const bool *  value_p 
)

◆ GetBooleanParameterDefaultValue()

const bool* GetBooleanParameterDefaultValue ( const BooleanParameter param_p)

◆ SetBooleanParameterDefaultValue()

bool SetBooleanParameterDefaultValue ( BooleanParameter param_p,
const bool *  value_p 
)

◆ IsBooleanParameter()

bool IsBooleanParameter ( const Parameter param_p)

◆ GetCurrentBooleanParameterValueFromParameterSet()

bool GetCurrentBooleanParameterValueFromParameterSet ( const ParameterSet *const  params_p,
const char *const  name_s,
const bool **  value_pp 
)

◆ SetBooleanParameterCurrentValueFromJSON()

bool SetBooleanParameterCurrentValueFromJSON ( BooleanParameter param_p,
const json_t *  value_p 
)