GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72114
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 26 of file keys.c.

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

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().

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

Definition at line 47 of file keys.c.

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

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 64 of file keys.c.

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

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

Definition at line 102 of file keys.c.

References G_set_key_value().

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

Definition at line 91 of file keys.c.

References G_set_key_value().

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

Definition at line 114 of file keys.c.

References G_set_key_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 124 of file keys.c.

References G_set_key_value(), and Rast3d_error().