MUQ  0.4.3
nlohmann::detail::output_vector_adapter< CharType > Class Template Reference

output adapter for byte vectors More...

#include <json.h>

Inheritance diagram for nlohmann::detail::output_vector_adapter< CharType >:

Detailed Description

template<typename CharType>
class nlohmann::detail::output_vector_adapter< CharType >

output adapter for byte vectors

Definition at line 12645 of file json.h.

Public Member Functions

 output_vector_adapter (std::vector< CharType > &vec) noexcept
 
void write_character (CharType c) override
 
 JSON_HEDLEY_NON_NULL (2) void write_characters(const CharType *s
 
- Public Member Functions inherited from nlohmann::detail::output_adapter_protocol< CharType >
virtual void write_characters (const CharType *s, std::size_t length)=0
 
virtual ~output_adapter_protocol ()=default
 

Public Attributes

std::size_t length override
 

Constructor & Destructor Documentation

◆ output_vector_adapter()

template<typename CharType >
nlohmann::detail::output_vector_adapter< CharType >::output_vector_adapter ( std::vector< CharType > &  vec)
inlineexplicitnoexcept

Definition at line 12648 of file json.h.

Member Function Documentation

◆ JSON_HEDLEY_NON_NULL()

template<typename CharType >
nlohmann::detail::output_vector_adapter< CharType >::JSON_HEDLEY_NON_NULL ( ) const

◆ write_character()

template<typename CharType >
void nlohmann::detail::output_vector_adapter< CharType >::write_character ( CharType  c)
inlineoverridevirtual

Member Data Documentation

◆ override

template<typename CharType >
std::size_t length nlohmann::detail::output_vector_adapter< CharType >::override
Initial value:
{
std::copy(s, s + length, std::back_inserter(v))
std::vector< CharType > & v
Definition: json.h:12664

Definition at line 12658 of file json.h.

◆ v

template<typename CharType >
std::vector<CharType>& nlohmann::detail::output_vector_adapter< CharType >::v
private

Definition at line 12664 of file json.h.


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