-
+ AC855E14A5DEE59FBA45F922998CF12AA6BB65435AC010FDBD4785F340B5B5157D4E964F1032DCCF7540B79C5A767082C7E97D15E43348DD28E07BF87A5A47CA
bitcoin/src/json/json_spirit_writer.h
(0 . 0)(1 . 81)
9131 // /****************************\
9132 // * EXPERIMENTAL BRANCH. *
9133 // * FOR LABORATORY USE ONLY. *
9134 // ********************************
9135 // ************
9136 // **************
9137 // ****************
9138 // **** **** ****
9139 // *** *** ***
9140 // *** *** ***
9141 // *** * * **
9142 // ******** ********
9143 // ******* ******
9144 // *** **
9145 // * ******* **
9146 // ** * * * * *
9147 // ** * * ***
9148 // **** * * * * ****
9149 // **** *** * * ** ***
9150 // **** ********* ******
9151 // ******* ***** *******
9152 // ********* ****** **
9153 // ** ****** ******
9154 // ** ******* **
9155 // ** ******* ***
9156 // **** ******** ************
9157 // ************ ************
9158 // ******** *******
9159 // ****** ****
9160 // *** ***
9161 // ********************************
9162 #ifndef JSON_SPIRIT_WRITER
9163 #define JSON_SPIRIT_WRITER
9164
9165 // Copyright John W. Wilkinson 2007 - 2009.
9166 // Distributed under the MIT License, see accompanying file LICENSE.txt
9167
9168 // json spirit version 4.03
9169
9170 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
9171 # pragma once
9172 #endif
9173
9174 #include "json_spirit_value.h"
9175 #include <iostream>
9176
9177 namespace json_spirit
9178 {
9179 // functions to convert JSON Values to text,
9180 // the "formatted" versions add whitespace to format the output nicely
9181
9182 void write ( const Value& value, std::ostream& os );
9183 void write_formatted( const Value& value, std::ostream& os );
9184 std::string write ( const Value& value );
9185 std::string write_formatted( const Value& value );
9186
9187 #ifndef BOOST_NO_STD_WSTRING
9188
9189 void write ( const wValue& value, std::wostream& os );
9190 void write_formatted( const wValue& value, std::wostream& os );
9191 std::wstring write ( const wValue& value );
9192 std::wstring write_formatted( const wValue& value );
9193
9194 #endif
9195
9196 void write ( const mValue& value, std::ostream& os );
9197 void write_formatted( const mValue& value, std::ostream& os );
9198 std::string write ( const mValue& value );
9199 std::string write_formatted( const mValue& value );
9200
9201 #ifndef BOOST_NO_STD_WSTRING
9202
9203 void write ( const wmValue& value, std::wostream& os );
9204 void write_formatted( const wmValue& value, std::wostream& os );
9205 std::wstring write ( const wmValue& value );
9206 std::wstring write_formatted( const wmValue& value );
9207
9208 #endif
9209 }
9210
9211 #endif