Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
nlohmann::detail::output_adapter< CharType, StringType > Class Template Reference

#include <json.hpp>

Public Member Functions

 output_adapter (std::vector< CharType > &vec)
 
 output_adapter (std::basic_ostream< CharType > &s)
 
 output_adapter (StringType &s)
 
 operator output_adapter_t< CharType > ()
 

Private Attributes

output_adapter_t< CharType > oa = nullptr
 

Detailed Description

template<typename CharType, typename StringType = std::basic_string<CharType>>
class nlohmann::detail::output_adapter< CharType, StringType >

Definition at line 6306 of file json.hpp.

Constructor & Destructor Documentation

template<typename CharType, typename StringType = std::basic_string<CharType>>
nlohmann::detail::output_adapter< CharType, StringType >::output_adapter ( std::vector< CharType > &  vec)
inline

Definition at line 6309 of file json.hpp.

6310  : oa(std::make_shared<output_vector_adapter<CharType>>(vec)) {}
output_adapter_t< CharType > oa
Definition: json.hpp:6324
template<typename CharType, typename StringType = std::basic_string<CharType>>
nlohmann::detail::output_adapter< CharType, StringType >::output_adapter ( std::basic_ostream< CharType > &  s)
inline

Definition at line 6312 of file json.hpp.

6313  : oa(std::make_shared<output_stream_adapter<CharType>>(s)) {}
output_adapter_t< CharType > oa
Definition: json.hpp:6324
template<typename CharType, typename StringType = std::basic_string<CharType>>
nlohmann::detail::output_adapter< CharType, StringType >::output_adapter ( StringType &  s)
inline

Definition at line 6315 of file json.hpp.

6316  : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
output_adapter_t< CharType > oa
Definition: json.hpp:6324

Member Function Documentation

template<typename CharType, typename StringType = std::basic_string<CharType>>
nlohmann::detail::output_adapter< CharType, StringType >::operator output_adapter_t< CharType > ( )
inline

Definition at line 6318 of file json.hpp.

6319  {
6320  return oa;
6321  }
output_adapter_t< CharType > oa
Definition: json.hpp:6324

Member Data Documentation

template<typename CharType, typename StringType = std::basic_string<CharType>>
output_adapter_t<CharType> nlohmann::detail::output_adapter< CharType, StringType >::oa = nullptr
private

Definition at line 6324 of file json.hpp.


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