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_load_proxy_t< IsGlobal > Struct Template Reference

Proxy to implement loads from a buffer. More...

#include <WasmUtil.hpp>

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

Public Member Functions

 buffer_load_proxy_t (const buffer_load_proxy_t &)=delete
 
 buffer_load_proxy_t (buffer_load_proxy_t &&)=default
 
buffer_load_proxy_toperator= (buffer_load_proxy_t &&)=default
 
const Schemavalue_schema () const
 Returns the value entries to load.
 
const Schemaaddr_schema () const
 Returns the address entries to load.
 
void operator() (U32x1 tuple_id)
 Loads tuple with ID tuple_id into the current environment.
 

Private Member Functions

 buffer_load_proxy_t (const Buffer< IsGlobal > &buffer, const Schema &value_schema, const Schema &addr_schema)
 

Private Attributes

std::reference_wrapper< const Buffer< IsGlobal > > buffer_
 buffer to load from
 
std::reference_wrapper< const Schemavalue_schema_
 value entries to load
 
std::reference_wrapper< const Schemaaddr_schema_
 address entries to load
 

Friends

struct Buffer< IsGlobal >
 

Detailed Description

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

Proxy to implement loads from a buffer.

Definition at line 1206 of file WasmUtil.hpp.

Constructor & Destructor Documentation

◆ buffer_load_proxy_t() [1/3]

template<bool IsGlobal>
m::wasm::buffer_load_proxy_t< IsGlobal >::buffer_load_proxy_t ( const Buffer< IsGlobal > &  buffer,
const Schema value_schema,
const Schema addr_schema 
)
inlineprivate

Definition at line 1215 of file WasmUtil.hpp.

◆ buffer_load_proxy_t() [2/3]

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

◆ buffer_load_proxy_t() [3/3]

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

Member Function Documentation

◆ addr_schema()

template<bool IsGlobal>
const Schema & m::wasm::buffer_load_proxy_t< IsGlobal >::addr_schema ( ) const
inline

Returns the address entries to load.

Definition at line 1230 of file WasmUtil.hpp.

References m::wasm::buffer_load_proxy_t< IsGlobal >::addr_schema_.

◆ operator()()

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

Loads tuple with ID tuple_id into the current environment.

Definition at line 1233 of file WasmUtil.hpp.

◆ operator=()

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

◆ value_schema()

template<bool IsGlobal>
const Schema & m::wasm::buffer_load_proxy_t< IsGlobal >::value_schema ( ) const
inline

Returns the value entries to load.

Definition at line 1228 of file WasmUtil.hpp.

References m::wasm::buffer_load_proxy_t< IsGlobal >::value_schema_.

Friends And Related Function Documentation

◆ Buffer< IsGlobal >

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

Definition at line 1193 of file WasmUtil.hpp.

Field Documentation

◆ addr_schema_

template<bool IsGlobal>
std::reference_wrapper<const Schema> m::wasm::buffer_load_proxy_t< IsGlobal >::addr_schema_
private

address entries to load

Definition at line 1213 of file WasmUtil.hpp.

Referenced by m::wasm::buffer_load_proxy_t< IsGlobal >::addr_schema().

◆ buffer_

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

buffer to load from

Definition at line 1211 of file WasmUtil.hpp.

◆ value_schema_

template<bool IsGlobal>
std::reference_wrapper<const Schema> m::wasm::buffer_load_proxy_t< IsGlobal >::value_schema_
private

value entries to load

Definition at line 1212 of file WasmUtil.hpp.

Referenced by m::wasm::buffer_load_proxy_t< IsGlobal >::value_schema().


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