NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
config.h 文件参考
#include <cstddef>
#include <cstdint>
#include <istream>
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include "allocator.h"

浏览源代码.

命名空间

namespace  nim_cpp_wrapper_util
 JSON (JavaScript Object Notation).
 
namespace  nim_cpp_wrapper_util::Json
 

宏定义

#define JSON_USE_EXCEPTION   1
 
#define JSON_USE_NULLREF   1
 
#define JSON_API
 
#define jsoncpp_snprintf   std::snprintf
 
#define JSONCPP_OVERRIDE   override
 
#define JSONCPP_USING_SECURE_MEMORY   0
 
#define JSON_HAS_INT64
 

类型定义

using nim_cpp_wrapper_util::Json::Int = int
 
using nim_cpp_wrapper_util::Json::UInt = unsigned int
 
using nim_cpp_wrapper_util::Json::Int64 = int64_t
 
using nim_cpp_wrapper_util::Json::UInt64 = uint64_t
 
using nim_cpp_wrapper_util::Json::LargestInt = Int64
 
using nim_cpp_wrapper_util::Json::LargestUInt = UInt64
 
template<typename T >
using nim_cpp_wrapper_util::Json::Allocator = typename std::conditional<JSONCPP_USING_SECURE_MEMORY, SecureAllocator<T>, std::allocator<T>>::type
 
using nim_cpp_wrapper_util::Json::String = std::basic_string<char, std::char_traits<char>, Allocator<char>>
 
using nim_cpp_wrapper_util::Json::IStringStream = std::basic_istringstream<String::value_type, String::traits_type, String::allocator_type>
 
using nim_cpp_wrapper_util::Json::OStringStream = std::basic_ostringstream<String::value_type, String::traits_type, String::allocator_type>
 
using nim_cpp_wrapper_util::Json::IStream = std::istream
 
using nim_cpp_wrapper_util::Json::OStream = std::ostream
 
using JSONCPP_STRING = nim_cpp_wrapper_util::Json::String
 
using JSONCPP_ISTRINGSTREAM = nim_cpp_wrapper_util::Json::IStringStream
 
using JSONCPP_OSTRINGSTREAM = nim_cpp_wrapper_util::Json::OStringStream
 
using JSONCPP_ISTREAM = nim_cpp_wrapper_util::Json::IStream
 
using JSONCPP_OSTREAM = nim_cpp_wrapper_util::Json::OStream
 

宏定义说明

◆ JSON_API

#define JSON_API

If defined, indicates that the source file is amalgamated to prevent private header inclusion. Remarks: it is automatically defined in the generated amalgamated header.

◆ JSON_HAS_INT64

#define JSON_HAS_INT64

◆ JSON_USE_EXCEPTION

#define JSON_USE_EXCEPTION   1

◆ JSON_USE_NULLREF

#define JSON_USE_NULLREF   1

◆ JSONCPP_OVERRIDE

#define JSONCPP_OVERRIDE   override

◆ jsoncpp_snprintf

#define jsoncpp_snprintf   std::snprintf

◆ JSONCPP_USING_SECURE_MEMORY

#define JSONCPP_USING_SECURE_MEMORY   0

类型定义说明

◆ JSONCPP_ISTREAM

◆ JSONCPP_ISTRINGSTREAM

◆ JSONCPP_OSTREAM

◆ JSONCPP_OSTRINGSTREAM

◆ JSONCPP_STRING