NamedParameterType Struct Reference

This is a datatype that stores a read-only c-style string along with a ParameterType. More...

#include <parameter.h>

Data Fields

const char *const npt_name_s
 The read-only name of the Parameter. More...
 
const ParameterType npt_type
 The read-only ParameterType for the Parameter with the name given by npt_name_s. More...
 

Detailed Description

This is a datatype that stores a read-only c-style string along with a ParameterType.

It's primary use is for error-checking of input parameters within a Service as its parameters are being generated from a json request object to make sure that the datatypes are correct.

Examples
long_running_service.c.

Field Documentation

◆ npt_name_s

const char* const npt_name_s

The read-only name of the Parameter.

Examples
long_running_service.c.

◆ npt_type

const ParameterType npt_type

The read-only ParameterType for the Parameter with the name given by npt_name_s.

Examples
long_running_service.c.

The documentation for this struct was generated from the following file: