Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jsoncpp.cpp File Reference
#include <json/json.h>
#include <utility>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <istream>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <sstream>
#include <cstddef>
#include <stdio.h>
#include <string.h>
#include <iomanip>
Include dependency graph for jsoncpp.cpp:

Classes

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

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
 Json-cpp amalgated source (http://jsoncpp.sourceforge.net/). More...
 
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
 
#define JSON_ASSERT_UNREACHABLE   assert(false)
 
#define ALIGNAS(byte_alignment)
 

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. 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)
 Converts an unsigned integer to string. More...
 
static void Json::fixNumericLocale (char *begin, char *end)
 Change ',' to '. More...
 
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)
 
JSON_API std::istream & Json::operator>> (std::istream &, Value &)
 Read from 'sin' into 'root'. More...
 
static const unsigned char Json::ALIGNAS (8) kNull[sizeof(Value)]
 
template<typename T , typename U >
static bool Json::InRange (double d, T min, U max)
 
static char * Json::duplicateStringValue (const char *value, unsigned int length=unknown)
 Duplicates the specified string value. More...
 
static void Json::releaseStringValue (char *value)
 Free the string duplicated by duplicateStringValue(). More...
 
static bool Json::IsIntegral (double d)
 
static bool Json::containsControlCharacter (const char *str)
 
std::string JSON_API Json::valueToString (LargestInt value)
 
std::string JSON_API Json::valueToString (LargestUInt value)
 
std::string JSON_API Json::valueToString (Int value)
 
std::string JSON_API Json::valueToString (UInt value)
 
std::string JSON_API Json::valueToString (double value)
 
std::string JSON_API Json::valueToString (bool value)
 
std::string JSON_API Json::valueToQuotedString (const char *value)
 
JSON_API std::ostream & Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter. More...
 

Variables

const unsigned char & Json::kNullRef = kNull[0]
 
static const double Json::maxUInt64AsDouble = 18446744073709551615.0
 
static const unsigned int Json::unknown = (unsigned)-1
 Unknown size marker. More...
 

Macro Definition Documentation

#define ALIGNAS (   byte_alignment)
#define JSON_ASSERT_UNREACHABLE   assert(false)
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
#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>