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

Go to the source code of this file.

Data Structures

struct  ResourceParameter
 

Functions

ResourceParameterAllocateResourceParameterFromJSON (const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
 
void FreeResourceParameter (ResourceParameter *param_p)
 
const DataResourceGetResourceParameterCurrentValue (const ResourceParameter *param_p)
 
bool SetResourceParameterCurrentValue (ResourceParameter *param_p, const DataResource *value_p)
 
const DataResourceGetResourceParameterDefaultValue (const ResourceParameter *param_p)
 
bool SetResourceParameterDefaultValue (ResourceParameter *param_p, const DataResource *value_p)
 
bool GetCurrentResourceParameterValueFromParameterSet (const ParameterSet *const params_p, const char *const name_s, const DataResource **value_pp)
 
bool IsResourceParameter (const Parameter *param_p)
 
bool SetResourceParameterCurrentValueFromJSON (ResourceParameter *param_p, const json_t *value_p)
 

Function Documentation

◆ AllocateResourceParameterFromJSON()

ResourceParameter* AllocateResourceParameterFromJSON ( const json_t *  param_json_p,
const struct Service service_p,
const bool  concise_flag 
)

◆ FreeResourceParameter()

void FreeResourceParameter ( ResourceParameter param_p)

◆ GetResourceParameterCurrentValue()

const DataResource* GetResourceParameterCurrentValue ( const ResourceParameter param_p)

◆ SetResourceParameterCurrentValue()

bool SetResourceParameterCurrentValue ( ResourceParameter param_p,
const DataResource value_p 
)

◆ GetResourceParameterDefaultValue()

const DataResource* GetResourceParameterDefaultValue ( const ResourceParameter param_p)

◆ SetResourceParameterDefaultValue()

bool SetResourceParameterDefaultValue ( ResourceParameter param_p,
const DataResource value_p 
)

◆ GetCurrentResourceParameterValueFromParameterSet()

bool GetCurrentResourceParameterValueFromParameterSet ( const ParameterSet *const  params_p,
const char *const  name_s,
const DataResource **  value_pp 
)

◆ IsResourceParameter()

bool IsResourceParameter ( const Parameter param_p)

◆ SetResourceParameterCurrentValueFromJSON()

bool SetResourceParameterCurrentValueFromJSON ( ResourceParameter param_p,
const json_t *  value_p 
)