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

Sq3FileC - the class known as sq3file or File defined by Sq3FileSMore...

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

Public Member Functions

new Sq3FileC Next ()
  C#: Sq3FileC file.Next() C-API
get next instance from linked-list of Sq3FileS type
 
new Sq3FileC Prev ()
  C#: Sq3FileC file.Prev() C-API
get previous instance from linked-list of Sq3FileS type
 
- 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 Sq3FileC Sq3FileC_ObjNew (IntPtr hdl)
 
new static Sq3FileC HandleResolve (Int32 netHdl)
  C#: [static] Sq3FileC Sq3FileC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a Sq3FileC from netHdl or null if invalid…
 
new static Sq3FileC Instances ()
  C#: [static] Sq3FileC Sq3FileC.Instances() C-API
get head-instance from linked-list of Sq3FileS type …
 
new static Sq3FileC GetNull ()
  C#: [static] Sq3FileC Sq3FileC.GetNull() C-API
Null-Slot - return a Sq3FileC typed NULL instance …
 
static Sq3FileC DatabaseObject (string X)
  C#: [constructor,static] Sq3FileC Sq3FileC.DatabaseObject(string X) C-API
Database File Corresponding To A Journal …
 
- 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

Sq3FileC - the class known as sq3file or File defined by Sq3FileS

Struct to represent the data of the Sq3FileC

OS Interface Open File Handle …

An Sq3FileC object represents an open file in the OS interface layer. Individual OS interface implementations will want to subclass this object by appending additional fields for their own use. The pMethods entry is a pointer to an sqlite3_io_methods object that defines methods for performing I/O operations on the open file.

Reference code from sqlite3:

typedef struct sqlite3_file sqlite3_file;
struct sqlite3_file {
const struct sqlite3_io_methods *pMethods; // Methods for an open file
};

Definition at line 148 of file Sq3FileC_cs.cs.

Member Function Documentation

◆ Sq3FileC_ObjNew()

static Sq3FileC cssq3lite.Sq3FileC.Sq3FileC_ObjNew ( IntPtr hdl)
inlinestatic

Definition at line 38 of file Sq3FileC_cs.cs.

38 {
39 return hdl != IntPtr.Zero ? (Sq3FileC) atomObjNew(typeof(Sq3FileC), 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: