GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
g3dkeys.c File Reference
#include <stdio.h>
#include <string.h>
#include "G3d_intern.h"
Include dependency graph for g3dkeys.c:

Go to the source code of this file.

Functions

int G3d_keyGetInt (struct Key_Value *keys, const char *key, int *i)
 
int G3d_keyGetDouble (struct Key_Value *keys, const char *key, double *d)
 
int G3d_keyGetString (struct Key_Value *keys, const char *key, char **returnStr)
 
int G3d_keyGetValue (struct Key_Value *keys, const char *key, char *val1, char *val2, int result1, int result2, int *resultVar)
 
int G3d_keySetInt (struct Key_Value *keys, const char *key, const int *i)
 
int G3d_keySetDouble (struct Key_Value *keys, const char *key, const double *d)
 
int G3d_keySetString (struct Key_Value *keys, const char *key, char *const *keyValStr)
 
int G3d_keySetValue (struct Key_Value *keys, const char *key, const char *val1, const char *val2, int keyval1, int keyval2, const int *keyvalVar)
 

Function Documentation

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

Definition at line 26 of file g3dkeys.c.

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

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

Definition at line 7 of file g3dkeys.c.

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

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

Definition at line 47 of file g3dkeys.c.

References G3d_error(), G_find_key_value(), G_store(), G_strip(), and NULL.

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

Definition at line 65 of file g3dkeys.c.

References G3d_error(), G_find_key_value(), G_strip(), and NULL.

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

Definition at line 103 of file g3dkeys.c.

References G_set_key_value(), and sprintf().

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

Definition at line 93 of file g3dkeys.c.

References G_set_key_value(), and sprintf().

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

Definition at line 114 of file g3dkeys.c.

References G_set_key_value().

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

Definition at line 123 of file g3dkeys.c.

References G3d_error(), and G_set_key_value().