NetCDF Assembler documentation 1.0.0
Loading...
Searching...
No Matches
set_values.hh File Reference

The header file of the set_var_value function. More...

#include <nc_assembler.hh>

Go to the source code of this file.

Functions

void set_invalid_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an invalid variable.
 
void set_byte_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a byte variable.
 
void set_char_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a char variable.
 
void set_short_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a short variable.
 
void set_int_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an int variable.
 
void set_float_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a float variable.
 
void set_double_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a double variable.
 
void set_ubyte_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an unsigned byte variable.
 
void set_ushort_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an unsigned short variable.
 
void set_uint_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an unsigned int variable.
 
void set_int64_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an int64 variable.
 
void set_uint64_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of an unsigned int64 variable.
 
void set_string_value (file_information_t &in_s_file, variable_information_t &in_s_var, size_t *in_ai_start, var_type in_value)
 Set the value of a string variable.
 
template<typename T >
void set_var_value (file_information_t &in_s_file, variable_information_t &in_s_current_var, size_t *in_ai_start, T in_value)
 Set the value of a variable.
 

Detailed Description

The header file of the set_var_value function.

Author
Nicolas TORO

Function Documentation

◆ set_byte_value()

void set_byte_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a byte variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_countThe number of values to set
in_ai_startThe values index
Returns
void

◆ set_char_value()

void set_char_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a char variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_double_value()

void set_double_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a double variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_float_value()

void set_float_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a float variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_int64_value()

void set_int64_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an int64 variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_int_value()

void set_int_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an int variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_invalid_value()

void set_invalid_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an invalid variable.

Note
Exit the program
Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_short_value()

void set_short_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a short variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_string_value()

void set_string_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of a string variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_ubyte_value()

void set_ubyte_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an unsigned byte variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_uint64_value()

void set_uint64_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an unsigned int64 variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_uint_value()

void set_uint_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an unsigned int variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_ushort_value()

void set_ushort_value ( file_information_t & in_s_file,
variable_information_t & in_s_var,
size_t * in_ai_start,
var_type in_value )

Set the value of an unsigned short variable.

Parameters
in_s_fileThe file information
in_s_varThe variable information
in_ai_startThe values index
in_valueThe value to set
Returns
void

◆ set_var_value()

template<typename T >
void set_var_value ( file_information_t & in_s_file,
variable_information_t & in_s_current_var,
size_t * in_ai_start,
T in_value )

Set the value of a variable.

Parameters
in_s_fileThe file information
in_s_current_varThe current variable information
in_ai_startThe start index
in_valueThe value to set
Returns
void