Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Functions | Variables
print_to_stream.inl File Reference
#include "preprocessor.hpp"
#include "array.hpp"
#include "date_time.hpp"
#include "print_to_stream.hpp"
#include "source_region.hpp"
#include "table.hpp"
#include "toml_formatter.hpp"
#include "value.hpp"
#include <ostream>
#include <sstream>
#include <iomanip>
#include "header_start.hpp"
#include "header_end.hpp"
Include dependency graph for print_to_stream.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
TOML_INTERNAL_LINKAGE void print_integer_to_stream (std::ostream &stream, T val, value_flags format={}, size_t min_digits=0)
 
template<typename T >
TOML_INTERNAL_LINKAGE void print_floating_point_to_stream (std::ostream &stream, T val, value_flags format, bool relaxed_precision)
 

Variables

 TOML_DISABLE_WARNINGS
 
 TOML_ENABLE_WARNINGS
 
 TOML_ANON_NAMESPACE_START
 
template<>
constexpr size_t charconv_buffer_length< int8_t > = 4
 
template<>
constexpr size_t charconv_buffer_length< int16_t > = 6
 
template<>
constexpr size_t charconv_buffer_length< int32_t > = 11
 
template<>
constexpr size_t charconv_buffer_length< int64_t > = 20
 
template<>
constexpr size_t charconv_buffer_length< uint8_t > = 3
 
template<>
constexpr size_t charconv_buffer_length< uint16_t > = 5
 
template<>
constexpr size_t charconv_buffer_length< uint32_t > = 10
 
template<>
constexpr size_t charconv_buffer_length< uint64_t > = 20
 
template<>
constexpr size_t charconv_buffer_length< float > = 64
 
template<>
constexpr size_t charconv_buffer_length< double > = 64
 
 TOML_ANON_NAMESPACE_END
 
 TOML_IMPL_NAMESPACE_START
 

Function Documentation

◆ print_floating_point_to_stream()

template<typename T >
TOML_INTERNAL_LINKAGE void print_floating_point_to_stream ( std::ostream &  stream,
T  val,
value_flags  format,
bool  relaxed_precision 
)

Definition at line 150 of file print_to_stream.inl.

◆ print_integer_to_stream()

template<typename T >
TOML_INTERNAL_LINKAGE void print_integer_to_stream ( std::ostream &  stream,
T  val,
value_flags  format = {},
size_t  min_digits = 0 
)

Definition at line 70 of file print_to_stream.inl.

Variable Documentation

◆ charconv_buffer_length< double >

template<>
constexpr size_t charconv_buffer_length< double > = 64
inlineconstexpr

Definition at line 67 of file print_to_stream.inl.

◆ charconv_buffer_length< float >

template<>
constexpr size_t charconv_buffer_length< float > = 64
inlineconstexpr

Definition at line 64 of file print_to_stream.inl.

◆ charconv_buffer_length< int16_t >

template<>
constexpr size_t charconv_buffer_length< int16_t > = 6
inlineconstexpr

Definition at line 43 of file print_to_stream.inl.

◆ charconv_buffer_length< int32_t >

template<>
constexpr size_t charconv_buffer_length< int32_t > = 11
inlineconstexpr

Definition at line 46 of file print_to_stream.inl.

◆ charconv_buffer_length< int64_t >

template<>
constexpr size_t charconv_buffer_length< int64_t > = 20
inlineconstexpr

Definition at line 49 of file print_to_stream.inl.

◆ charconv_buffer_length< int8_t >

template<>
constexpr size_t charconv_buffer_length< int8_t > = 4
inlineconstexpr

Definition at line 40 of file print_to_stream.inl.

◆ charconv_buffer_length< uint16_t >

template<>
constexpr size_t charconv_buffer_length< uint16_t > = 5
inlineconstexpr

Definition at line 55 of file print_to_stream.inl.

◆ charconv_buffer_length< uint32_t >

template<>
constexpr size_t charconv_buffer_length< uint32_t > = 10
inlineconstexpr

Definition at line 58 of file print_to_stream.inl.

◆ charconv_buffer_length< uint64_t >

template<>
constexpr size_t charconv_buffer_length< uint64_t > = 20
inlineconstexpr

Definition at line 61 of file print_to_stream.inl.

◆ charconv_buffer_length< uint8_t >

template<>
constexpr size_t charconv_buffer_length< uint8_t > = 3
inlineconstexpr

Definition at line 52 of file print_to_stream.inl.

◆ TOML_ANON_NAMESPACE_END

TOML_ANON_NAMESPACE_END

Definition at line 210 of file print_to_stream.inl.

◆ TOML_ANON_NAMESPACE_START

TOML_ANON_NAMESPACE_START
Initial value:
{
template <typename T>
inline constexpr size_t charconv_buffer_length = 0

Definition at line 35 of file print_to_stream.inl.

◆ TOML_DISABLE_WARNINGS

TOML_DISABLE_WARNINGS

Definition at line 21 of file print_to_stream.inl.

◆ TOML_ENABLE_WARNINGS

TOML_ENABLE_WARNINGS

Definition at line 32 of file print_to_stream.inl.

◆ TOML_IMPL_NAMESPACE_START

TOML_IMPL_NAMESPACE_START

Definition at line 212 of file print_to_stream.inl.