16using System.Reflection;
17using System.Runtime.InteropServices;
18using System.Runtime.CompilerServices;
19using System.Collections.Generic;
20using System.Threading;
28 public partial class Sq3ValueC
30 public partial class Sq3ValueC :
MkObjectC
33 private readonly
static ConstructorInfo ctor =
getCtor(typeof(Sq3ValueC));
34 private readonly
static ThreadLocal<Sq3ValueC> MK_NULL =
new ThreadLocal<Sq3ValueC>(() => {
42 private static Sq3ValueC Sq3ValueC_ObjCreate (IntPtr
hdl) {
46 private static IntPtr Sq3ValueC_SelfCreate (IntPtr
mkrt, IntPtr obj, IntPtr env) {
50 private static void Sq3ValueC_SelfUnlink (IntPtr
mkrt, IntPtr
self, IntPtr env) {
54 internal static void SetupThreadVAL (IntPtr
mkrt) {
55 Sq3.Sq3CsTypeUpdate(
mkrt, Sq3CsTypeLookupE.VAL, Sq3ValueC_SelfCreate, Sq3ValueC_SelfUnlink);
58 #if !META_STATIC_OVERWRITE
63 SetupThreadVAL(IntPtr.Zero);
69 internal Sq3ValueC (IntPtr objP) : base(objP) {
76 public partial class Sq3ValueC {
86 IntPtr __retVal__L = Sq3.Sq3ValueHandleResolve(IntPtr.Zero, netHdl);
98 public partial class Sq3ValueC {
108 IntPtr __retVal__L = Sq3.Sq3ValueNext(
hdl);
114 IntPtr __retVal__L = Sq3.Sq3ValuePrev(
hdl);
122 IntPtr __retVal__L = Sq3.Sq3ValueInstances(IntPtr.Zero);
130 public partial class Sq3ValueC {
140 IntPtr __retVal__L = Sq3.Sq3ValueGetNull();
148 public partial class Sq3ValueC {
170 bool __retVal__L = Sq3.Sq3ValueFromBind(
hdl);
178 bool __retVal__L = Sq3.Sq3ValueNoChange(
hdl);
184 Sq3TypeE __retVal__L = Sq3.Sq3ValueNumericType(
hdl);
190 Int32 __retVal__L = Sq3.Sq3ValueSubType(
hdl);
204 public partial class Sq3ValueC {
214 IntPtr __retVal__L = Sq3.Sq3ValueDup(
hdl);
215 if (__retVal__L == IntPtr.Zero) {
218 return Sq3ValueC.Sq3ValueC_ObjCreate(__retVal__L);
225 public partial class Sq3ValueC {
235 IntPtr __retVal__L = Sq3.Sq3ValueBUF(
mkrt,
hdl);
241 IntPtr __retVal__L = Sq3.Sq3ValueBlob(
mkrt,
hdl);
250 int __retVal__L_size = (int) __retVal__L.
size;
251 byte[] ____retVal__L__S =
new byte[__retVal__L_size];
252 Marshal.Copy(__retVal__L.
data,____retVal__L__S,0,(
int)__retVal__L_size);
253 return ____retVal__L__S;
258 Double __retVal__L = Sq3.Sq3ValueDouble(
hdl);
264 Int32 __retVal__L = Sq3.Sq3ValueInt(
hdl);
270 Int64 __retVal__L = Sq3.Sq3ValueInt64(
hdl);
277 return Marshal.PtrToStringAnsi(__retVal__L.
ptr,(
int)__retVal__L.
len);
282 IntPtr __retVal__L = Sq3.Sq3ValueText(
hdl);
283 return Marshal.PtrToStringAnsi(__retVal__L);
301 MkErrorE errVal = Sq3.Sq3ValueVtabInFirst(
hdl, out ppOut);
309 MkErrorE errVal = Sq3.Sq3ValueVtabInNext(
hdl, out ppOut);
static MkBufferC MkBufferC_ObjNew(IntPtr hdl)
static void Check(IntPtr ctx, MkErrorE err)
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
static object atomObjCreate(Type type, ConstructorInfo ctor, IntPtr obj)
static void atomSelfUnlink(IntPtr self, IntPtr env)
static object atomSelfNull(ConstructorInfo ctor)
static ConstructorInfo getCtor(Type type)
static IntPtr atomSelfCreate(ConstructorInfo ctor, IntPtr obj, IntPtr env)
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS …
static Sq3ValueC Sq3ValueC_ObjNew(IntPtr hdl)
static SQ3_LITE Sq3Lite(MK_MNG mng)
cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
new Sq3ValueC Next()
C#: Sq3ValueC val.Next() → C-API get next instance from linked-list of Sq3ValueS type
new static Sq3ValueC Instances()
C#: [static] Sq3ValueC Sq3ValueC.Instances() → C-API get head-instance from linked-list of Sq3Va...
new Sq3ValueC Prev()
C#: Sq3ValueC val.Prev() → C-API get previous instance from linked-list of Sq3ValueS type
new static Sq3ValueC HandleResolve(Int32 netHdl)
C#: [static] Sq3ValueC Sq3ValueC.HandleResolve(Int32 netHdl) → C-API Handle-Resolve-Slot - retur...
new static Sq3ValueC GetNull()
C#: [static] Sq3ValueC Sq3ValueC.GetNull() → C-API Null-Slot - return a Sq3ValueC typed NULL ins...
Sq3TypeE NumericType()
C#: Sq3TypeE sq3val.NumericType() → C-API Obtaining SQL Values …
int SubType()
C#: int sq3val.SubType() → C-API Finding The Subtype Of SQL Values …
bool NoChange()
C#: bool sq3val.NoChange() → C-API Obtaining SQL Values …
Sq3TextE Encoding()
C#: Sq3TextE sq3val.Encoding() → C-API Report the internal text encoding state of an sqlite3_va...
bool FromBind()
C#: bool sq3val.FromBind() → C-API Obtaining SQL Values …
Sq3TypeE Type()
C#: Sq3TypeE sq3val.Type() → C-API Obtaining SQL Values …
Sq3TextE Bytes()
C#: Sq3TextE sq3val.Bytes() → C-API Obtaining SQL Values …
Sq3ValueC Dup()
C#: [constructor] Sq3ValueC sq3val.Dup() → C-API Copy And Free SQL Values …
string StringR()
C#: string sq3val.StringR() → C-API Obtaining SQL Values …
byte[] BinaryR()
C#: byte[] sq3val.BinaryR() → C-API Obtaining SQL Values …
MkBufferC BUF()
C#: MkBufferC val.BUF() → C-API Obtaining a MkBufferC value…
long Int64()
C#: long sq3val.Int64() → C-API Obtaining SQL Values …
MkBufferC Blob()
C#: MkBufferC sq3val.Blob() → C-API Obtaining SQL Values …
int Int()
C#: int sq3val.Int() → C-API Obtaining SQL Values …
double Double()
C#: double sq3val.Double() → C-API Obtaining SQL Values …
string Text()
C#: string sq3val.Text() → C-API Obtaining SQL Values …
Sq3ValueC VtabInFirst()
C#: Sq3ValueC pVal.VtabInFirst() → C-API Find all elements on the right-hand side of an IN cons...
Sq3ValueC VtabInNext()
C#: Sq3ValueC pVal.VtabInNext() → C-API Find all elements on the right-hand side of an IN const...
Sq3TextE
→ C-API: Sq3TextE → C-API: Sq3TextE
Sq3TypeE
→ C-API: Sq3TypeE → C-API: Sq3TypeE