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

#include <toml.hpp>

Collaboration diagram for TOML_PARSE_ERROR_BASE:
[legend]

Public Member Functions

TOML_NODISCARD_CTOR parse_error (std::string &&desc, source_region &&src) noexcept
TOML_NODISCARD_CTOR parse_error (std::string &&desc, const source_region &src) noexcept
TOML_NODISCARD_CTOR parse_error (std::string &&desc, const source_position &position, const source_path_ptr &path={}) noexcept
TOML_NODISCARD std::string_view description () const noexcept
TOML_NODISCARD const source_region & source () const noexcept

Private Attributes

std::string description_
source_region source_

Friends

std::ostream & operator<< (std::ostream &lhs, const parse_error &rhs)

Detailed Description

Definition at line 9070 of file toml.hpp.

Member Function Documentation

◆ description()

TOML_NODISCARD std::string_view TOML_PARSE_ERROR_BASE::description ( ) const
inlinenoexcept

Definition at line 9121 of file toml.hpp.

References description_.

◆ parse_error() [1/3]

TOML_NODISCARD_CTOR TOML_PARSE_ERROR_BASE::parse_error ( std::string && desc,
const source_position & position,
const source_path_ptr & path = {} )
inlinenoexcept

Definition at line 9114 of file toml.hpp.

◆ parse_error() [2/3]

TOML_NODISCARD_CTOR TOML_PARSE_ERROR_BASE::parse_error ( std::string && desc,
const source_region & src )
inlinenoexcept

Definition at line 9109 of file toml.hpp.

References parse_error().

◆ parse_error() [3/3]

TOML_NODISCARD_CTOR TOML_PARSE_ERROR_BASE::parse_error ( std::string && desc,
source_region && src )
inlinenoexcept

Definition at line 9103 of file toml.hpp.

References description_.

Referenced by operator<<, and parse_error().

◆ source()

TOML_NODISCARD const source_region & TOML_PARSE_ERROR_BASE::source ( ) const
inlinenoexcept

Definition at line 9131 of file toml.hpp.

References source_.

◆ operator<<

std::ostream & operator<< ( std::ostream & lhs,
const parse_error & rhs )
friend

Definition at line 9136 of file toml.hpp.

References parse_error(), and rhs.

Member Data Documentation

◆ description_

std::string TOML_PARSE_ERROR_BASE::description_
private

Definition at line 9074 of file toml.hpp.

Referenced by description(), and parse_error().

◆ source_

source_region TOML_PARSE_ERROR_BASE::source_
private

Definition at line 9076 of file toml.hpp.

Referenced by source().


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