#include "dbtypes.bmx.debug.win32.x86.h"
struct BBString_8{BBClass_String* clas;BBULONG hash;int length;BBChar buf[8];};
struct BBString_17{BBClass_String* clas;BBULONG hash;int length;BBChar buf[17];};
struct BBString_37{BBClass_String* clas;BBULONG hash;int length;BBChar buf[37];};
struct BBString_39{BBClass_String* clas;BBULONG hash;int length;BBChar buf[39];};
struct BBString_38{BBClass_String* clas;BBULONG hash;int length;BBChar buf[38];};
struct BBString_36{BBClass_String* clas;BBULONG hash;int length;BBChar buf[36];};
struct BBString_34{BBClass_String* clas;BBULONG hash;int length;BBChar buf[34];};
static struct BBString_8 _s10={
	&bbStringClass,
	0xddba93593654bdf4,
	8,
	{37,72,58,37,77,58,37,83}
};
static struct BBString_8 _s8={
	&bbStringClass,
	0xc535fa9a01ba6bb4,
	8,
	{37,89,45,37,109,45,37,100}
};
static struct BBString_17 _s9={
	&bbStringClass,
	0xc20ef2cd096adc18,
	17,
	{37,89,45,37,109,45,37,100,32,37,72,58,37,77,58,37,83
}
};
static struct BBString_37 _s6={
	&bbStringClass,
	0xe4ea44c47953879e,
	37,
	{115,101,116,66,108,111,98,32,110,111,116,32,115,117,112,112,111
	,114,116,101,100,32,111,110,32,116,104,105,115,32,84,68,66
	,84,121,112,101}
};
static struct BBString_37 _s5={
	&bbStringClass,
	0xb0a4ea803c7d2ab2,
	37,
	{115,101,116,68,97,116,101,32,110,111,116,32,115,117,112,112,111
	,114,116,101,100,32,111,110,32,116,104,105,115,32,84,68,66
	,84,121,112,101}
};
static struct BBString_39 _s1={
	&bbStringClass,
	0x6993c3ca7cb705c1,
	39,
	{115,101,116,68,111,117,98,108,101,32,110,111,116,32,115,117,112
	,112,111,114,116,101,100,32,111,110,32,116,104,105,115,32,84
	,68,66,84,121,112,101}
};
static struct BBString_38 _s4={
	&bbStringClass,
	0x3369a399b929a177,
	38,
	{115,101,116,70,108,111,97,116,32,110,111,116,32,115,117,112,112
	,111,114,116,101,100,32,111,110,32,116,104,105,115,32,84,68
	,66,84,121,112,101}
};
static struct BBString_36 _s3={
	&bbStringClass,
	0x551b7fb57b75cca9,
	36,
	{115,101,116,73,110,116,32,110,111,116,32,115,117,112,112,111,114
	,116,101,100,32,111,110,32,116,104,105,115,32,84,68,66,84
	,121,112,101}
};
static struct BBString_37 _s0={
	&bbStringClass,
	0x44d4019dce011cea,
	37,
	{115,101,116,76,111,110,103,32,110,111,116,32,115,117,112,112,111
	,114,116,101,100,32,111,110,32,116,104,105,115,32,84,68,66
	,84,121,112,101}
};
static struct BBString_39 _s2={
	&bbStringClass,
	0xf4db0c7ef67566e,
	39,
	{115,101,116,83,116,114,105,110,103,32,110,111,116,32,115,117,112
	,112,111,114,116,101,100,32,111,110,32,116,104,105,115,32,84
	,68,66,84,121,112,101}
};
static struct BBString_34 _s7={
	&bbStringClass,
	0xfacd4ea3f58f2a7f,
	34,
	{115,105,122,101,32,110,111,116,32,115,117,112,112,111,114,116,101
	,100,32,111,110,32,116,104,105,115,32,84,68,66,84,121,112
	,101}
};
struct BBDebugScope_1{int kind; const char *name; BBDebugDecl decls[2]; };
struct BBDebugScope_10{int kind; const char *name; BBDebugDecl decls[11]; };
struct BBDebugScope_17{int kind; const char *name; BBDebugDecl decls[18]; };
struct BBDebugScope_18{int kind; const char *name; BBDebugDecl decls[19]; };
struct BBDebugScope_2{int kind; const char *name; BBDebugDecl decls[3]; };
struct BBDebugScope_24{int kind; const char *name; BBDebugDecl decls[25]; };
struct BBDebugScope_3{int kind; const char *name; BBDebugDecl decls[4]; };
struct BBDebugScope_4{int kind; const char *name; BBDebugDecl decls[5]; };
struct BBDebugScope_7{int kind; const char *name; BBDebugDecl decls[8]; };
struct BBDebugScope_8{int kind; const char *name; BBDebugDecl decls[9]; };
void _database_core_dbtypes_TDBType_New(struct database_core_dbtypes_TDBType_obj* o) {
	bbObjectCtor((BBOBJECT)o);
	o->clas = &database_core_dbtypes_TDBType;
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull = 1;
}
void _database_core_dbtypes_TDBType_clear(struct database_core_dbtypes_TDBType_obj* o){
	brl_blitz_NullMethodError();
}
BBINT _database_core_dbtypes_TDBType_kind(struct database_core_dbtypes_TDBType_obj* o){
	brl_blitz_NullMethodError();
	return 0;
}
BBSTRING _database_core_dbtypes_TDBType_getString(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 73, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (&bbEmptyString);
}
BBINT _database_core_dbtypes_TDBType_isNull(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"isNull",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 77, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull ;
}
BBINT _database_core_dbtypes_TDBType_getInt(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getInt",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 81, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0;
}
BBDOUBLE _database_core_dbtypes_TDBType_getDouble(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDouble",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 85, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0.0000000000000000;
}
BBFLOAT _database_core_dbtypes_TDBType_getFloat(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getFloat",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 89, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0.00000000f;
}
BBLONG _database_core_dbtypes_TDBType_getLong(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 93, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0LL;
}
BBLONG _database_core_dbtypes_TDBType_getDate(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 97, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0LL;
}
BBBYTE* _database_core_dbtypes_TDBType_getBlob(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getBlob",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 101, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 0;
}
void _database_core_dbtypes_TDBType_setLong_l(struct database_core_dbtypes_TDBType_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 105, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s0));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_setDouble_d(struct database_core_dbtypes_TDBType_obj* o,BBDOUBLE bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDouble",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"d",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 109, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s1));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_setString_S(struct database_core_dbtypes_TDBType_obj* o,BBSTRING bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"$",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 113, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s2));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_setInt_i(struct database_core_dbtypes_TDBType_obj* o,BBINT bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setInt",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"i",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 117, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s3));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_SetFloat_f(struct database_core_dbtypes_TDBType_obj* o,BBFLOAT bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetFloat",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"f",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 121, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s4));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_setDate_l(struct database_core_dbtypes_TDBType_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 125, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s5));
	}
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBType_setBlob_pbii(struct database_core_dbtypes_TDBType_obj* o,BBBYTE* bbt_v,BBINT bbt_s,BBINT bbt_copy){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setBlob",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"*b",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_LOCAL,
				"s",
				"i",
				.var_address=&bbt_s
			},
			{
				BBDEBUGDECL_LOCAL,
				"copy",
				"i",
				.var_address=&bbt_copy
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 129, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s6));
	}
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBType_size(struct database_core_dbtypes_TDBType_obj* o){
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"size",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBType",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 133, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if (!(0)) {
		brl_blitz_RuntimeError(((BBString*)&_s7));
	}
	bbOnDebugLeaveScope();
	return 0;
}
struct BBDebugScope_18 database_core_dbtypes_TDBType_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBType",
	{
		{
			BBDEBUGDECL_FIELD,
			"_isNull",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBType_obj,_database_core_dbtypes_tdbtype__isnull)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_New
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getString",
			"()$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getString
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"isNull",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_isNull
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getInt",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getInt
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDouble",
			"()d",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getDouble
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getFloat",
			"()f",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getFloat
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getLong",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getLong
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDate",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getDate
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getBlob",
			"()*b",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_getBlob
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setLong",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setLong_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDouble",
			"(d)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setDouble_d
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setString",
			"($)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setString_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setInt",
			"(i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setInt_i
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"SetFloat",
			"(f)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_SetFloat_f
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDate",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setDate_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setBlob",
			"(*b,i,i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_setBlob_pbii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"size",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBType_size
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBType database_core_dbtypes_TDBType={
	&bbObjectClass,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBType_scope,
	sizeof(struct database_core_dbtypes_TDBType_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBType_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBINT)
	,0
	,offsetof(struct database_core_dbtypes_TDBType_obj,_database_core_dbtypes_tdbtype__isnull)
	,_database_core_dbtypes_TDBType_clear
	,_database_core_dbtypes_TDBType_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
};

void _database_core_dbtypes_TDBString_New(struct database_core_dbtypes_TDBString_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBString;
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value = ((BBString*)&bbEmptyString);
}
struct database_core_dbtypes_TDBString_obj* database_core_dbtypes_TDBString_Set_TTDBString_S(BBSTRING bbt_value){
	struct database_core_dbtypes_TDBString_obj* bbt_this=(struct database_core_dbtypes_TDBString_obj*)((struct database_core_dbtypes_TDBString_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"$",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBString",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 147, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBString_obj*)(struct database_core_dbtypes_TDBString_obj*)bbObjectNew((BBClass *)&database_core_dbtypes_TDBString);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 148, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setString_S((struct database_core_dbtypes_TDBString_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 149, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBString_obj*)bbt_this;
}
BBSTRING _database_core_dbtypes_TDBString_getString(struct database_core_dbtypes_TDBString_obj* o){
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBString",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 157, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value ;
}
void _database_core_dbtypes_TDBString_setString_S(struct database_core_dbtypes_TDBString_obj* o,BBSTRING bbt_v){
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBString",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"$",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 164, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(bbt_v!= &bbEmptyString){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 165, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value =bbt_v;
		struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 166, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
		bbOnDebugLeaveScope();
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 168, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value =(&bbEmptyString);
		struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 169, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBString_size(struct database_core_dbtypes_TDBString_obj* o){
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"size",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBString",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 178, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value != &bbEmptyString){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 179, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return (((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value ->length);
	}
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 181, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbOnDebugLeaveScope();
	return 0;
}
void _database_core_dbtypes_TDBString_clear(struct database_core_dbtypes_TDBString_obj* o){
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBString",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 185, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbstring_value =(&bbEmptyString);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 186, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBString_kind(struct database_core_dbtypes_TDBString_obj* o){
	((struct database_core_dbtypes_TDBString_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBString",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 190, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 1;
}
struct BBDebugScope_8 database_core_dbtypes_TDBString_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBString",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"$",
			.field_offset=offsetof(struct database_core_dbtypes_TDBString_obj,_database_core_dbtypes_tdbstring_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"($):TDBString",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBString_Set_TTDBString_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getString",
			"()$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_getString
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setString",
			"($)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_setString_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"size",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_size
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBString_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBString database_core_dbtypes_TDBString={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBString_scope,
	sizeof(struct database_core_dbtypes_TDBString_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBString_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBSTRING)
	,0
	,offsetof(struct database_core_dbtypes_TDBString_obj,_database_core_dbtypes_tdbstring_value)
	,_database_core_dbtypes_TDBString_clear
	,_database_core_dbtypes_TDBString_kind
	,_database_core_dbtypes_TDBString_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBString_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBString_size
	,database_core_dbtypes_TDBString_Set_TTDBString_S
};

void _database_core_dbtypes_TDBInt_New(struct database_core_dbtypes_TDBInt_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBInt;
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbint_value = 0;
}
struct database_core_dbtypes_TDBInt_obj* database_core_dbtypes_TDBInt_Set_TTDBInt_i(BBINT bbt_value){
	struct database_core_dbtypes_TDBInt_obj* bbt_this=(struct database_core_dbtypes_TDBInt_obj*)((struct database_core_dbtypes_TDBInt_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"i",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBInt",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 204, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBInt_obj*)(struct database_core_dbtypes_TDBInt_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBInt);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 205, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setInt_i((struct database_core_dbtypes_TDBInt_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 206, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBInt_obj*)bbt_this;
}
BBINT _database_core_dbtypes_TDBInt_getInt(struct database_core_dbtypes_TDBInt_obj* o){
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getInt",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBInt",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 213, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbint_value ;
}
BBLONG _database_core_dbtypes_TDBInt_getLong(struct database_core_dbtypes_TDBInt_obj* o){
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBInt",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 221, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((BBLONG)((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbint_value );
}
void _database_core_dbtypes_TDBInt_setInt_i(struct database_core_dbtypes_TDBInt_obj* o,BBINT bbt_v){
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setInt",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBInt",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"i",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 228, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbint_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 229, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBInt_clear(struct database_core_dbtypes_TDBInt_obj* o){
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBInt",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 233, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbint_value =0;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 234, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBInt_kind(struct database_core_dbtypes_TDBInt_obj* o){
	((struct database_core_dbtypes_TDBInt_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBInt",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 238, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 2;
}
struct BBDebugScope_8 database_core_dbtypes_TDBInt_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBInt",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBInt_obj,_database_core_dbtypes_tdbint_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(i):TDBInt",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBInt_Set_TTDBInt_i
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getInt",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_getInt
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getLong",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_getLong
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setInt",
			"(i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_setInt_i
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBInt_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBInt database_core_dbtypes_TDBInt={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBInt_scope,
	sizeof(struct database_core_dbtypes_TDBInt_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBInt_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBINT)
	,0
	,offsetof(struct database_core_dbtypes_TDBInt_obj,_database_core_dbtypes_tdbint_value)
	,_database_core_dbtypes_TDBInt_clear
	,_database_core_dbtypes_TDBInt_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBInt_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBInt_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBInt_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,database_core_dbtypes_TDBInt_Set_TTDBInt_i
};

void _database_core_dbtypes_TDBDouble_New(struct database_core_dbtypes_TDBDouble_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBDouble;
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdouble_value = .0000000000000000;
}
struct database_core_dbtypes_TDBDouble_obj* database_core_dbtypes_TDBDouble_Set_TTDBDouble_d(BBDOUBLE bbt_value){
	struct database_core_dbtypes_TDBDouble_obj* bbt_this=(struct database_core_dbtypes_TDBDouble_obj*)((struct database_core_dbtypes_TDBDouble_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"d",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBDouble",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 253, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBDouble_obj*)(struct database_core_dbtypes_TDBDouble_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDouble);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 254, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setDouble_d((struct database_core_dbtypes_TDBDouble_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 255, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDouble_obj*)bbt_this;
}
BBDOUBLE _database_core_dbtypes_TDBDouble_getDouble(struct database_core_dbtypes_TDBDouble_obj* o){
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDouble",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDouble",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 262, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdouble_value ;
}
BBFLOAT _database_core_dbtypes_TDBDouble_getFloat(struct database_core_dbtypes_TDBDouble_obj* o){
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getFloat",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDouble",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 270, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((BBFLOAT)((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdouble_value );
}
void _database_core_dbtypes_TDBDouble_setDouble_d(struct database_core_dbtypes_TDBDouble_obj* o,BBDOUBLE bbt_v){
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDouble",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDouble",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"d",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 277, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdouble_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 278, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBDouble_clear(struct database_core_dbtypes_TDBDouble_obj* o){
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDouble",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 282, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdouble_value =0.0000000000000000;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 283, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBDouble_kind(struct database_core_dbtypes_TDBDouble_obj* o){
	((struct database_core_dbtypes_TDBDouble_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDouble",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 287, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 3;
}
struct BBDebugScope_8 database_core_dbtypes_TDBDouble_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBDouble",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"d",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDouble_obj,_database_core_dbtypes_tdbdouble_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(d):TDBDouble",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDouble_Set_TTDBDouble_d
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDouble",
			"()d",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_getDouble
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getFloat",
			"()f",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_getFloat
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDouble",
			"(d)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_setDouble_d
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDouble_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBDouble database_core_dbtypes_TDBDouble={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBDouble_scope,
	sizeof(struct database_core_dbtypes_TDBDouble_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBDouble_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBDOUBLE)
	,0
	,offsetof(struct database_core_dbtypes_TDBDouble_obj,_database_core_dbtypes_tdbdouble_value)
	,_database_core_dbtypes_TDBDouble_clear
	,_database_core_dbtypes_TDBDouble_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBDouble_getDouble
	,_database_core_dbtypes_TDBDouble_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBDouble_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,database_core_dbtypes_TDBDouble_Set_TTDBDouble_d
};

void _database_core_dbtypes_TDBFloat_New(struct database_core_dbtypes_TDBFloat_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBFloat;
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbfloat_value = .00000000f;
}
struct database_core_dbtypes_TDBFloat_obj* database_core_dbtypes_TDBFloat_Set_TTDBFloat_f(BBFLOAT bbt_value){
	struct database_core_dbtypes_TDBFloat_obj* bbt_this=(struct database_core_dbtypes_TDBFloat_obj*)((struct database_core_dbtypes_TDBFloat_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"f",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBFloat",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 302, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBFloat_obj*)(struct database_core_dbtypes_TDBFloat_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBFloat);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 303, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_SetFloat_f((struct database_core_dbtypes_TDBFloat_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 304, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBFloat_obj*)bbt_this;
}
BBFLOAT _database_core_dbtypes_TDBFloat_getFloat(struct database_core_dbtypes_TDBFloat_obj* o){
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getFloat",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBFloat",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 311, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbfloat_value ;
}
BBDOUBLE _database_core_dbtypes_TDBFloat_getDouble(struct database_core_dbtypes_TDBFloat_obj* o){
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDouble",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBFloat",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 318, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((BBDOUBLE)((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbfloat_value );
}
void _database_core_dbtypes_TDBFloat_SetFloat_f(struct database_core_dbtypes_TDBFloat_obj* o,BBFLOAT bbt_v){
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetFloat",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBFloat",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"f",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 325, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbfloat_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 326, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBFloat_clear(struct database_core_dbtypes_TDBFloat_obj* o){
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBFloat",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 330, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbfloat_value =0.00000000f;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 331, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBFloat_kind(struct database_core_dbtypes_TDBFloat_obj* o){
	((struct database_core_dbtypes_TDBFloat_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBFloat",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 335, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 4;
}
struct BBDebugScope_8 database_core_dbtypes_TDBFloat_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBFloat",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"f",
			.field_offset=offsetof(struct database_core_dbtypes_TDBFloat_obj,_database_core_dbtypes_tdbfloat_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(f):TDBFloat",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBFloat_Set_TTDBFloat_f
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getFloat",
			"()f",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_getFloat
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDouble",
			"()d",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_getDouble
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"SetFloat",
			"(f)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_SetFloat_f
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBFloat_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBFloat database_core_dbtypes_TDBFloat={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBFloat_scope,
	sizeof(struct database_core_dbtypes_TDBFloat_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBFloat_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBFLOAT)
	,0
	,offsetof(struct database_core_dbtypes_TDBFloat_obj,_database_core_dbtypes_tdbfloat_value)
	,_database_core_dbtypes_TDBFloat_clear
	,_database_core_dbtypes_TDBFloat_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBFloat_getDouble
	,_database_core_dbtypes_TDBFloat_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBFloat_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,database_core_dbtypes_TDBFloat_Set_TTDBFloat_f
};

void _database_core_dbtypes_TDBLong_New(struct database_core_dbtypes_TDBLong_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBLong;
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdblong_value = 0LL;
}
struct database_core_dbtypes_TDBLong_obj* database_core_dbtypes_TDBLong_Set_TTDBLong_l(BBLONG bbt_value){
	struct database_core_dbtypes_TDBLong_obj* bbt_this=(struct database_core_dbtypes_TDBLong_obj*)((struct database_core_dbtypes_TDBLong_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"l",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBLong",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 350, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBLong_obj*)(struct database_core_dbtypes_TDBLong_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBLong);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 351, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setLong_l((struct database_core_dbtypes_TDBLong_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 352, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBLong_obj*)bbt_this;
}
BBLONG _database_core_dbtypes_TDBLong_getLong(struct database_core_dbtypes_TDBLong_obj* o){
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBLong",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 359, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdblong_value ;
}
BBINT _database_core_dbtypes_TDBLong_getInt(struct database_core_dbtypes_TDBLong_obj* o){
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getInt",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBLong",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 366, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((BBINT)((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdblong_value );
}
void _database_core_dbtypes_TDBLong_setLong_l(struct database_core_dbtypes_TDBLong_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBLong",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 373, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdblong_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 374, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBLong_clear(struct database_core_dbtypes_TDBLong_obj* o){
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBLong",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 378, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdblong_value =0LL;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 379, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBLong_kind(struct database_core_dbtypes_TDBLong_obj* o){
	((struct database_core_dbtypes_TDBLong_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBLong",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 383, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 5;
}
struct BBDebugScope_8 database_core_dbtypes_TDBLong_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBLong",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"l",
			.field_offset=offsetof(struct database_core_dbtypes_TDBLong_obj,_database_core_dbtypes_tdblong_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(l):TDBLong",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBLong_Set_TTDBLong_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getLong",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_getLong
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getInt",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_getInt
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setLong",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_setLong_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBLong_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBLong database_core_dbtypes_TDBLong={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBLong_scope,
	sizeof(struct database_core_dbtypes_TDBLong_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBLong_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBLONG)
	,0
	,offsetof(struct database_core_dbtypes_TDBLong_obj,_database_core_dbtypes_tdblong_value)
	,_database_core_dbtypes_TDBLong_clear
	,_database_core_dbtypes_TDBLong_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBLong_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBLong_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBLong_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,database_core_dbtypes_TDBLong_Set_TTDBLong_l
};

void _database_core_dbtypes_TDBDateBase_New(struct database_core_dbtypes_TDBDateBase_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBDateBase;
	((struct database_core_dbtypes_TDBDateBase_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatebase_value = 0LL;
}
BBSTRING _database_core_dbtypes_TDBDateBase_format_S(struct database_core_dbtypes_TDBDateBase_obj* o,BBSTRING bbt_fmt){
	brl_blitz_NullMethodError();
	return ((BBString*)&bbEmptyString);
}
struct BBDebugScope_2 database_core_dbtypes_TDBDateBase_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBDateBase",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"l",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateBase_obj,_database_core_dbtypes_tdbdatebase_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateBase_New
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBDateBase database_core_dbtypes_TDBDateBase={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBDateBase_scope,
	sizeof(struct database_core_dbtypes_TDBDateBase_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBDateBase_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBLONG)
	,0
	,offsetof(struct database_core_dbtypes_TDBDateBase_obj,_database_core_dbtypes_tdbdatebase_value)
	,_database_core_dbtypes_TDBType_clear
	,_database_core_dbtypes_TDBType_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,_database_core_dbtypes_TDBDateBase_format_S
};

void _database_core_dbtypes_TDBDate_New(struct database_core_dbtypes_TDBDate_obj* o) {
	_database_core_dbtypes_TDBDateBase_New((struct database_core_dbtypes_TDBDateBase_obj*)o);
	o->clas = &database_core_dbtypes_TDBDate;
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__year = 1900;
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__month = 1;
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__day = 1;
}
struct database_core_dbtypes_TDBDate_obj* database_core_dbtypes_TDBDate_Set(BBINT bbt_year,BBINT bbt_Month,BBINT bbt_day){
	struct database_core_dbtypes_TDBDate_obj* bbt_this=(struct database_core_dbtypes_TDBDate_obj*)((struct database_core_dbtypes_TDBDate_obj*)&bbNullObject);
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"year",
				"i",
				.var_address=&bbt_year
			},
			{
				BBDEBUGDECL_LOCAL,
				"Month",
				"i",
				.var_address=&bbt_Month
			},
			{
				BBDEBUGDECL_LOCAL,
				"day",
				"i",
				.var_address=&bbt_day
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBDate",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 408, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBDate_obj*)(struct database_core_dbtypes_TDBDate_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDate);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 409, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setFromParts_iii((struct database_core_dbtypes_TDBDate_obj*)bbt_this,bbt_year,bbt_Month,bbt_day);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 410, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDate_obj*)bbt_this;
}
struct database_core_dbtypes_TDBDate_obj* database_core_dbtypes_TDBDate_SetWithLong_TTDBDate_l(BBLONG bbt_value){
	struct database_core_dbtypes_TDBDate_obj* bbt_this=(struct database_core_dbtypes_TDBDate_obj*)((struct database_core_dbtypes_TDBDate_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetWithLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"l",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBDate",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 414, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBDate_obj*)(struct database_core_dbtypes_TDBDate_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDate);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 415, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setDate_l((struct database_core_dbtypes_TDBDate_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 416, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDate_obj*)bbt_this;
}
struct database_core_dbtypes_TDBDate_obj* database_core_dbtypes_TDBDate_SetFromString_TTDBDate_S(BBSTRING bbt_date){
	BBINT bbt_y=0;
	BBINT bbt_m=0;
	BBINT bbt_d=0;
	BBINT bbt_hh=0;
	BBINT bbt_mm=0;
	BBINT bbt_ss=0;
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetFromString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"date",
				"$",
				.var_address=&bbt_date
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"m",
				"i",
				.var_address=&bbt_m
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"i",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_LOCAL,
				"hh",
				"i",
				.var_address=&bbt_hh
			},
			{
				BBDEBUGDECL_LOCAL,
				"mm",
				"i",
				.var_address=&bbt_mm
			},
			{
				BBDEBUGDECL_LOCAL,
				"ss",
				"i",
				.var_address=&bbt_ss
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_y=0;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_m=0;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_d=0;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_hh=0;
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_mm=0;
	struct BBDebugStm __stmt_5 = {0xbd553e85046fb8e6, 424, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbt_ss=0;
	struct BBDebugStm __stmt_6 = {0xbd553e85046fb8e6, 425, 0};
	bbOnDebugEnterStm(&__stmt_6);
	if(database_core_strptime_dbStrptime(bbt_date,((BBString*)&_s8),(&bbt_y),(&bbt_m),(&bbt_d),(&bbt_hh),(&bbt_mm),(&bbt_ss))!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 426, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return (struct database_core_dbtypes_TDBDate_obj*)database_core_dbtypes_TDBDate_Set(bbt_y,bbt_m,bbt_d);
	}
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDate_obj*)((struct database_core_dbtypes_TDBDate_obj*)&bbNullObject);
}
BBLONG _database_core_dbtypes_TDBDate_getDate(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 431, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateBase_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatebase_value ;
}
BBINT _database_core_dbtypes_TDBDate_getYear(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getYear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 435, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__year ;
}
BBINT _database_core_dbtypes_TDBDate_getMonth(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getMonth",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 439, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__month ;
}
BBINT _database_core_dbtypes_TDBDate_getDay(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDay",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 443, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__day ;
}
void _database_core_dbtypes_TDBDate_setFromParts_iii(struct database_core_dbtypes_TDBDate_obj* o,BBINT bbt_y,BBINT bbt_m,BBINT bbt_d){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setFromParts",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"m",
				"i",
				.var_address=&bbt_m
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"i",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 447, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__year =bbt_y;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 448, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__month =bbt_m;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 449, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__day =bbt_d;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 451, 0};
	bbOnDebugEnterStm(&__stmt_3);
	_calcDateValue((&((struct database_core_dbtypes_TDBDateBase_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatebase_value ),((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__year ,((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__month ,((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__day ,0,0,0);
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 452, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
BBSTRING _database_core_dbtypes_TDBDate_format_S(struct database_core_dbtypes_TDBDate_obj* o,BBSTRING bbt_fmt){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"format",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"fmt",
				"$",
				.var_address=&bbt_fmt
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 459, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return _formatDate(bbt_fmt,((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__year ,((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__month ,((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdate__day ,0,0,0);
}
BBSTRING _database_core_dbtypes_TDBDate_getString(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 463, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDate_obj*)o)->clas->m_format_S((struct database_core_dbtypes_TDBDate_obj*)o,((BBString*)&_s8));
}
void _database_core_dbtypes_TDBDate_setDate_l(struct database_core_dbtypes_TDBDate_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 467, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateBase_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatebase_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 468, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBDate_clear(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 472, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateBase_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatebase_value =0LL;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 473, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBDate_kind(struct database_core_dbtypes_TDBDate_obj* o){
	((struct database_core_dbtypes_TDBDate_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDate",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 477, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 6;
}
struct BBDebugScope_17 database_core_dbtypes_TDBDate_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBDate",
	{
		{
			BBDEBUGDECL_FIELD,
			"_year",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__year)
		},
		{
			BBDEBUGDECL_FIELD,
			"_month",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__month)
		},
		{
			BBDEBUGDECL_FIELD,
			"_day",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__day)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(i,i,i):TDBDate{nomangle=1}",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDate_Set
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetWithLong",
			"(l):TDBDate",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDate_SetWithLong_TTDBDate_l
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetFromString",
			"($):TDBDate",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDate_SetFromString_TTDBDate_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDate",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_getDate
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getYear",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_getYear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getMonth",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_getMonth
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDay",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_getDay
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setFromParts",
			"(i,i,i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_setFromParts_iii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"format",
			"($)$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_format_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getString",
			"()$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_getString
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDate",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_setDate_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDate_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBDate database_core_dbtypes_TDBDate={
	&database_core_dbtypes_TDBDateBase,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBDate_scope,
	sizeof(struct database_core_dbtypes_TDBDate_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBDate_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__day) - offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__year) + sizeof(BBINT)
	,0
	,offsetof(struct database_core_dbtypes_TDBDate_obj,_database_core_dbtypes_tdbdate__year)
	,_database_core_dbtypes_TDBDate_clear
	,_database_core_dbtypes_TDBDate_kind
	,_database_core_dbtypes_TDBDate_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBDate_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBDate_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,_database_core_dbtypes_TDBDate_format_S
	,database_core_dbtypes_TDBDate_Set
	,database_core_dbtypes_TDBDate_SetWithLong_TTDBDate_l
	,database_core_dbtypes_TDBDate_SetFromString_TTDBDate_S
	,_database_core_dbtypes_TDBDate_getYear
	,_database_core_dbtypes_TDBDate_getMonth
	,_database_core_dbtypes_TDBDate_getDay
	,_database_core_dbtypes_TDBDate_setFromParts_iii
};

void _database_core_dbtypes_TDBBlob_New(struct database_core_dbtypes_TDBBlob_obj* o) {
	_database_core_dbtypes_TDBType_New((struct database_core_dbtypes_TDBType_obj*)o);
	o->clas = &database_core_dbtypes_TDBBlob;
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value = 0;
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size = 0;
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__owner = 0;
}
void _database_core_dbtypes_TDBBlob_Delete(struct database_core_dbtypes_TDBBlob_obj* o) {
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Delete",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 547, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_core_dbtypes_TDBBlob_obj*)o)->clas->m_clear((struct database_core_dbtypes_TDBBlob_obj*)o);
	bbOnDebugLeaveScope();
	bbObjectDtor((BBOBJECT)o);
}
struct database_core_dbtypes_TDBBlob_obj* database_core_dbtypes_TDBBlob_Set_TTDBBlob_pbii(BBBYTE* bbt_value,BBINT bbt_size,BBINT bbt_copy){
	struct database_core_dbtypes_TDBBlob_obj* bbt_this=(struct database_core_dbtypes_TDBBlob_obj*)((struct database_core_dbtypes_TDBBlob_obj*)&bbNullObject);
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"*b",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"size",
				"i",
				.var_address=&bbt_size
			},
			{
				BBDEBUGDECL_LOCAL,
				"copy",
				"i",
				.var_address=&bbt_copy
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBBlob",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 497, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBBlob_obj*)(struct database_core_dbtypes_TDBBlob_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBBlob);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 498, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setBlob_pbii((struct database_core_dbtypes_TDBBlob_obj*)bbt_this,bbt_value,bbt_size,bbt_copy);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 499, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBBlob_obj*)bbt_this;
}
BBBYTE* _database_core_dbtypes_TDBBlob_getBlob(struct database_core_dbtypes_TDBBlob_obj* o){
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getBlob",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 503, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value ;
}
void _database_core_dbtypes_TDBBlob_setBlob_pbii(struct database_core_dbtypes_TDBBlob_obj* o,BBBYTE* bbt_v,BBINT bbt_s,BBINT bbt_copy){
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setBlob",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"*b",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_LOCAL,
				"s",
				"i",
				.var_address=&bbt_s
			},
			{
				BBDEBUGDECL_LOCAL,
				"copy",
				"i",
				.var_address=&bbt_copy
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 511, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value ){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 513, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_dbtypes_TDBBlob_obj*)o)->clas->m_clear((struct database_core_dbtypes_TDBBlob_obj*)o);
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 516, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size =bbt_s;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 517, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if((bbt_copy!=0) && (((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size >0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 518, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__owner =1;
		struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 519, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value =bbMemAlloc((size_t)((BBSIZET)((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size ));
		struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 520, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbMemCopy((void*)((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value ,(const void*)bbt_v,(size_t)((BBSIZET)((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size ));
		bbOnDebugLeaveScope();
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 522, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value =bbt_v;
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 525, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBBlob_size(struct database_core_dbtypes_TDBBlob_obj* o){
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"size",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 529, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__size ;
}
void _database_core_dbtypes_TDBBlob_clear(struct database_core_dbtypes_TDBBlob_obj* o){
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 533, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value ){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 534, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob__owner !=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 535, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbMemFree((void*)((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value );
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 537, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbblob_value =0;
		struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 538, 0};
		bbOnDebugEnterStm(&__stmt_2);
		((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBBlob_kind(struct database_core_dbtypes_TDBBlob_obj* o){
	((struct database_core_dbtypes_TDBBlob_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBBlob",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 543, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 7;
}
struct BBDebugScope_10 database_core_dbtypes_TDBBlob_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBBlob",
	{
		{
			BBDEBUGDECL_FIELD,
			"value",
			"*b",
			.field_offset=offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob_value)
		},
		{
			BBDEBUGDECL_FIELD,
			"_size",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob__size)
		},
		{
			BBDEBUGDECL_FIELD,
			"_owner",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob__owner)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(*b,i,i):TDBBlob",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBBlob_Set_TTDBBlob_pbii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getBlob",
			"()*b",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_getBlob
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setBlob",
			"(*b,i,i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_setBlob_pbii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"size",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_size
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBBlob_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBBlob database_core_dbtypes_TDBBlob={
	&database_core_dbtypes_TDBType,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBBlob_scope,
	sizeof(struct database_core_dbtypes_TDBBlob_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBBlob_New,
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBBlob_Delete,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob__owner) - offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob_value) + sizeof(BBINT)
	,0
	,offsetof(struct database_core_dbtypes_TDBBlob_obj,_database_core_dbtypes_tdbblob_value)
	,_database_core_dbtypes_TDBBlob_clear
	,_database_core_dbtypes_TDBBlob_kind
	,_database_core_dbtypes_TDBType_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBType_getDate
	,_database_core_dbtypes_TDBBlob_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBType_setDate_l
	,_database_core_dbtypes_TDBBlob_setBlob_pbii
	,_database_core_dbtypes_TDBBlob_size
	,database_core_dbtypes_TDBBlob_Set_TTDBBlob_pbii
};

void _database_core_dbtypes_TDBDateTime_New(struct database_core_dbtypes_TDBDateTime_obj* o) {
	_database_core_dbtypes_TDBDateBase_New((struct database_core_dbtypes_TDBDateBase_obj*)o);
	o->clas = &database_core_dbtypes_TDBDateTime;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__year = 1900;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__month = 1;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__day = 1;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__hour = 0;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__minute = 0;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__second = 0;
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime_value = 0LL;
}
struct database_core_dbtypes_TDBDateTime_obj* database_core_dbtypes_TDBDateTime_Set(BBINT bbt_year,BBINT bbt_Month,BBINT bbt_day,BBINT bbt_hours,BBINT bbt_mins,BBINT bbt_secs){
	struct database_core_dbtypes_TDBDateTime_obj* bbt_this=(struct database_core_dbtypes_TDBDateTime_obj*)((struct database_core_dbtypes_TDBDateTime_obj*)&bbNullObject);
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"year",
				"i",
				.var_address=&bbt_year
			},
			{
				BBDEBUGDECL_LOCAL,
				"Month",
				"i",
				.var_address=&bbt_Month
			},
			{
				BBDEBUGDECL_LOCAL,
				"day",
				"i",
				.var_address=&bbt_day
			},
			{
				BBDEBUGDECL_LOCAL,
				"hours",
				"i",
				.var_address=&bbt_hours
			},
			{
				BBDEBUGDECL_LOCAL,
				"mins",
				"i",
				.var_address=&bbt_mins
			},
			{
				BBDEBUGDECL_LOCAL,
				"secs",
				"i",
				.var_address=&bbt_secs
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBDateTime",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 567, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBDateTime_obj*)(struct database_core_dbtypes_TDBDateTime_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDateTime);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 568, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setFromParts_iiiiii((struct database_core_dbtypes_TDBDateTime_obj*)bbt_this,bbt_year,bbt_Month,bbt_day,bbt_hours,bbt_mins,bbt_secs);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 569, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDateTime_obj*)bbt_this;
}
struct database_core_dbtypes_TDBDateTime_obj* database_core_dbtypes_TDBDateTime_SetWithLong_TTDBDateTime_l(BBLONG bbt_value){
	struct database_core_dbtypes_TDBDateTime_obj* bbt_this=(struct database_core_dbtypes_TDBDateTime_obj*)((struct database_core_dbtypes_TDBDateTime_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetWithLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"l",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBDateTime",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 573, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBDateTime_obj*)(struct database_core_dbtypes_TDBDateTime_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDateTime);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 574, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setDate_l((struct database_core_dbtypes_TDBDateTime_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 575, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDateTime_obj*)bbt_this;
}
struct database_core_dbtypes_TDBDateTime_obj* database_core_dbtypes_TDBDateTime_SetFromString_TTDBDateTime_S(BBSTRING bbt_date){
	BBINT bbt_y=0;
	BBINT bbt_m=0;
	BBINT bbt_d=0;
	BBINT bbt_hh=0;
	BBINT bbt_mm=0;
	BBINT bbt_ss=0;
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetFromString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"date",
				"$",
				.var_address=&bbt_date
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"m",
				"i",
				.var_address=&bbt_m
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"i",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_LOCAL,
				"hh",
				"i",
				.var_address=&bbt_hh
			},
			{
				BBDEBUGDECL_LOCAL,
				"mm",
				"i",
				.var_address=&bbt_mm
			},
			{
				BBDEBUGDECL_LOCAL,
				"ss",
				"i",
				.var_address=&bbt_ss
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_y=0;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_m=0;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_d=0;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_hh=0;
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_mm=0;
	struct BBDebugStm __stmt_5 = {0xbd553e85046fb8e6, 583, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbt_ss=0;
	struct BBDebugStm __stmt_6 = {0xbd553e85046fb8e6, 584, 0};
	bbOnDebugEnterStm(&__stmt_6);
	if(database_core_strptime_dbStrptime(bbt_date,((BBString*)&_s9),(&bbt_y),(&bbt_m),(&bbt_d),(&bbt_hh),(&bbt_mm),(&bbt_ss))!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 585, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return (struct database_core_dbtypes_TDBDateTime_obj*)database_core_dbtypes_TDBDateTime_Set(bbt_y,bbt_m,bbt_d,bbt_hh,bbt_mm,bbt_ss);
	}
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBDateTime_obj*)((struct database_core_dbtypes_TDBDateTime_obj*)&bbNullObject);
}
void _database_core_dbtypes_TDBDateTime_setFromParts_iiiiii(struct database_core_dbtypes_TDBDateTime_obj* o,BBINT bbt_y,BBINT bbt_m,BBINT bbt_d,BBINT bbt_hh,BBINT bbt_mm,BBINT bbt_ss){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setFromParts",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"m",
				"i",
				.var_address=&bbt_m
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"i",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_LOCAL,
				"hh",
				"i",
				.var_address=&bbt_hh
			},
			{
				BBDEBUGDECL_LOCAL,
				"mm",
				"i",
				.var_address=&bbt_mm
			},
			{
				BBDEBUGDECL_LOCAL,
				"ss",
				"i",
				.var_address=&bbt_ss
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 590, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__year =bbt_y;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 591, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__month =bbt_m;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 592, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__day =bbt_d;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 593, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__hour =bbt_hh;
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 594, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__minute =bbt_mm;
	struct BBDebugStm __stmt_5 = {0xbd553e85046fb8e6, 595, 0};
	bbOnDebugEnterStm(&__stmt_5);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__second =bbt_ss;
	struct BBDebugStm __stmt_6 = {0xbd553e85046fb8e6, 597, 0};
	bbOnDebugEnterStm(&__stmt_6);
	_calcDateValue((&((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime_value ),((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__year ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__month ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__day ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__hour ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__minute ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__second );
	struct BBDebugStm __stmt_7 = {0xbd553e85046fb8e6, 598, 0};
	bbOnDebugEnterStm(&__stmt_7);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
BBLONG _database_core_dbtypes_TDBDateTime_getDate(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 602, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime_value ;
}
BBINT _database_core_dbtypes_TDBDateTime_getYear(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getYear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 606, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__year ;
}
BBINT _database_core_dbtypes_TDBDateTime_getMonth(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getMonth",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 610, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__month ;
}
BBINT _database_core_dbtypes_TDBDateTime_getDay(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDay",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 614, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__day ;
}
BBINT _database_core_dbtypes_TDBDateTime_getHour(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getHour",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 618, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__hour ;
}
BBINT _database_core_dbtypes_TDBDateTime_getMinute(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getMinute",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 622, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__minute ;
}
BBINT _database_core_dbtypes_TDBDateTime_getSecond(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getSecond",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 626, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__second ;
}
BBSTRING _database_core_dbtypes_TDBDateTime_format_S(struct database_core_dbtypes_TDBDateTime_obj* o,BBSTRING bbt_fmt){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"format",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"fmt",
				"$",
				.var_address=&bbt_fmt
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 633, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return _formatDate(bbt_fmt,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__year ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__month ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__day ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__hour ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__minute ,((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime__second );
}
BBSTRING _database_core_dbtypes_TDBDateTime_getString(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 637, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBDateTime_obj*)o)->clas->m_format_S((struct database_core_dbtypes_TDBDateTime_obj*)o,((BBString*)&_s9));
}
void _database_core_dbtypes_TDBDateTime_setDate_l(struct database_core_dbtypes_TDBDateTime_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 641, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 643, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBDateTime_clear(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 647, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbdatetime_value =0LL;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 648, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBDateTime_kind(struct database_core_dbtypes_TDBDateTime_obj* o){
	((struct database_core_dbtypes_TDBDateTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBDateTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 652, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 8;
}
struct BBDebugScope_24 database_core_dbtypes_TDBDateTime_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBDateTime",
	{
		{
			BBDEBUGDECL_FIELD,
			"_year",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__year)
		},
		{
			BBDEBUGDECL_FIELD,
			"_month",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__month)
		},
		{
			BBDEBUGDECL_FIELD,
			"_day",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__day)
		},
		{
			BBDEBUGDECL_FIELD,
			"_hour",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__hour)
		},
		{
			BBDEBUGDECL_FIELD,
			"_minute",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__minute)
		},
		{
			BBDEBUGDECL_FIELD,
			"_second",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__second)
		},
		{
			BBDEBUGDECL_FIELD,
			"value",
			"l",
			.field_offset=offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(i,i,i,i,i,i):TDBDateTime{nomangle=1}",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDateTime_Set
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetWithLong",
			"(l):TDBDateTime",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDateTime_SetWithLong_TTDBDateTime_l
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetFromString",
			"($):TDBDateTime",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBDateTime_SetFromString_TTDBDateTime_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setFromParts",
			"(i,i,i,i,i,i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_setFromParts_iiiiii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDate",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getDate
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getYear",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getYear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getMonth",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getMonth
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDay",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getDay
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getHour",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getHour
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getMinute",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getMinute
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getSecond",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getSecond
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"format",
			"($)$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_format_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getString",
			"()$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_getString
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDate",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_setDate_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBDateTime_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBDateTime database_core_dbtypes_TDBDateTime={
	&database_core_dbtypes_TDBDateBase,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBDateTime_scope,
	sizeof(struct database_core_dbtypes_TDBDateTime_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBDateTime_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime_value) - offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__year) + sizeof(BBLONG)
	,0
	,offsetof(struct database_core_dbtypes_TDBDateTime_obj,_database_core_dbtypes_tdbdatetime__year)
	,_database_core_dbtypes_TDBDateTime_clear
	,_database_core_dbtypes_TDBDateTime_kind
	,_database_core_dbtypes_TDBDateTime_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBDateTime_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBDateTime_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,_database_core_dbtypes_TDBDateTime_format_S
	,database_core_dbtypes_TDBDateTime_Set
	,database_core_dbtypes_TDBDateTime_SetWithLong_TTDBDateTime_l
	,database_core_dbtypes_TDBDateTime_SetFromString_TTDBDateTime_S
	,_database_core_dbtypes_TDBDateTime_setFromParts_iiiiii
	,_database_core_dbtypes_TDBDateTime_getYear
	,_database_core_dbtypes_TDBDateTime_getMonth
	,_database_core_dbtypes_TDBDateTime_getDay
	,_database_core_dbtypes_TDBDateTime_getHour
	,_database_core_dbtypes_TDBDateTime_getMinute
	,_database_core_dbtypes_TDBDateTime_getSecond
};

void _database_core_dbtypes_TDBTime_New(struct database_core_dbtypes_TDBTime_obj* o) {
	_database_core_dbtypes_TDBDateBase_New((struct database_core_dbtypes_TDBDateBase_obj*)o);
	o->clas = &database_core_dbtypes_TDBTime;
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour = 0;
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute = 0;
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second = 0;
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime_value = 0LL;
}
struct database_core_dbtypes_TDBTime_obj* database_core_dbtypes_TDBTime_Set(BBINT bbt_hours,BBINT bbt_mins,BBINT bbt_secs){
	struct database_core_dbtypes_TDBTime_obj* bbt_this=(struct database_core_dbtypes_TDBTime_obj*)((struct database_core_dbtypes_TDBTime_obj*)&bbNullObject);
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Set",
		{
			{
				BBDEBUGDECL_LOCAL,
				"hours",
				"i",
				.var_address=&bbt_hours
			},
			{
				BBDEBUGDECL_LOCAL,
				"mins",
				"i",
				.var_address=&bbt_mins
			},
			{
				BBDEBUGDECL_LOCAL,
				"secs",
				"i",
				.var_address=&bbt_secs
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBTime",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 669, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBTime_obj*)(struct database_core_dbtypes_TDBTime_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBTime);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 670, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setFromParts_iii((struct database_core_dbtypes_TDBTime_obj*)bbt_this,bbt_hours,bbt_mins,bbt_secs);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 671, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBTime_obj*)bbt_this;
}
struct database_core_dbtypes_TDBTime_obj* database_core_dbtypes_TDBTime_SetWithLong_TTDBTime_l(BBLONG bbt_value){
	struct database_core_dbtypes_TDBTime_obj* bbt_this=(struct database_core_dbtypes_TDBTime_obj*)((struct database_core_dbtypes_TDBTime_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetWithLong",
		{
			{
				BBDEBUGDECL_LOCAL,
				"value",
				"l",
				.var_address=&bbt_value
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBTime",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 675, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_core_dbtypes_TDBTime_obj*)(struct database_core_dbtypes_TDBTime_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBTime);
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 676, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_setDate_l((struct database_core_dbtypes_TDBTime_obj*)bbt_this,bbt_value);
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 677, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBTime_obj*)bbt_this;
}
struct database_core_dbtypes_TDBTime_obj* database_core_dbtypes_TDBTime_SetFromString_TTDBTime_S(BBSTRING bbt_date){
	BBINT bbt_y=0;
	BBINT bbt_m=0;
	BBINT bbt_d=0;
	BBINT bbt_hh=0;
	BBINT bbt_mm=0;
	BBINT bbt_ss=0;
	struct BBDebugScope_7 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"SetFromString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"date",
				"$",
				.var_address=&bbt_date
			},
			{
				BBDEBUGDECL_LOCAL,
				"y",
				"i",
				.var_address=&bbt_y
			},
			{
				BBDEBUGDECL_LOCAL,
				"m",
				"i",
				.var_address=&bbt_m
			},
			{
				BBDEBUGDECL_LOCAL,
				"d",
				"i",
				.var_address=&bbt_d
			},
			{
				BBDEBUGDECL_LOCAL,
				"hh",
				"i",
				.var_address=&bbt_hh
			},
			{
				BBDEBUGDECL_LOCAL,
				"mm",
				"i",
				.var_address=&bbt_mm
			},
			{
				BBDEBUGDECL_LOCAL,
				"ss",
				"i",
				.var_address=&bbt_ss
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_y=0;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_m=0;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_d=0;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_hh=0;
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_mm=0;
	struct BBDebugStm __stmt_5 = {0xbd553e85046fb8e6, 685, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbt_ss=0;
	struct BBDebugStm __stmt_6 = {0xbd553e85046fb8e6, 686, 0};
	bbOnDebugEnterStm(&__stmt_6);
	if(database_core_strptime_dbStrptime(bbt_date,((BBString*)&_s10),(&bbt_y),(&bbt_m),(&bbt_d),(&bbt_hh),(&bbt_mm),(&bbt_ss))!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 687, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return (struct database_core_dbtypes_TDBTime_obj*)database_core_dbtypes_TDBTime_Set(bbt_hh,bbt_mm,bbt_ss);
	}
	bbOnDebugLeaveScope();
	return (struct database_core_dbtypes_TDBTime_obj*)((struct database_core_dbtypes_TDBTime_obj*)&bbNullObject);
}
BBLONG _database_core_dbtypes_TDBTime_getDate(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 692, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime_value ;
}
void _database_core_dbtypes_TDBTime_setDate_l(struct database_core_dbtypes_TDBTime_obj* o,BBLONG bbt_v){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	BBLONG bbt_time=0;
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setDate",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"v",
				"l",
				.var_address=&bbt_v
			},
			{
				BBDEBUGDECL_LOCAL,
				"time",
				"l",
				.var_address=&bbt_time
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 696, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime_value =bbt_v;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 697, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_time=bbt_v;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 698, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second =((BBINT)(bbt_time % 60LL));
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 699, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_time=(bbt_time/60LL);
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 700, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute =((BBINT)(bbt_time % 60LL));
	struct BBDebugStm __stmt_5 = {0xbd553e85046fb8e6, 701, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbt_time=(bbt_time/60LL);
	struct BBDebugStm __stmt_6 = {0xbd553e85046fb8e6, 702, 0};
	bbOnDebugEnterStm(&__stmt_6);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour =((BBINT)(bbt_time % 24LL));
	struct BBDebugStm __stmt_7 = {0xbd553e85046fb8e6, 703, 0};
	bbOnDebugEnterStm(&__stmt_7);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
void _database_core_dbtypes_TDBTime_setFromParts_iii(struct database_core_dbtypes_TDBTime_obj* o,BBINT bbt_hh,BBINT bbt_mm,BBINT bbt_ss){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"setFromParts",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"hh",
				"i",
				.var_address=&bbt_hh
			},
			{
				BBDEBUGDECL_LOCAL,
				"mm",
				"i",
				.var_address=&bbt_mm
			},
			{
				BBDEBUGDECL_LOCAL,
				"ss",
				"i",
				.var_address=&bbt_ss
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 707, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour =bbt_hh;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 708, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute =bbt_mm;
	struct BBDebugStm __stmt_2 = {0xbd553e85046fb8e6, 709, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second =bbt_ss;
	struct BBDebugStm __stmt_3 = {0xbd553e85046fb8e6, 711, 0};
	bbOnDebugEnterStm(&__stmt_3);
	_calcDateValue((&((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime_value ),1900,1,0,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour ,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute ,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second );
	struct BBDebugStm __stmt_4 = {0xbd553e85046fb8e6, 712, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =0;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBTime_getHour(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getHour",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 716, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour ;
}
BBINT _database_core_dbtypes_TDBTime_getMinute(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getMinute",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 720, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute ;
}
BBINT _database_core_dbtypes_TDBTime_getSecond(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getSecond",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 724, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second ;
}
BBSTRING _database_core_dbtypes_TDBTime_format_S(struct database_core_dbtypes_TDBTime_obj* o,BBSTRING bbt_fmt){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"format",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"fmt",
				"$",
				.var_address=&bbt_fmt
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 731, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return _formatDate(bbt_fmt,1900,1,0,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__hour ,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__minute ,((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime__second );
}
BBSTRING _database_core_dbtypes_TDBTime_getString(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getString",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 735, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	bbOnDebugLeaveScope();
	return ((struct database_core_dbtypes_TDBTime_obj*)o)->clas->m_format_S((struct database_core_dbtypes_TDBTime_obj*)o,((BBString*)&_s10));
}
void _database_core_dbtypes_TDBTime_clear(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clear",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 739, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtime_value =0LL;
	struct BBDebugStm __stmt_1 = {0xbd553e85046fb8e6, 740, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)o))->_database_core_dbtypes_tdbtype__isnull =1;
	bbOnDebugLeaveScope();
}
BBINT _database_core_dbtypes_TDBTime_kind(struct database_core_dbtypes_TDBTime_obj* o){
	((struct database_core_dbtypes_TDBTime_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"kind",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBTime",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0xbd553e85046fb8e6, 744, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 9;
}
struct BBDebugScope_18 database_core_dbtypes_TDBTime_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBTime",
	{
		{
			BBDEBUGDECL_FIELD,
			"_hour",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime__hour)
		},
		{
			BBDEBUGDECL_FIELD,
			"_minute",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime__minute)
		},
		{
			BBDEBUGDECL_FIELD,
			"_second",
			"i",
			.field_offset=offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime__second)
		},
		{
			BBDEBUGDECL_FIELD,
			"value",
			"l",
			.field_offset=offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime_value)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Set",
			"(i,i,i):TDBTime{nomangle=1}",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBTime_Set
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetWithLong",
			"(l):TDBTime",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBTime_SetWithLong_TTDBTime_l
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"SetFromString",
			"($):TDBTime",
			.func_ptr=(BBFuncPtr)&database_core_dbtypes_TDBTime_SetFromString_TTDBTime_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getDate",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_getDate
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setDate",
			"(l)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_setDate_l
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"setFromParts",
			"(i,i,i)",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_setFromParts_iii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getHour",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_getHour
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getMinute",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_getMinute
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getSecond",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_getSecond
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"format",
			"($)$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_format_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getString",
			"()$",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_getString
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clear",
			"()",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_clear
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"kind",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_core_dbtypes_TDBTime_kind
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_core_dbtypes_TDBTime database_core_dbtypes_TDBTime={
	&database_core_dbtypes_TDBDateBase,
	bbObjectFree,
	(BBDebugScope*)&database_core_dbtypes_TDBTime_scope,
	sizeof(struct database_core_dbtypes_TDBTime_obj),
	(void (*)(BBOBJECT))_database_core_dbtypes_TDBTime_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime_value) - offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime__hour) + sizeof(BBLONG)
	,0
	,offsetof(struct database_core_dbtypes_TDBTime_obj,_database_core_dbtypes_tdbtime__hour)
	,_database_core_dbtypes_TDBTime_clear
	,_database_core_dbtypes_TDBTime_kind
	,_database_core_dbtypes_TDBTime_getString
	,_database_core_dbtypes_TDBType_isNull
	,_database_core_dbtypes_TDBType_getInt
	,_database_core_dbtypes_TDBType_getDouble
	,_database_core_dbtypes_TDBType_getFloat
	,_database_core_dbtypes_TDBType_getLong
	,_database_core_dbtypes_TDBTime_getDate
	,_database_core_dbtypes_TDBType_getBlob
	,_database_core_dbtypes_TDBType_setLong_l
	,_database_core_dbtypes_TDBType_setDouble_d
	,_database_core_dbtypes_TDBType_setString_S
	,_database_core_dbtypes_TDBType_setInt_i
	,_database_core_dbtypes_TDBType_SetFloat_f
	,_database_core_dbtypes_TDBTime_setDate_l
	,_database_core_dbtypes_TDBType_setBlob_pbii
	,_database_core_dbtypes_TDBType_size
	,_database_core_dbtypes_TDBTime_format_S
	,database_core_dbtypes_TDBTime_Set
	,database_core_dbtypes_TDBTime_SetWithLong_TTDBTime_l
	,database_core_dbtypes_TDBTime_SetFromString_TTDBTime_S
	,_database_core_dbtypes_TDBTime_setFromParts_iii
	,_database_core_dbtypes_TDBTime_getHour
	,_database_core_dbtypes_TDBTime_getMinute
	,_database_core_dbtypes_TDBTime_getSecond
};

static int _bb_database_core_dbtypes_inited = 0;
int _bb_database_core_dbtypes(){
	if (!_bb_database_core_dbtypes_inited) {
		_bb_database_core_dbtypes_inited = 1;
		__bb_brl_blitz_blitz();
		_bb_database_core_strptime();
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBType);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBString);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBInt);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBDouble);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBFloat);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBLong);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBDateBase);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBDate);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBBlob);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBDateTime);
		bbObjectRegisterType((BBCLASS)&database_core_dbtypes_TDBTime);
		bbRegisterSource(0xbd553e85046fb8e6, "c:/BMX/mod/database.mod/core.mod/dbtypes.bmx");
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_FUNCTION,
			"dbtypes",
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		bbOnDebugLeaveScope();
		return 0;
	}
	return 0;
}