STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
error_builder Struct Reference

#include <toml.hpp>

Public Member Functions

TOML_NODISCARD_CTOR error_builder (std::string_view scope) noexcept
template<typename T>
void append (const T &arg) noexcept
TOML_RETURNS_BY_THROWING auto finish (const source_position &pos, const source_path_ptr &source_path) const
 TOML_DELETE_DEFAULTS (error_builder)

Public Attributes

char buf [buf_size]
char * write_pos = buf
char *const max_write_pos = buf + (buf_size - std::size_t{ 1 })

Static Public Attributes

static constexpr std::size_t buf_size = 512

Detailed Description

Definition at line 13245 of file toml.hpp.

Constructor & Destructor Documentation

◆ error_builder()

TOML_NODISCARD_CTOR error_builder::error_builder ( std::string_view scope)
inlinenoexcept

Definition at line 13253 of file toml.hpp.

References concatenate(), max_write_pos, and write_pos.

Referenced by TOML_DELETE_DEFAULTS().

Member Function Documentation

◆ append()

template<typename T>
void error_builder::append ( const T & arg)
inlinenoexcept

Definition at line 13261 of file toml.hpp.

References concatenate(), max_write_pos, and write_pos.

◆ finish()

TOML_RETURNS_BY_THROWING auto error_builder::finish ( const source_position & pos,
const source_path_ptr & source_path ) const
inline

Definition at line 13267 of file toml.hpp.

References buf, and write_pos.

◆ TOML_DELETE_DEFAULTS()

error_builder::TOML_DELETE_DEFAULTS ( error_builder )

References error_builder().

Member Data Documentation

◆ buf

char error_builder::buf[buf_size]

Definition at line 13248 of file toml.hpp.

Referenced by robust_pt_calibration_gui.SerialReader::_resync(), and finish().

◆ buf_size

std::size_t error_builder::buf_size = 512
staticconstexpr

Definition at line 13247 of file toml.hpp.

◆ max_write_pos

char* const error_builder::max_write_pos = buf + (buf_size - std::size_t{ 1 })

Definition at line 13250 of file toml.hpp.

Referenced by append(), and error_builder().

◆ write_pos

char* error_builder::write_pos = buf

Definition at line 13249 of file toml.hpp.

Referenced by append(), error_builder(), and finish().


The documentation for this struct was generated from the following file:
  • daq-server/diablo_server/lib/include/toml++/toml.hpp