Classes | Namespaces | Defines | Typedefs | Enumerations | Functions | Variables
jsoncpp.cpp File Reference
#include <json/json.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>
Include dependency graph for jsoncpp.cpp:

Go to the source code of this file.

Classes

class  Json::BatchAllocator< AllocatedType, objectPerAllocation >
struct  Json::BatchAllocator< AllocatedType, objectPerAllocation >::BatchInfo

Namespaces

namespace  Json
 

JSON (JavaScript Object Notation).


Defines

#define JSON_ASSERT(condition)   assert( condition );
#define JSON_ASSERT_MESSAGE(condition, message)   if (!( condition )) JSON_FAIL_MESSAGE( message )
#define JSON_ASSERT_UNREACHABLE   assert( false )
#define JSON_FAIL_MESSAGE(message)   throw std::runtime_error( message );
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED

Typedefs

typedef char Json::UIntToStringBuffer [uintToStringBufferSize]

Enumerations

enum  { Json::uintToStringBufferSize = 3*sizeof(LargestUInt)+1 }

Functions

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

Variables

static const unsigned int Json::unknown = (unsigned)-1
 Unknown size marker.

Define Documentation

#define JSON_ASSERT (   condition)    assert( condition );

Definition at line 1564 of file jsoncpp.cpp.

#define JSON_ASSERT_MESSAGE (   condition,
  message 
)    if (!( condition )) JSON_FAIL_MESSAGE( message )

Definition at line 1566 of file jsoncpp.cpp.

#define JSON_ASSERT_UNREACHABLE   assert( false )

Definition at line 1563 of file jsoncpp.cpp.

#define JSON_FAIL_MESSAGE (   message)    throw std::runtime_error( message );

Definition at line 1565 of file jsoncpp.cpp.

Definition at line 1090 of file jsoncpp.cpp.

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.



find_object_2d
Author(s): Mathieu Labbe
autogenerated on Fri Feb 12 2016 01:18:18