theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3BlobC_CC_API

Sq3BlobC - the class known as sq3blob or Blob define by Sq3BlobSMore...

+ Collaboration diagram for Sq3BlobC_CC_API:

Topics

 Sq3BlobC_Class_CC_API
 Sq3BlobC - define the class …
 
 Sq3BlobC_TOR_CC_API
 Sq3BlobC - various functions to create, initialize and destroy …
 
 Sq3BlobC_Misc_CC_API
 Sq3BlobC - various functions to perform misc operations …
 

Classes

struct  ccsq3lite::Sq3BlobC_A
 Struct to represent the data of the Sq3BlobC … → C-API: libsq3lite::Sq3BlobS More...
 
class  ccsq3lite::Sq3BlobC
 Struct to represent the data of the Sq3BlobC … → C-API: libsq3lite::Sq3BlobS More...
 

Functions

 ccsq3lite::Sq3BlobC::Sq3BlobC (SQ3_BLOB hdl)
 
static Sq3BlobCccsq3lite::Sq3BlobC::Sq3BlobC_ObjNew (MK_RT_ARGS SQ3_BLOB hdl)
 return Sq3BlobC from LibMsgqueObject
 
SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB () const
 return the LibMsgqueObject from current Sq3BlobC instance
 
SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow () const
 return the LibMsgqueObject from current Sq3BlobC instance
 
SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN () const
 (const) return the LibMsgqueObject from current Sq3BlobC instance
 
SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow () const
 (const) return the LibMsgqueObject from current Sq3BlobC instance
 
static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB (Sq3BlobC *clsHdl)
 return LibMsgqueObject from current Sq3BlobC pointer
 
static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow (Sq3BlobC *clsHdl)
 return LibMsgqueObject from current Sq3BlobC pointer
 
static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN (const Sq3BlobC *clsHdl)
 (const) return LibMsgqueObject from current Sq3BlobC pointer
 
static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow (const Sq3BlobC *clsHdl)
 (const) return LibMsgqueObject from current Sq3BlobC pointer
 
static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB (const Sq3BlobC &clsHdl)
 return LibMsgqueObject from current Sq3BlobC reference
 
static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow (const Sq3BlobC &clsHdl)
 return LibMsgqueObject from current Sq3BlobC reference
 
static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN (const Sq3BlobC &clsHdl)
 (const) return LibMsgqueObject from current Sq3BlobC reference
 
static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow (const Sq3BlobC &clsHdl)
 (const) return LibMsgqueObject from current Sq3BlobC reference
 
bool ccsq3lite::Sq3BlobC::Check () const
 check if pointer is still valid
 

Variables

static thread_local Sq3BlobC ccsq3lite::Sq3BlobC::MK_NULL_REF = {(MK_OBJ)0}
 

Detailed Description

Sq3BlobC - the class known as sq3blob or Blob define by Sq3BlobS

Struct to represent the data of the Sq3BlobC

A Handle To An Open BLOB …

An instance of this object represents an open BLOB on which incremental BLOB I/O can be performed. Objects of this type are created by Sq3BlobOpen () and destroyed by Sq3BlobClose (). The Sq3BlobRead () and Sq3BlobWrite () interfaces can be used to read or write small subsections of the BLOB. The Sq3BlobBytes () interface returns the size of the BLOB in bytes.

Reference code from sqlite3:

typedef struct sqlite3_blob sqlite3_blob;

Function Documentation

◆ Check()

bool ccsq3lite::Sq3BlobC::Check ( ) const
inline

check if pointer is still valid

Definition at line 152 of file Sq3BlobC_cc.hh.

152 {
153 return (hdl && Sq3BlobCheck(hdl));
154 };
static bool Sq3BlobCheck(MK_MNGN mng)
check Sq3BlobS -> libmkkernel::MkObjectS::signature …

◆ getBLOB() [1/3]

SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB ( ) const
inline

return the LibMsgqueObject from current Sq3BlobC instance

Definition at line 84 of file Sq3BlobC_cc.hh.

84 {
85 SQ3_BLOB ret = reinterpret_cast<SQ3_BLOB>(hdl);
86 if (unlikely(ret == NULL)) InstHdlIsNullError();
87 return ret;
88 };
#define unlikely(x)
struct Sq3BlobS * SQ3_BLOB
class-shortcut for struct Sq3BlobS *, all shortcut using the XX_YYY syntax (only for public API) …
+ Here is the caller graph for this function:

◆ getBLOB() [2/3]

static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB ( const Sq3BlobC & clsHdl)
inlinestatic

return LibMsgqueObject from current Sq3BlobC reference

Definition at line 132 of file Sq3BlobC_cc.hh.

132 {
133 return clsHdl.getBLOB();
134 };

◆ getBLOB() [3/3]

static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB ( Sq3BlobC * clsHdl)
inlinestatic

return LibMsgqueObject from current Sq3BlobC pointer

Definition at line 108 of file Sq3BlobC_cc.hh.

108 {
109 SQ3_BLOB ret = clsHdl ? reinterpret_cast<SQ3_BLOB>(clsHdl->hdl) : NULL;
110 if (unlikely(ret == NULL)) ClassHdlIsNullError(Sq3BlobC);
111 return ret;
112 };

◆ getBLOB__null_allow() [1/3]

SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow ( ) const
inline

return the LibMsgqueObject from current Sq3BlobC instance

Definition at line 91 of file Sq3BlobC_cc.hh.

91 {
92 return reinterpret_cast<SQ3_BLOB>(hdl);
93 };
+ Here is the caller graph for this function:

◆ getBLOB__null_allow() [2/3]

static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow ( const Sq3BlobC & clsHdl)
inlinestatic

return LibMsgqueObject from current Sq3BlobC reference

Definition at line 137 of file Sq3BlobC_cc.hh.

137 {
138 return clsHdl.getBLOB__null_allow();
139 };

◆ getBLOB__null_allow() [3/3]

static SQ3_BLOB ccsq3lite::Sq3BlobC::getBLOB__null_allow ( Sq3BlobC * clsHdl)
inlinestatic

return LibMsgqueObject from current Sq3BlobC pointer

Definition at line 115 of file Sq3BlobC_cc.hh.

115 {
116 return clsHdl ? reinterpret_cast<SQ3_BLOB>(clsHdl->hdl) : NULL;
117 };

◆ getBLOBN() [1/3]

SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN ( ) const
inline

(const) return the LibMsgqueObject from current Sq3BlobC instance

Definition at line 96 of file Sq3BlobC_cc.hh.

96 {
97 SQ3_BLOBN ret = reinterpret_cast<SQ3_BLOBN>(hdl);
98 if (unlikely(ret == NULL)) InstHdlIsNullError();
99 return ret;
100 };
const struct Sq3BlobS * SQ3_BLOBN
class-shortcut for const struct Sq3BlobS *, all const shortcut using the XX_YYYC syntax (only for pub...
+ Here is the caller graph for this function:

◆ getBLOBN() [2/3]

static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN ( const Sq3BlobC & clsHdl)
inlinestatic

(const) return LibMsgqueObject from current Sq3BlobC reference

Definition at line 142 of file Sq3BlobC_cc.hh.

142 {
143 return clsHdl.getBLOBN();
144 };

◆ getBLOBN() [3/3]

static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN ( const Sq3BlobC * clsHdl)
inlinestatic

(const) return LibMsgqueObject from current Sq3BlobC pointer

Definition at line 120 of file Sq3BlobC_cc.hh.

120 {
121 SQ3_BLOBN ret = clsHdl ? reinterpret_cast<SQ3_BLOBN>(clsHdl->hdl) : NULL;
122 if (unlikely(ret == NULL)) ClassHdlIsNullError(Sq3BlobC);
123 return ret;
124 };

◆ getBLOBN__null_allow() [1/3]

SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow ( ) const
inline

(const) return the LibMsgqueObject from current Sq3BlobC instance

Definition at line 103 of file Sq3BlobC_cc.hh.

103 {
104 return reinterpret_cast<SQ3_BLOBN>(hdl);
105 };
+ Here is the caller graph for this function:

◆ getBLOBN__null_allow() [2/3]

static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow ( const Sq3BlobC & clsHdl)
inlinestatic

(const) return LibMsgqueObject from current Sq3BlobC reference

Definition at line 147 of file Sq3BlobC_cc.hh.

147 {
148 return clsHdl.getBLOBN__null_allow();
149 };

◆ getBLOBN__null_allow() [3/3]

static SQ3_BLOBN ccsq3lite::Sq3BlobC::getBLOBN__null_allow ( const Sq3BlobC * clsHdl)
inlinestatic

(const) return LibMsgqueObject from current Sq3BlobC pointer

Definition at line 127 of file Sq3BlobC_cc.hh.

127 {
128 return clsHdl ? reinterpret_cast<SQ3_BLOBN>(clsHdl->hdl) : NULL;
129 };

◆ Sq3BlobC()

ccsq3lite::Sq3BlobC::Sq3BlobC ( SQ3_BLOB hdl)
inline

Definition at line 75 of file Sq3BlobC_cc.hh.

#define Sq3BlobC_X2obj(x)

◆ Sq3BlobC_ObjNew()

static Sq3BlobC * ccsq3lite::Sq3BlobC::Sq3BlobC_ObjNew ( MK_RT_ARGS SQ3_BLOB hdl)
inlinestatic

return Sq3BlobC from LibMsgqueObject

Definition at line 79 of file Sq3BlobC_cc.hh.

79 {
80 return (hdl ? static_cast<Sq3BlobC*>(MkObjectC::atomObjNew(MK_RT_CALL Sq3BlobC_X2obj(hdl))) : &MK_NULL_REF);
81 }
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
#define MK_RT_CALL
static thread_local Sq3BlobC MK_NULL_REF
+ Here is the caller graph for this function:

Variable Documentation

◆ MK_NULL_REF

thread_local Sq3BlobC ccsq3lite::Sq3BlobC::MK_NULL_REF = {(MK_OBJ)0}
static

Definition at line 36 of file Sq3BlobC_cc.hh.