Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
jsoncpp.h File Reference
#include <string>
#include <vector>
#include <map>
#include <deque>
#include <stack>
#include <iostream>

Go to the source code of this file.

Classes

class  Json::Features
 Configuration passed to reader and writer. This configuration object can be used to force the Reader or Writer to behave in a standard conforming way. More...
 
class  Json::StaticString
 Lightweight wrapper to tag static string. More...
 
class  Json::Value
 Represents a JSON value. More...
 
class  Json::PathArgument
 Experimental and untested: represents an element of the "path" to access a node. More...
 
class  Json::Path
 Experimental and untested: represents a "path" to access a node. More...
 
class  Json::ValueIteratorBase
 base class for Value iterators. More...
 
class  Json::ValueConstIterator
 const iterator for object and array value. More...
 
class  Json::ValueIterator
 Iterator for object and array value. More...
 
class  Json::Reader
 Unserialize a JSON document into a Value. More...
 
class  Json::Writer
 Abstract class for writers. More...
 
class  Json::FastWriter
 Outputs a Value in JSON format without formatting (not human friendly). More...
 
class  Json::StyledWriter
 Writes a Value in JSON format in a human friendly way. More...
 
class  Json::StyledStreamWriter
 Writes a Value in JSON format in a human friendly way, to a stream rather than to a string. More...
 

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define JSON_IS_AMALGATED
 
#define JSON_CONFIG_H_INCLUDED
 
#define JSON_USE_EXCEPTION
 If defined, indicates that json library is embedded in CppTL library. More...
 
#define JSON_IS_AMALGAMATION
 
#define JSON_API
 
#define JSONCPP_DEPRECATED(message)
 
#define JSON_HAS_INT64
 
#define JSON_FORWARDS_H_INCLUDED
 
#define CPPTL_JSON_FEATURES_H_INCLUDED
 
#define CPPTL_JSON_H_INCLUDED
 
#define CPPTL_JSON_READER_H_INCLUDED
 
#define JSON_WRITER_H_INCLUDED
 

Typedefs

typedef int Json::Int
 
typedef unsigned int Json::UInt
 
typedef long long int Json::Int64
 
typedef unsigned long long int Json::UInt64
 
typedef Int64 Json::LargestInt
 
typedef UInt64 Json::LargestUInt
 
typedef unsigned int Json::ArrayIndex
 

Enumerations

enum  Json::ValueType {
  Json::nullValue, Json::intValue, Json::uintValue, Json::realValue,
  Json::stringValue, Json::booleanValue, Json::arrayValue, Json::objectValue
}
 Type of the value held by a Value object. More...
 
enum  Json::CommentPlacement { Json::commentBefore, Json::commentAfterOnSameLine, Json::commentAfter, Json::numberOfCommentPlacement }
 

Functions

std::istream & Json::operator>> (std::istream &, Value &)
 Read from 'sin' into 'root'. More...
 
std::string Json::valueToString (Int value)
 
std::string Json::valueToString (UInt value)
 
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...
 

Macro Definition Documentation

#define CPPTL_JSON_FEATURES_H_INCLUDED

Definition at line 259 of file jsoncpp.h.

#define CPPTL_JSON_H_INCLUDED

Definition at line 322 of file jsoncpp.h.

#define CPPTL_JSON_READER_H_INCLUDED

Definition at line 1439 of file jsoncpp.h.

#define JSON_API

Definition at line 135 of file jsoncpp.h.

#define JSON_CONFIG_H_INCLUDED

Definition at line 91 of file jsoncpp.h.

#define JSON_FORWARDS_H_INCLUDED

Definition at line 201 of file jsoncpp.h.

#define JSON_HAS_INT64

Definition at line 175 of file jsoncpp.h.

#define JSON_IS_AMALGAMATION

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

Definition at line 118 of file jsoncpp.h.

#define JSON_IS_AMALGATED

Json-cpp amalgated header (http://jsoncpp.sourceforge.net/). It is intented to be used with #include <json/json.h> If defined, indicates that the source file is amalgated to prevent private header inclusion.

Definition at line 79 of file jsoncpp.h.

#define JSON_USE_EXCEPTION

If defined, indicates that json library is embedded in CppTL library.

If defined, indicates that json may leverage CppTL library If defined, indicates that cpptl vector based map should be used instead of std::map as Value container. If defined, indicates that Json specific container should be used (hash table & simple deque container with customizable allocator). THIS FEATURE IS STILL EXPERIMENTAL! There is know bugs: See #3177332 Force usage of standard new/malloc based allocator instead of memory pool based allocator. The memory pools allocator used optimization (initializing Value and ValueInternalLink as if it was a POD) that may cause some validation tool to report errors. Only has effects if JSON_VALUE_USE_INTERNAL_MAP is defined. If defined, indicates that Json use exception to report invalid type manipulation instead of C assert macro.

Definition at line 113 of file jsoncpp.h.

#define JSON_WRITER_H_INCLUDED

Definition at line 1667 of file jsoncpp.h.

#define JSONCPP_DEPRECATED (   message)

Definition at line 154 of file jsoncpp.h.