cpptoml
A C++11 parser for TOML
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
toml_test_writer Class Reference

A visitor for toml objects that writes to an output stream in the JSON format that the toml-test suite expects. More...

Public Member Functions

 toml_test_writer (std::ostream &s)
 
void visit (const cpptoml::value< std::string > &v)
 
void visit (const cpptoml::value< int64_t > &v)
 
void visit (const cpptoml::value< double > &v)
 
void visit (const cpptoml::value< cpptoml::local_date > &v)
 
void visit (const cpptoml::value< cpptoml::local_time > &v)
 
void visit (const cpptoml::value< cpptoml::local_datetime > &v)
 
void visit (const cpptoml::value< cpptoml::offset_datetime > &v)
 
void visit (const cpptoml::value< bool > &v)
 
void visit (const cpptoml::array &arr)
 
void visit (const cpptoml::table_array &tarr)
 
void visit (const cpptoml::table &t)
 

Private Attributes

std::ostream & stream_
 

Detailed Description

A visitor for toml objects that writes to an output stream in the JSON format that the toml-test suite expects.


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