#include "soci-simple.h"
#include "soci.h"
#include <cstddef>
#include <cstdio>
#include <ctime>
#include <exception>
#include <map>
#include <string>
#include <vector>
Go to the source code of this file.
Defines | |
#define | SOCI_SOURCE |
Functions | |
SOCI_DECL session_handle | soci_create_session (char const *connection_string) |
SOCI_DECL void | soci_destroy_session (session_handle s) |
SOCI_DECL void | soci_begin (session_handle s) |
SOCI_DECL void | soci_commit (session_handle s) |
SOCI_DECL void | soci_rollback (session_handle s) |
SOCI_DECL int | soci_session_state (session_handle s) |
SOCI_DECL char const * | soci_session_error_message (session_handle s) |
SOCI_DECL statement_handle | soci_create_statement (session_handle s) |
SOCI_DECL void | soci_destroy_statement (statement_handle st) |
SOCI_DECL int | soci_into_string (statement_handle st) |
SOCI_DECL int | soci_into_int (statement_handle st) |
SOCI_DECL int | soci_into_long_long (statement_handle st) |
SOCI_DECL int | soci_into_double (statement_handle st) |
SOCI_DECL int | soci_into_date (statement_handle st) |
SOCI_DECL int | soci_into_string_v (statement_handle st) |
SOCI_DECL int | soci_into_int_v (statement_handle st) |
SOCI_DECL int | soci_into_long_long_v (statement_handle st) |
SOCI_DECL int | soci_into_double_v (statement_handle st) |
SOCI_DECL int | soci_into_date_v (statement_handle st) |
SOCI_DECL int | soci_get_into_state (statement_handle st, int position) |
SOCI_DECL char const * | soci_get_into_string (statement_handle st, int position) |
SOCI_DECL int | soci_get_into_int (statement_handle st, int position) |
SOCI_DECL long long | soci_get_into_long_long (statement_handle st, int position) |
SOCI_DECL double | soci_get_into_double (statement_handle st, int position) |
SOCI_DECL char const * | soci_get_into_date (statement_handle st, int position) |
SOCI_DECL int | soci_into_get_size_v (statement_handle st) |
SOCI_DECL void | soci_into_resize_v (statement_handle st, int new_size) |
SOCI_DECL int | soci_get_into_state_v (statement_handle st, int position, int index) |
SOCI_DECL char const * | soci_get_into_string_v (statement_handle st, int position, int index) |
SOCI_DECL int | soci_get_into_int_v (statement_handle st, int position, int index) |
SOCI_DECL long long | soci_get_into_long_long_v (statement_handle st, int position, int index) |
SOCI_DECL double | soci_get_into_double_v (statement_handle st, int position, int index) |
SOCI_DECL char const * | soci_get_into_date_v (statement_handle st, int position, int index) |
SOCI_DECL void | soci_use_string (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_int (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_long_long (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_double (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_date (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_string_v (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_int_v (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_long_long_v (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_double_v (statement_handle st, char const *name) |
SOCI_DECL void | soci_use_date_v (statement_handle st, char const *name) |
SOCI_DECL void | soci_set_use_state (statement_handle st, char const *name, int state) |
SOCI_DECL void | soci_set_use_string (statement_handle st, char const *name, char const *val) |
SOCI_DECL void | soci_set_use_int (statement_handle st, char const *name, int val) |
SOCI_DECL void | soci_set_use_long_long (statement_handle st, char const *name, long long val) |
SOCI_DECL void | soci_set_use_double (statement_handle st, char const *name, double val) |
SOCI_DECL void | soci_set_use_date (statement_handle st, char const *name, char const *val) |
SOCI_DECL int | soci_use_get_size_v (statement_handle st) |
SOCI_DECL void | soci_use_resize_v (statement_handle st, int new_size) |
SOCI_DECL void | soci_set_use_state_v (statement_handle st, char const *name, int index, int state) |
SOCI_DECL void | soci_set_use_string_v (statement_handle st, char const *name, int index, char const *val) |
SOCI_DECL void | soci_set_use_int_v (statement_handle st, char const *name, int index, int val) |
SOCI_DECL void | soci_set_use_long_long_v (statement_handle st, char const *name, int index, long long val) |
SOCI_DECL void | soci_set_use_double_v (statement_handle st, char const *name, int index, double val) |
SOCI_DECL void | soci_set_use_date_v (statement_handle st, char const *name, int index, char const *val) |
SOCI_DECL int | soci_get_use_state (statement_handle st, char const *name) |
SOCI_DECL char const * | soci_get_use_string (statement_handle st, char const *name) |
SOCI_DECL int | soci_get_use_int (statement_handle st, char const *name) |
SOCI_DECL long long | soci_get_use_long_long (statement_handle st, char const *name) |
SOCI_DECL double | soci_get_use_double (statement_handle st, char const *name) |
SOCI_DECL char const * | soci_get_use_date (statement_handle st, char const *name) |
SOCI_DECL void | soci_prepare (statement_handle st, char const *query) |
SOCI_DECL int | soci_execute (statement_handle st, int withDataExchange) |
SOCI_DECL int | soci_fetch (statement_handle st) |
SOCI_DECL int | soci_got_data (statement_handle st) |
SOCI_DECL int | soci_statement_state (statement_handle st) |
SOCI_DECL char const * | soci_statement_error_message (statement_handle st) |
#define SOCI_SOURCE |
Definition at line 8 of file soci-simple.cpp.
SOCI_DECL session_handle soci_create_session | ( | char const * | connection_string | ) |
Definition at line 37 of file soci-simple.cpp.
SOCI_DECL void soci_destroy_session | ( | session_handle | s | ) |
Definition at line 63 of file soci-simple.cpp.
SOCI_DECL void soci_begin | ( | session_handle | s | ) |
Definition at line 69 of file soci-simple.cpp.
SOCI_DECL void soci_commit | ( | session_handle | s | ) |
Definition at line 84 of file soci-simple.cpp.
SOCI_DECL void soci_rollback | ( | session_handle | s | ) |
Definition at line 99 of file soci-simple.cpp.
SOCI_DECL int soci_session_state | ( | session_handle | s | ) |
Definition at line 122 of file soci-simple.cpp.
SOCI_DECL char const* soci_session_error_message | ( | session_handle | s | ) |
Definition at line 129 of file soci-simple.cpp.
SOCI_DECL statement_handle soci_create_statement | ( | session_handle | s | ) |
Definition at line 538 of file soci-simple.cpp.
SOCI_DECL void soci_destroy_statement | ( | statement_handle | st | ) |
Definition at line 554 of file soci-simple.cpp.
SOCI_DECL int soci_into_string | ( | statement_handle | st | ) |
Definition at line 560 of file soci-simple.cpp.
SOCI_DECL int soci_into_int | ( | statement_handle | st | ) |
Definition at line 578 of file soci-simple.cpp.
SOCI_DECL int soci_into_long_long | ( | statement_handle | st | ) |
Definition at line 596 of file soci-simple.cpp.
SOCI_DECL int soci_into_double | ( | statement_handle | st | ) |
Definition at line 614 of file soci-simple.cpp.
SOCI_DECL int soci_into_date | ( | statement_handle | st | ) |
Definition at line 632 of file soci-simple.cpp.
SOCI_DECL int soci_into_string_v | ( | statement_handle | st | ) |
Definition at line 650 of file soci-simple.cpp.
SOCI_DECL int soci_into_int_v | ( | statement_handle | st | ) |
Definition at line 668 of file soci-simple.cpp.
SOCI_DECL int soci_into_long_long_v | ( | statement_handle | st | ) |
Definition at line 686 of file soci-simple.cpp.
SOCI_DECL int soci_into_double_v | ( | statement_handle | st | ) |
Definition at line 704 of file soci-simple.cpp.
SOCI_DECL int soci_into_date_v | ( | statement_handle | st | ) |
Definition at line 722 of file soci-simple.cpp.
SOCI_DECL int soci_get_into_state | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 740 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_into_string | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 755 of file soci-simple.cpp.
SOCI_DECL int soci_get_into_int | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 769 of file soci-simple.cpp.
SOCI_DECL long long soci_get_into_long_long | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 783 of file soci-simple.cpp.
SOCI_DECL double soci_get_into_double | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 797 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_into_date | ( | statement_handle | st, | |
int | position | |||
) |
Definition at line 811 of file soci-simple.cpp.
SOCI_DECL int soci_into_get_size_v | ( | statement_handle | st | ) |
Definition at line 827 of file soci-simple.cpp.
SOCI_DECL void soci_into_resize_v | ( | statement_handle | st, | |
int | new_size | |||
) |
Definition at line 841 of file soci-simple.cpp.
SOCI_DECL int soci_get_into_state_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 888 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_into_string_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 908 of file soci-simple.cpp.
SOCI_DECL int soci_get_into_int_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 928 of file soci-simple.cpp.
SOCI_DECL long long soci_get_into_long_long_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 948 of file soci-simple.cpp.
SOCI_DECL double soci_get_into_double_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 968 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_into_date_v | ( | statement_handle | st, | |
int | position, | |||
int | index | |||
) |
Definition at line 988 of file soci-simple.cpp.
SOCI_DECL void soci_use_string | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1008 of file soci-simple.cpp.
SOCI_DECL void soci_use_int | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1025 of file soci-simple.cpp.
SOCI_DECL void soci_use_long_long | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1042 of file soci-simple.cpp.
SOCI_DECL void soci_use_double | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1059 of file soci-simple.cpp.
SOCI_DECL void soci_use_date | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1076 of file soci-simple.cpp.
SOCI_DECL void soci_use_string_v | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1093 of file soci-simple.cpp.
SOCI_DECL void soci_use_int_v | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1110 of file soci-simple.cpp.
SOCI_DECL void soci_use_long_long_v | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1127 of file soci-simple.cpp.
SOCI_DECL void soci_use_double_v | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1144 of file soci-simple.cpp.
SOCI_DECL void soci_use_date_v | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1161 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_state | ( | statement_handle | st, | |
char const * | name, | |||
int | state | |||
) |
Definition at line 1178 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_string | ( | statement_handle | st, | |
char const * | name, | |||
char const * | val | |||
) |
Definition at line 1195 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_int | ( | statement_handle | st, | |
char const * | name, | |||
int | val | |||
) |
Definition at line 1209 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_long_long | ( | statement_handle | st, | |
char const * | name, | |||
long long | val | |||
) |
Definition at line 1223 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_double | ( | statement_handle | st, | |
char const * | name, | |||
double | val | |||
) |
Definition at line 1237 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_date | ( | statement_handle | st, | |
char const * | name, | |||
char const * | val | |||
) |
Definition at line 1251 of file soci-simple.cpp.
SOCI_DECL int soci_use_get_size_v | ( | statement_handle | st | ) |
Definition at line 1272 of file soci-simple.cpp.
SOCI_DECL void soci_use_resize_v | ( | statement_handle | st, | |
int | new_size | |||
) |
Definition at line 1291 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_state_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
int | state | |||
) |
Definition at line 1319 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_string_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
char const * | val | |||
) |
Definition at line 1342 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_int_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
int | val | |||
) |
Definition at line 1363 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_long_long_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
long long | val | |||
) |
Definition at line 1384 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_double_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
double | val | |||
) |
Definition at line 1405 of file soci-simple.cpp.
SOCI_DECL void soci_set_use_date_v | ( | statement_handle | st, | |
char const * | name, | |||
int | index, | |||
char const * | val | |||
) |
Definition at line 1426 of file soci-simple.cpp.
SOCI_DECL int soci_get_use_state | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1454 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_use_string | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1471 of file soci-simple.cpp.
SOCI_DECL int soci_get_use_int | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1484 of file soci-simple.cpp.
SOCI_DECL long long soci_get_use_long_long | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1497 of file soci-simple.cpp.
SOCI_DECL double soci_get_use_double | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1510 of file soci-simple.cpp.
SOCI_DECL char const* soci_get_use_date | ( | statement_handle | st, | |
char const * | name | |||
) |
Definition at line 1523 of file soci-simple.cpp.
SOCI_DECL void soci_prepare | ( | statement_handle | st, | |
char const * | query | |||
) |
Definition at line 1542 of file soci-simple.cpp.
SOCI_DECL int soci_execute | ( | statement_handle | st, | |
int | withDataExchange | |||
) |
Definition at line 1774 of file soci-simple.cpp.
SOCI_DECL int soci_fetch | ( | statement_handle | st | ) |
Definition at line 1795 of file soci-simple.cpp.
SOCI_DECL int soci_got_data | ( | statement_handle | st | ) |
Definition at line 1816 of file soci-simple.cpp.
SOCI_DECL int soci_statement_state | ( | statement_handle | st | ) |
Definition at line 1823 of file soci-simple.cpp.
SOCI_DECL char const* soci_statement_error_message | ( | statement_handle | st | ) |
Definition at line 1830 of file soci-simple.cpp.
Generated on Sun Oct 3 2010 17:42:17 for EXTRAS-SOCI by Doxygen 1.7.1