Platform.Data.Doublets C++
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
Platform::Data::Doublets::Ffi Namespace Reference

Classes

struct  FfiConstants
 
class  Links
 
class  LinksBase
 
struct  stopper
 

Typedefs

template<typename LinkAddressType >
using CUDCallback = LinkAddressType(*)(Link< LinkAddressType > before, Link< LinkAddressType > after)
 
template<typename LinkAddressType >
using EachCallback = LinkAddressType(*)(Link< LinkAddressType >)
 

Functions

template<typename TReturn , typename Signature , typename... TArgs>
TReturn call_last_global (TArgs... args)
 
template<typename Signature >
void set_global (std::function< Signature > function)
 
void * ByteLinks_New (const char *path)
 
void * UInt16Links_New (const char *path)
 
void * UInt32Links_New (const char *path)
 
void * UInt64Links_New (const char *path)
 
void ByteLinks_Drop (void *this_)
 
void UInt16Links_Drop (void *this_)
 
void UInt32Links_Drop (void *this_)
 
void UInt64Links_Drop (void *this_)
 
FfiConstants< uint8_t > ByteLinks_GetConstants (void *this_)
 
FfiConstants< uint16_t > UInt16Links_GetConstants (void *this_)
 
FfiConstants< uint32_t > UInt32Links_GetConstants (void *this_)
 
FfiConstants< uint64_t > UInt64Links_GetConstants (void *this_)
 
uint8_t ByteLinks_Create (void *this_, const uint8_t *query, uintptr_t len, CUDCallback< uint8_t > callback)
 
uint16_t UInt16Links_Create (void *this_, const uint16_t *query, uintptr_t len, CUDCallback< uint16_t > callback)
 
uint32_t UInt32Links_Create (void *this_, const uint32_t *query, uintptr_t len, CUDCallback< uint32_t > callback)
 
uint64_t UInt64Links_Create (void *this_, const uint64_t *query, uintptr_t len, CUDCallback< uint64_t > callback)
 
uint8_t ByteLinks_Each (void *this_, const uint8_t *query, uintptr_t len, EachCallback< uint8_t > callback)
 
uint16_t UInt16Links_Each (void *this_, const uint16_t *query, uintptr_t len, EachCallback< uint16_t > callback)
 
uint32_t UInt32Links_Each (void *this_, const uint32_t *query, uintptr_t len, EachCallback< uint32_t > callback)
 
uint64_t UInt64Links_Each (void *this_, const uint64_t *query, uintptr_t len, EachCallback< uint64_t > callback)
 
uint8_t ByteLinks_Count (void *this_, const uint8_t *query, uintptr_t len)
 
uint16_t UInt16Links_Count (void *this_, const uint16_t *query, uintptr_t len)
 
uint32_t UInt32Links_Count (void *this_, const uint32_t *query, uintptr_t len)
 
uint64_t UInt64Links_Count (void *this_, const uint64_t *query, uintptr_t len)
 
uint8_t ByteLinks_Update (void *this_, const uint8_t *restriction, uintptr_t len_r, const uint8_t *substitution, uintptr_t len_s, CUDCallback< uint8_t > callback)
 
uint16_t UInt16Links_Update (void *this_, const uint16_t *restriction, uintptr_t len_r, const uint16_t *substitution, uintptr_t len_s, CUDCallback< uint16_t > callback)
 
uint32_t UInt32Links_Update (void *this_, const uint32_t *restriction, uintptr_t len_r, const uint32_t *substitution, uintptr_t len_s, CUDCallback< uint32_t > callback)
 
uint64_t UInt64Links_Update (void *this_, const uint64_t *restriction, uintptr_t len_r, const uint64_t *substitution, uintptr_t len_s, CUDCallback< uint64_t > callback)
 
uint8_t ByteLinks_Delete (void *this_, const uint8_t *query, uintptr_t len, CUDCallback< uint8_t > callback)
 
uint16_t UInt16Links_Delete (void *this_, const uint16_t *query, uintptr_t len, CUDCallback< uint16_t > callback)
 
uint32_t UInt32Links_Delete (void *this_, const uint32_t *query, uintptr_t len, CUDCallback< uint32_t > callback)
 
uint64_t UInt64Links_Delete (void *this_, const uint64_t *query, uintptr_t len, CUDCallback< uint64_t > callback)
 
void init_fmt_logger ()
 

Variables

template<typename Signature >
thread_local std::function< Signature > GLOBAL_FUNCTION = nullptr
 

Typedef Documentation

◆ CUDCallback

template<typename LinkAddressType >
using Platform::Data::Doublets::Ffi::CUDCallback = typedef LinkAddressType (*)(Link<LinkAddressType> before, Link<LinkAddressType> after)

◆ EachCallback

template<typename LinkAddressType >
using Platform::Data::Doublets::Ffi::EachCallback = typedef LinkAddressType (*)(Link<LinkAddressType>)

Function Documentation

◆ ByteLinks_Count()

uint8_t Platform::Data::Doublets::Ffi::ByteLinks_Count ( void *  this_,
const uint8_t *  query,
uintptr_t  len 
)

◆ ByteLinks_Create()

uint8_t Platform::Data::Doublets::Ffi::ByteLinks_Create ( void *  this_,
const uint8_t *  query,
uintptr_t  len,
CUDCallback< uint8_t >  callback 
)

◆ ByteLinks_Delete()

uint8_t Platform::Data::Doublets::Ffi::ByteLinks_Delete ( void *  this_,
const uint8_t *  query,
uintptr_t  len,
CUDCallback< uint8_t >  callback 
)

◆ ByteLinks_Drop()

void Platform::Data::Doublets::Ffi::ByteLinks_Drop ( void *  this_)

◆ ByteLinks_Each()

uint8_t Platform::Data::Doublets::Ffi::ByteLinks_Each ( void *  this_,
const uint8_t *  query,
uintptr_t  len,
EachCallback< uint8_t >  callback 
)

◆ ByteLinks_GetConstants()

FfiConstants< uint8_t > Platform::Data::Doublets::Ffi::ByteLinks_GetConstants ( void *  this_)

◆ ByteLinks_New()

void * Platform::Data::Doublets::Ffi::ByteLinks_New ( const char *  path)

◆ ByteLinks_Update()

uint8_t Platform::Data::Doublets::Ffi::ByteLinks_Update ( void *  this_,
const uint8_t *  restriction,
uintptr_t  len_r,
const uint8_t *  substitution,
uintptr_t  len_s,
CUDCallback< uint8_t >  callback 
)

◆ call_last_global()

template<typename TReturn , typename Signature , typename... TArgs>
TReturn Platform::Data::Doublets::Ffi::call_last_global ( TArgs...  args)

◆ init_fmt_logger()

void Platform::Data::Doublets::Ffi::init_fmt_logger ( )

◆ set_global()

template<typename Signature >
void Platform::Data::Doublets::Ffi::set_global ( std::function< Signature >  function)

◆ UInt16Links_Count()

uint16_t Platform::Data::Doublets::Ffi::UInt16Links_Count ( void *  this_,
const uint16_t *  query,
uintptr_t  len 
)

◆ UInt16Links_Create()

uint16_t Platform::Data::Doublets::Ffi::UInt16Links_Create ( void *  this_,
const uint16_t *  query,
uintptr_t  len,
CUDCallback< uint16_t >  callback 
)

◆ UInt16Links_Delete()

uint16_t Platform::Data::Doublets::Ffi::UInt16Links_Delete ( void *  this_,
const uint16_t *  query,
uintptr_t  len,
CUDCallback< uint16_t >  callback 
)

◆ UInt16Links_Drop()

void Platform::Data::Doublets::Ffi::UInt16Links_Drop ( void *  this_)

◆ UInt16Links_Each()

uint16_t Platform::Data::Doublets::Ffi::UInt16Links_Each ( void *  this_,
const uint16_t *  query,
uintptr_t  len,
EachCallback< uint16_t >  callback 
)

◆ UInt16Links_GetConstants()

FfiConstants< uint16_t > Platform::Data::Doublets::Ffi::UInt16Links_GetConstants ( void *  this_)

◆ UInt16Links_New()

void * Platform::Data::Doublets::Ffi::UInt16Links_New ( const char *  path)

◆ UInt16Links_Update()

uint16_t Platform::Data::Doublets::Ffi::UInt16Links_Update ( void *  this_,
const uint16_t *  restriction,
uintptr_t  len_r,
const uint16_t *  substitution,
uintptr_t  len_s,
CUDCallback< uint16_t >  callback 
)

◆ UInt32Links_Count()

uint32_t Platform::Data::Doublets::Ffi::UInt32Links_Count ( void *  this_,
const uint32_t *  query,
uintptr_t  len 
)

◆ UInt32Links_Create()

uint32_t Platform::Data::Doublets::Ffi::UInt32Links_Create ( void *  this_,
const uint32_t *  query,
uintptr_t  len,
CUDCallback< uint32_t >  callback 
)

◆ UInt32Links_Delete()

uint32_t Platform::Data::Doublets::Ffi::UInt32Links_Delete ( void *  this_,
const uint32_t *  query,
uintptr_t  len,
CUDCallback< uint32_t >  callback 
)

◆ UInt32Links_Drop()

void Platform::Data::Doublets::Ffi::UInt32Links_Drop ( void *  this_)

◆ UInt32Links_Each()

uint32_t Platform::Data::Doublets::Ffi::UInt32Links_Each ( void *  this_,
const uint32_t *  query,
uintptr_t  len,
EachCallback< uint32_t >  callback 
)

◆ UInt32Links_GetConstants()

FfiConstants< uint32_t > Platform::Data::Doublets::Ffi::UInt32Links_GetConstants ( void *  this_)

◆ UInt32Links_New()

void * Platform::Data::Doublets::Ffi::UInt32Links_New ( const char *  path)

◆ UInt32Links_Update()

uint32_t Platform::Data::Doublets::Ffi::UInt32Links_Update ( void *  this_,
const uint32_t *  restriction,
uintptr_t  len_r,
const uint32_t *  substitution,
uintptr_t  len_s,
CUDCallback< uint32_t >  callback 
)

◆ UInt64Links_Count()

uint64_t Platform::Data::Doublets::Ffi::UInt64Links_Count ( void *  this_,
const uint64_t *  query,
uintptr_t  len 
)

◆ UInt64Links_Create()

uint64_t Platform::Data::Doublets::Ffi::UInt64Links_Create ( void *  this_,
const uint64_t *  query,
uintptr_t  len,
CUDCallback< uint64_t >  callback 
)

◆ UInt64Links_Delete()

uint64_t Platform::Data::Doublets::Ffi::UInt64Links_Delete ( void *  this_,
const uint64_t *  query,
uintptr_t  len,
CUDCallback< uint64_t >  callback 
)

◆ UInt64Links_Drop()

void Platform::Data::Doublets::Ffi::UInt64Links_Drop ( void *  this_)

◆ UInt64Links_Each()

uint64_t Platform::Data::Doublets::Ffi::UInt64Links_Each ( void *  this_,
const uint64_t *  query,
uintptr_t  len,
EachCallback< uint64_t >  callback 
)

◆ UInt64Links_GetConstants()

FfiConstants< uint64_t > Platform::Data::Doublets::Ffi::UInt64Links_GetConstants ( void *  this_)

◆ UInt64Links_New()

void * Platform::Data::Doublets::Ffi::UInt64Links_New ( const char *  path)

◆ UInt64Links_Update()

uint64_t Platform::Data::Doublets::Ffi::UInt64Links_Update ( void *  this_,
const uint64_t *  restriction,
uintptr_t  len_r,
const uint64_t *  substitution,
uintptr_t  len_s,
CUDCallback< uint64_t >  callback 
)

Variable Documentation

◆ GLOBAL_FUNCTION

template<typename Signature >
thread_local std::function<Signature> Platform::Data::Doublets::Ffi::GLOBAL_FUNCTION = nullptr