Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
jsoncpp.cpp File Reference
#include <jsoncpp.h>
#include <json/reader.h>
#include <json/value.h>
#include "json_tool.h"
#include <utility>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <stdlib.h>
#include <assert.h>
#include <json/writer.h>
#include "json_batchallocator.h"
#include <cstddef>
#include "json_valueiterator.inl"
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <iomanip>

Go to the source code of this file.

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
 
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
 
#define JSON_ASSERT_UNREACHABLE
 
#define JSON_ASSERT(condition)
 
#define JSON_FAIL_MESSAGE(message)
 
#define JSON_ASSERT_MESSAGE(condition, message)
 

Typedefs

typedef char Json::UIntToStringBuffer[uintToStringBufferSize]
 

Enumerations

enum  { Json::uintToStringBufferSize }
 

Functions

static std::string Json::codePointToUTF8 (unsigned int cp)
 Converts a unicode code-point to UTF-8. More...
 
static bool Json::isControlCharacter (char ch)
 Returns true if ch is a control character (in range [0,32[). More...
 
static void Json::uintToString (LargestUInt value, char *&current)
 
static bool Json::in (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)
 
static bool Json::in (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4, Reader::Char c5)
 
static bool Json::containsNewLine (Reader::Location begin, Reader::Location end)
 
std::istream & Json::operator>> (std::istream &, Value &)
 Read from 'sin' into 'root'. More...
 
static char * Json::duplicateStringValue (const char *value, unsigned int length=unknown)
 
static void Json::releaseStringValue (char *value)
 
static bool Json::containsControlCharacter (const char *str)
 
std::string Json::valueToString (LargestInt value)
 
std::string Json::valueToString (LargestUInt value)
 
std::string Json::valueToString (double value)
 
std::string Json::valueToString (bool value)
 
std::string Json::valueToQuotedString (const char *value)
 
std::ostream & Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter. More...
 

Variables

static const unsigned int Json::unknown
 Unknown size marker. More...
 

Macro Definition Documentation

#define JSON_ASSERT_MESSAGE (   condition,
  message 
)
#define JSON_FAIL_MESSAGE (   message)
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED

Definition at line 1090 of file jsoncpp.cpp.

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED

Json-cpp amalgated source (http://jsoncpp.sourceforge.net/). It is intented to be used with #include <json/json.h>

Definition at line 89 of file jsoncpp.cpp.