GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
columnfmt.c File Reference

DBMI Library (base) - columns formatting. More...

#include <grass/dbmi.h>
Include dependency graph for columnfmt.c:

Go to the source code of this file.

Functions

int db_convert_Cstring_to_column_value (const char *Cstring, dbColumn *column)
 ? More...
 
int db_convert_Cstring_to_column_default_value (const char *Cstring, dbColumn *column)
 ? More...
 
int db_convert_column_value_to_string (dbColumn *column, dbString *string)
 ? More...
 
int db_convert_column_default_value_to_string (dbColumn *column, dbString *string)
 ? More...
 

Detailed Description

DBMI Library (base) - columns formatting.

(C) 1999-2009, 2011 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Joel Jones (CERL/UIUC), Radim Blazek
Doxygenized by Martin Landa <landa.martin gmail.com> (2011)

Definition in file columnfmt.c.

Function Documentation

int db_convert_column_default_value_to_string ( dbColumn column,
dbString string 
)

?

Parameters
columnpointer to dbColumn
stringpointer to dbString
Returns
?

Definition at line 79 of file columnfmt.c.

References db_convert_value_to_string(), db_get_column_default_value(), and db_get_column_sqltype().

Referenced by db_print_column_definition().

int db_convert_column_value_to_string ( dbColumn column,
dbString string 
)

?

Parameters
columnpointer to dbColumn
stringpointer to dbString
Returns
?

Definition at line 61 of file columnfmt.c.

References db_convert_value_to_string(), db_get_column_sqltype(), and db_get_column_value().

int db_convert_Cstring_to_column_default_value ( const char *  Cstring,
dbColumn column 
)

?

Parameters
Cstringstring buffer
columnpointer to dbColumn
Returns
?

Definition at line 43 of file columnfmt.c.

References db_convert_Cstring_to_value(), db_get_column_default_value(), and db_get_column_sqltype().

int db_convert_Cstring_to_column_value ( const char *  Cstring,
dbColumn column 
)

?

Parameters
Cstringstring buffer
columnpointer to dbColumn
Returns
?

Definition at line 25 of file columnfmt.c.

References db_convert_Cstring_to_value(), db_get_column_sqltype(), and db_get_column_value().