mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | Friends
m::wasm::buffer_store_proxy_t< IsGlobal > Struct Template Reference

Proxy to implement stores to a buffer. More...

#include <WasmUtil.hpp>

Collaboration diagram for m::wasm::buffer_store_proxy_t< IsGlobal >:
[legend]

Public Member Functions

 buffer_store_proxy_t (const buffer_store_proxy_t &)=delete
 
 buffer_store_proxy_t (buffer_store_proxy_t &&)=default
 
buffer_store_proxy_toperator= (buffer_store_proxy_t &&)=default
 
const Schemaschema () const
 Returns the entries to store.
 
void operator() (U32x1 tuple_id)
 Stores values from the current environment to tuple with ID tuple_id.
 

Private Member Functions

 buffer_store_proxy_t (const Buffer< IsGlobal > &buffer, const Schema &schema)
 

Private Attributes

std::reference_wrapper< const Buffer< IsGlobal > > buffer_
 buffer to store to
 
std::reference_wrapper< const Schemaschema_
 entries to store
 

Friends

struct Buffer< IsGlobal >
 

Detailed Description

template<bool IsGlobal>
struct m::wasm::buffer_store_proxy_t< IsGlobal >

Proxy to implement stores to a buffer.

Definition at line 1242 of file WasmUtil.hpp.

Constructor & Destructor Documentation

◆ buffer_store_proxy_t() [1/3]

template<bool IsGlobal>
m::wasm::buffer_store_proxy_t< IsGlobal >::buffer_store_proxy_t ( const Buffer< IsGlobal > &  buffer,
const Schema schema 
)
inlineprivate

Definition at line 1250 of file WasmUtil.hpp.

◆ buffer_store_proxy_t() [2/3]

template<bool IsGlobal>
m::wasm::buffer_store_proxy_t< IsGlobal >::buffer_store_proxy_t ( const buffer_store_proxy_t< IsGlobal > &  )
delete

◆ buffer_store_proxy_t() [3/3]

template<bool IsGlobal>
m::wasm::buffer_store_proxy_t< IsGlobal >::buffer_store_proxy_t ( buffer_store_proxy_t< IsGlobal > &&  )
default

Member Function Documentation

◆ operator()()

template<bool IsGlobal>
void m::wasm::buffer_store_proxy_t< IsGlobal >::operator() ( U32x1  tuple_id)
inline

Stores values from the current environment to tuple with ID tuple_id.

Definition at line 1265 of file WasmUtil.hpp.

◆ operator=()

template<bool IsGlobal>
buffer_store_proxy_t & m::wasm::buffer_store_proxy_t< IsGlobal >::operator= ( buffer_store_proxy_t< IsGlobal > &&  )
default

◆ schema()

template<bool IsGlobal>
const Schema & m::wasm::buffer_store_proxy_t< IsGlobal >::schema ( ) const
inline

Returns the entries to store.

Definition at line 1262 of file WasmUtil.hpp.

References m::wasm::buffer_store_proxy_t< IsGlobal >::schema_.

Friends And Related Function Documentation

◆ Buffer< IsGlobal >

template<bool IsGlobal>
friend struct Buffer< IsGlobal >
friend

Definition at line 1233 of file WasmUtil.hpp.

Field Documentation

◆ buffer_

template<bool IsGlobal>
std::reference_wrapper<const Buffer<IsGlobal> > m::wasm::buffer_store_proxy_t< IsGlobal >::buffer_
private

buffer to store to

Definition at line 1247 of file WasmUtil.hpp.

◆ schema_

template<bool IsGlobal>
std::reference_wrapper<const Schema> m::wasm::buffer_store_proxy_t< IsGlobal >::schema_
private

entries to store

Definition at line 1248 of file WasmUtil.hpp.

Referenced by m::wasm::buffer_store_proxy_t< IsGlobal >::schema().


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