Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
MsgpackSchemaPacker Struct Reference

#include <schema_impl.hpp>

Inheritance diagram for MsgpackSchemaPacker:

Public Member Functions

 MsgpackSchemaPacker (msgpack::sbuffer &stream)
 
bool set_emitted (const std::string &type)
 
void pack_alias (const std::string &schema_name, const std::string &msgpack_name)
 
template<typename T >
void pack_schema (const T &obj)
 
template<typename... Args>
void pack_template_type (const std::string &schema_name)
 
template<msgpack_concepts::HasMsgPack T>
void pack_with_name (const std::string &type, T const &object)
 

Public Attributes

std::set< std::string > emitted_types
 

Detailed Description

Definition at line 24 of file schema_impl.hpp.

Constructor & Destructor Documentation

◆ MsgpackSchemaPacker()

MsgpackSchemaPacker::MsgpackSchemaPacker ( msgpack::sbuffer &  stream)
inline

Definition at line 25 of file schema_impl.hpp.

Member Function Documentation

◆ pack_alias()

void MsgpackSchemaPacker::pack_alias ( const std::string &  schema_name,
const std::string &  msgpack_name 
)
inline

Definition at line 40 of file schema_impl.hpp.

◆ pack_schema()

template<typename T >
void MsgpackSchemaPacker::pack_schema ( const T &  obj)
inline

Definition at line 49 of file schema_impl.hpp.

◆ pack_template_type()

template<typename... Args>
void MsgpackSchemaPacker::pack_template_type ( const std::string &  schema_name)
inline

Definition at line 51 of file schema_impl.hpp.

◆ pack_with_name()

void MsgpackSchemaPacker::pack_with_name ( const std::string &  type,
T const &  object 
)
inline

Definition at line 59 of file schema_impl.hpp.

◆ set_emitted()

bool MsgpackSchemaPacker::set_emitted ( const std::string &  type)
inline

Definition at line 31 of file schema_impl.hpp.

Member Data Documentation

◆ emitted_types

std::set<std::string> MsgpackSchemaPacker::emitted_types

Definition at line 29 of file schema_impl.hpp.


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