STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
utf8_byte_stream< std::istream > Class Reference

#include <toml.hpp>

Collaboration diagram for utf8_byte_stream< std::istream >:
[legend]

Public Member Functions

TOML_NODISCARD_CTOR utf8_byte_stream (std::istream &stream) noexcept(!TOML_COMPILER_HAS_EXCEPTIONS)
TOML_PURE_INLINE_GETTER bool error () const noexcept
TOML_PURE_INLINE_GETTER bool eof () const noexcept
TOML_PURE_INLINE_GETTER operator bool () const noexcept
TOML_NODISCARD bool peek_eof () const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS)
TOML_NODISCARD size_t operator() (void *dest, size_t num) noexcept(!TOML_COMPILER_HAS_EXCEPTIONS)

Private Attributes

std::istream * source_

Detailed Description

Definition at line 12557 of file toml.hpp.

Constructor & Destructor Documentation

◆ utf8_byte_stream()

TOML_NODISCARD_CTOR utf8_byte_stream< std::istream >::utf8_byte_stream ( std::istream & stream)
inlineexplicitnoexcept

Definition at line 12564 of file toml.hpp.

References source_, TOML_COMPILER_HAS_EXCEPTIONS, and utf8_byte_order_mark.

Member Function Documentation

◆ eof()

TOML_PURE_INLINE_GETTER bool utf8_byte_stream< std::istream >::eof ( ) const
inlinenoexcept

Definition at line 12587 of file toml.hpp.

References source_.

Referenced by peek_eof().

◆ error()

TOML_PURE_INLINE_GETTER bool utf8_byte_stream< std::istream >::error ( ) const
inlinenoexcept

Definition at line 12581 of file toml.hpp.

References source_.

◆ operator bool()

TOML_PURE_INLINE_GETTER utf8_byte_stream< std::istream >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 12593 of file toml.hpp.

References source_.

◆ operator()()

TOML_NODISCARD size_t utf8_byte_stream< std::istream >::operator() ( void * dest,
size_t num )
inlinenoexcept

Definition at line 12606 of file toml.hpp.

References source_, TOML_ASSERT, and TOML_COMPILER_HAS_EXCEPTIONS.

◆ peek_eof()

TOML_NODISCARD bool utf8_byte_stream< std::istream >::peek_eof ( ) const
inlinenoexcept

Definition at line 12599 of file toml.hpp.

References eof(), source_, and TOML_COMPILER_HAS_EXCEPTIONS.

Member Data Documentation

◆ source_

std::istream* utf8_byte_stream< std::istream >::source_
private

Definition at line 12560 of file toml.hpp.

Referenced by eof(), error(), operator bool(), operator()(), peek_eof(), and utf8_byte_stream().


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