theSq3Lite 10.0
Loading...
Searching...
No Matches
cssq3lite.Sq3ValueC Class Reference

Sq3ValueC - the class known as sq3val or Value define by Sq3ValueSMore...

+ Inheritance diagram for cssq3lite.Sq3ValueC:
+ Collaboration diagram for cssq3lite.Sq3ValueC:

Public Member Functions

new Sq3ValueC Next ()
  C#: Sq3ValueC val.Next() C-API
get next instance from linked-list of Sq3ValueS type
 
new Sq3ValueC Prev ()
  C#: Sq3ValueC val.Prev() C-API
get previous instance from linked-list of Sq3ValueS type
 
Sq3TextE Bytes ()
  C#: Sq3TextE sq3val.Bytes() C-API
Obtaining SQL Values …
 
Sq3TextE Encoding ()
  C#: Sq3TextE sq3val.Encoding() C-API
Report the internal text encoding state of an sqlite3_value object …
 
bool FromBind ()
  C#: bool sq3val.FromBind() C-API
Obtaining SQL Values …
 
bool NoChange ()
  C#: bool sq3val.NoChange() C-API
Obtaining SQL Values …
 
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 …
 
Sq3TypeE Type ()
  C#: Sq3TypeE sq3val.Type() C-API
Obtaining SQL Values …
 
Sq3ValueC Dup ()
  C#: [constructor] Sq3ValueC sq3val.Dup() C-API
Copy And Free SQL Values …
 
MkBufferC BUF ()
  C#: MkBufferC val.BUF() C-API
Obtaining a MkBufferC value…
 
MkBufferC Blob ()
  C#: MkBufferC sq3val.Blob() C-API
Obtaining SQL Values …
 
byte[] BinaryR ()
  C#: byte[] sq3val.BinaryR() C-API
Obtaining SQL Values …
 
double Double ()
  C#: double sq3val.Double() C-API
Obtaining SQL Values …
 
int Int ()
  C#: int sq3val.Int() C-API
Obtaining SQL Values …
 
long Int64 ()
  C#: long sq3val.Int64() C-API
Obtaining SQL Values …
 
string StringR ()
  C#: string sq3val.StringR() 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 constraint …
 
Sq3ValueC VtabInNext ()
  C#: Sq3ValueC pVal.VtabInNext() C-API
Find all elements on the right-hand side of an IN constraint …
 
- Public Member Functions inherited from csmkkernel::MkObjectC
delegate void MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl)
 
void ErrorCheck (MkErrorE err)
 
bool Check ()
 
string ToNameOfClass ()
 
void HandleDelete ()
 
bool HandleExists ()
 
Int32 HandleGet ()
 
Int32 HandleGetOfType ()
 
Int32 HandleGetOr0 ()
 
MkObjectC Next ()
 
MkObjectC Prev ()
 
void DbgDump (string message="var",[CallerMemberName]string callfunc=null)
 
void DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void DbgLogC ([CallerMemberName]string callfunc=null)
 
void DbgO ([CallerMemberName]string callfunc=null)
 
void DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null)
 
void LogC (string message, int debug=0,[CallerMemberName]string callfunc=null)
 
void LogHEX (string callfunc, byte[] data)
 
void Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
MkErrorC ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null)
 
MkErrorC ToError ()
 
bool IsNull ()
 
string ToName ()
 
string ToNameOfType ()
 
override string ToString ()
 
int RefGet ()
 
void SysKill (int pid, int signal)
 
int SysGetPid ()
 
void Dispose ()
 
void Delete ()
 

Static Public Member Functions

static Sq3ValueC Sq3ValueC_ObjNew (IntPtr hdl)
 
new static Sq3ValueC HandleResolve (Int32 netHdl)
  C#: [static] Sq3ValueC Sq3ValueC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a Sq3ValueC from netHdl or null if invalid…
 
new static Sq3ValueC Instances ()
  C#: [static] Sq3ValueC Sq3ValueC.Instances() C-API
get head-instance from linked-list of Sq3ValueS type …
 
new static Sq3ValueC GetNull ()
  C#: [static] Sq3ValueC Sq3ValueC.GetNull() C-API
Null-Slot - return a Sq3ValueC typed NULL instance …
 
- Static Public Member Functions inherited from csmkkernel::MkObjectC
static MkObjectC MkObjectC_ObjNew (IntPtr hdl)
 
static IntPtr getOBJ (string cls, MkObjectC obj)
 
static IntPtr getOBJ_null_allow (MkObjectC obj)
 
static MkObjectC HandleResolve (Int32 netHdl)
 
static void HandleDeleteByNetHdl (Int32 netHdl)
 
static MkObjectC Instances ()
 
static MkObjectC GetNull ()
 
static void DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
static int SysHashI32 (string key, int length=-1)
 
static string SysHashSTR (string key, int length=-1)
 
static void DeleteCallbackCleanup (string ident)
 
static void DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null)
 
static int getPId ()
 
static int getTId ()
 
static string getStackTrace (int level=2)
 
static string getCallerProc (int level=2)
 
static int getCallerLine (int level=2)
 
static string getCallerFile (int level=2)
 

Additional Inherited Members

- Protected Member Functions inherited from csmkkernel::MkObjectC
 MkObjectC (IntPtr obj)
 
 MkObjectC ()
 
virtual void Dispose (bool disposing)
 
- Static Protected Member Functions inherited from csmkkernel::MkObjectC
static object atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj)
 
static object atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj)
 
static IntPtr atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env)
 
static object atomSelfNull (ConstructorInfo ctor)
 
static void atomSelfUnlink (IntPtr self, IntPtr env)
 
static ConstructorInfo getCtor (Type type)
 
static string Name (IntPtr mkrt, IntPtr obj)
 
- Protected Attributes inherited from csmkkernel::MkObjectC
IntPtr pmkrt
 
- Properties inherited from csmkkernel::MkObjectC
IntPtr hdl
 
IntPtr hdl_null_allow
 
IntPtr mkrt
 

Detailed Description

Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS

Struct to represent the data of the Sq3ValueC

Dynamically Typed Value Object …

SQLite uses the Sq3ValueC object to represent all values that can be stored in a database table. SQLite uses dynamic typing for the values it stores. Values stored in Sq3ValueC objects can be integers, floating point values, strings, BLOBs, or NULL.

An Sq3ValueC object may be either "protected" or "unprotected". Some interfaces require a protected Sq3ValueC. Other interfaces will accept either a protected or an unprotected Sq3ValueC. Every interface that accepts Sq3ValueC arguments specifies whether or not it requires a protected Sq3ValueC. The Sq3ValueDup () interface can be used to construct a new protected Sq3ValueC from an unprotected Sq3ValueC.

The terms "protected" and "unprotected" refer to whether or not a mutex is held. An internal mutex is held for a protected Sq3ValueC object but no mutex is held for an unprotected Sq3ValueC object. If SQLite is compiled to be single-threaded (with SQLITE_THREADSAFE=0 and with Sq3Threadsafe () returning 0) or if SQLite is run in one of reduced mutex modes SQ3_CONFIG_SINGLETHREAD or SQ3_CONFIG_MULTITHREAD then there is no distinction between protected and unprotected Sq3ValueC objects and they can be used interchangeably. However, for maximum code portability it is recommended that applications still make the distinction between protected and unprotected Sq3ValueC objects even when not strictly required.

The Sq3ValueC objects that are passed as parameters into the implementation of application-defined SQL functions are protected. The Sq3ValueC objects returned by sqlite3_vtab_rhs_value () are protected. The Sq3ValueC object returned by Sq3StmtColumnValue () is unprotected. Unprotected Sq3ValueC objects may only be used as arguments to sqlite3_result_value (), Sq3StmtBindValue (), and Sq3ValueDup (). The sqlite3_value_type() family of interfaces require protected Sq3ValueC objects.

Reference code from sqlite3:

struct sqlite3_value sqlite3_value

Definition at line 290 of file Sq3ValueC_cs.cs.

Member Function Documentation

◆ Sq3ValueC_ObjNew()

static Sq3ValueC cssq3lite.Sq3ValueC.Sq3ValueC_ObjNew ( IntPtr hdl)
inlinestatic

Definition at line 38 of file Sq3ValueC_cs.cs.

38 {
39 return hdl != IntPtr.Zero ? (Sq3ValueC) atomObjNew(typeof(Sq3ValueC), ctor, hdl) : MK_NULL.Value;
40 }
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: