Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::vm::memory_dump< Opcode > Class Template Reference

#include <memory_dump.hpp>

Public Member Functions

 memory_dump (Opcode *opcodes, size_t size)
 
template<typename Stream >
void write (Stream &&stream)
 
 memory_dump (Opcode *opcodes, size_t size)
 
template<typename Stream >
void write (Stream &&stream)
 

Detailed Description

template<typename Opcode>
class sysio::vm::memory_dump< Opcode >

Definition at line 82 of file memory_dump.hpp.

Constructor & Destructor Documentation

◆ memory_dump() [1/2]

template<typename Opcode >
sysio::vm::memory_dump< Opcode >::memory_dump ( Opcode * opcodes,
size_t size )
inline

Definition at line 84 of file memory_dump.hpp.

84: _opcodes(opcodes), _size(size) {}

◆ memory_dump() [2/2]

template<typename Opcode >
sysio::vm::memory_dump< Opcode >::memory_dump ( Opcode * opcodes,
size_t size )
inline

Definition at line 84 of file memory_dump.hpp.

84: _opcodes(opcodes), _size(size) {}

Member Function Documentation

◆ write() [1/2]

template<typename Opcode >
template<typename Stream >
void sysio::vm::memory_dump< Opcode >::write ( Stream && stream)
inline

Definition at line 87 of file memory_dump.hpp.

87 {
88 size_t index=0;
89 memory_dump_visitor<Stream> md(std::forward<Stream>(stream), index);
90 for (; index < _size; index++) {
91 sysio::vm::visit(std::move(md), std::move(_opcodes[index]));
92 }
93 }
constexpr auto visit(Visitor &&vis, Variant &&var)
Definition variant.hpp:156
Here is the call graph for this function:

◆ write() [2/2]

template<typename Opcode >
template<typename Stream >
void sysio::vm::memory_dump< Opcode >::write ( Stream && stream)
inline

Definition at line 87 of file memory_dump.hpp.

87 {
88 size_t index=0;
89 memory_dump_visitor<Stream> md(std::forward<Stream>(stream), index);
90 for (; index < _size; index++) {
91 sysio::vm::visit(std::move(md), std::move(_opcodes[index]));
92 }
93 }
Here is the call graph for this function:

The documentation for this class was generated from the following files: