COAR  1.0
COAR - DMS system
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
dbcoldefinitions.h File Reference
#include <string>
#include <map>
#include <vector>
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

struct  decimaltype
struct  blobtype
struct  stringtype
struct  wstringtype
class  utf8stringtype
class  wcharstringtype
union  dbcolumnvalue_t
class  dbcolumn
class  dbutils

Macros

#define WCSLEN_BYTE(a)   wcslen(a)*sizeof(wchar_t)
#define FILL_WSTRINGTYPE_VAL(a, b)   a.val=wcsdup(b);a.len=wcslen(b);
#define FILL_STRINGTYPE_VAL(a, b)   a.val=strdup(b);a.len=strlen(b);

Typedefs

typedef union DLL_PUBLIC
dbcolumnvalue_t 
dbcolumnvalue

Enumerations

enum  dbcolumntype {
  dbc_tinyint, dbc_shortint, dbc_integer, dbc_biginteger,
  dbc_date, dbc_decimal, dbc_double, dbc_timestamp,
  dbc_time, dbc_string, dbc_blob, dbc_wstring
}

Macro Definition Documentation

#define FILL_STRINGTYPE_VAL (   a,
 
)    a.val=strdup(b);a.len=strlen(b);
#define FILL_WSTRINGTYPE_VAL (   a,
 
)    a.val=wcsdup(b);a.len=wcslen(b);
#define WCSLEN_BYTE (   a)    wcslen(a)*sizeof(wchar_t)