GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
Loading...
Searching...
No Matches
keys.c File Reference
#include <stdio.h>
#include <string.h>
#include "raster3d_intern.h"
Include dependency graph for keys.c:

Go to the source code of this file.

Functions

int Rast3d_key_get_int (struct Key_Value *keys, const char *key, int *i)
 
int Rast3d_key_get_double (struct Key_Value *keys, const char *key, double *d)
 
int Rast3d_key_get_string (struct Key_Value *keys, const char *key, char **returnStr)
 
int Rast3d_key_get_value (struct Key_Value *keys, const char *key, char *val1, char *val2, int result1, int result2, int *resultVar)
 
int Rast3d_key_set_int (struct Key_Value *keys, const char *key, const int *i)
 
int Rast3d_key_set_double (struct Key_Value *keys, const char *key, const double *d)
 
int Rast3d_key_set_string (struct Key_Value *keys, const char *key, char *const *keyValStr)
 
int Rast3d_key_set_value (struct Key_Value *keys, const char *key, const char *val1, const char *val2, int keyval1, int keyval2, const int *keyvalVar)
 

Function Documentation

◆ Rast3d_key_get_double()

int Rast3d_key_get_double ( struct Key_Value keys,
const char key,
double d 
)

Definition at line 27 of file keys.c.

References G_find_key_value(), NULL, and Rast3d_error().

◆ Rast3d_key_get_int()

int Rast3d_key_get_int ( struct Key_Value keys,
const char key,
int i 
)

Definition at line 7 of file keys.c.

References G_find_key_value(), NULL, and Rast3d_error().

◆ Rast3d_key_get_string()

int Rast3d_key_get_string ( struct Key_Value keys,
const char key,
char **  returnStr 
)

Definition at line 48 of file keys.c.

References G_find_key_value(), G_store(), NULL, and Rast3d_error().

◆ Rast3d_key_get_value()

int Rast3d_key_get_value ( struct Key_Value keys,
const char key,
char val1,
char val2,
int  result1,
int  result2,
int resultVar 
)

Definition at line 66 of file keys.c.

References G_find_key_value(), NULL, and Rast3d_error().

◆ Rast3d_key_set_double()

int Rast3d_key_set_double ( struct Key_Value keys,
const char key,
const double d 
)

Definition at line 104 of file keys.c.

References G_set_key_value().

◆ Rast3d_key_set_int()

int Rast3d_key_set_int ( struct Key_Value keys,
const char key,
const int i 
)

Definition at line 93 of file keys.c.

References G_set_key_value().

◆ Rast3d_key_set_string()

int Rast3d_key_set_string ( struct Key_Value keys,
const char key,
char *const keyValStr 
)

Definition at line 116 of file keys.c.

References G_set_key_value().

◆ Rast3d_key_set_value()

int Rast3d_key_set_value ( struct Key_Value keys,
const char key,
const char val1,
const char val2,
int  keyval1,
int  keyval2,
const int keyvalVar 
)

Definition at line 125 of file keys.c.

References G_set_key_value(), and Rast3d_error().