Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
jsoncpp.cpp File Reference
#include "json/json.h"
#include <utility>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <istream>
#include <sstream>
#include <memory>
#include <set>
#include <math.h>
#include <cstddef>
#include <algorithm>
#include <iomanip>
#include <cmath>
Include dependency graph for jsoncpp.cpp:

Go to the source code of this file.

Classes

struct  Json::BuiltStyledStreamWriter
 
struct  Json::CommentStyle
 Scoped enums are not available until C++11. More...
 
class  Json::OurReader::ErrorInfo
 
class  Json::Exception
 
class  Json::LogicError
 
class  Json::OurCharReader
 
class  Json::OurFeatures
 
class  Json::OurReader
 
class  Json::RuntimeError
 
struct  Json::OurReader::StructuredError
 
class  Json::OurReader::Token
 

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define ALIGNAS(byte_alignment)
 
#define isfinite   std::isfinite
 
#define JSON_ASSERT_UNREACHABLE   assert(false)
 
#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
 

Typedefs

typedef std::auto_ptr< CharReader > Json::CharReaderPtr
 
typedef std::auto_ptr
< StreamWriter > 
Json::StreamWriterPtr
 
typedef char Json::UIntToStringBuffer [uintToStringBufferSize]
 

Enumerations

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

Functions

static const unsigned char Json::ALIGNAS (8) kNull[sizeof(Value)]
 
static std::string Json::codePointToUTF8 (unsigned int cp)
 Converts a unicode code-point to UTF-8. More...
 
static bool Json::containsControlCharacter (const char *str)
 
static bool Json::containsControlCharacter0 (const char *str, unsigned len)
 
static bool Json::containsNewLine (Reader::Location begin, Reader::Location end)
 
static void Json::decodePrefixedString (bool isPrefixed, char const *prefixed, unsigned *length, char const **value)
 
static char * Json::duplicateAndPrefixStringValue (const char *value, unsigned int length)
 
static char * Json::duplicateStringValue (const char *value, size_t length)
 
static void Json::fixNumericLocale (char *begin, char *end)
 
static void Json::getValidReaderKeys (std::set< std::string > *valid_keys)
 
static void Json::getValidWriterKeys (std::set< std::string > *valid_keys)
 
template<typename T , typename U >
static bool Json::InRange (double d, T min, U max)
 
static bool Json::isControlCharacter (char ch)
 Returns true if ch is a control character (in range [0,32[). More...
 
static bool Json::IsIntegral (double d)
 
static std::string Json::normalizeEOL (Reader::Location begin, Reader::Location end)
 
JSON_API std::ostream & Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter. More...
 
JSON_API std::istream & Json::operator>> (std::istream &, Value &)
 Read from 'sin' into 'root'. More...
 
bool JSON_API Json::parseFromStream (CharReader::Factory const &, std::istream &, Value *root, std::string *errs)
 
static void Json::releaseStringValue (char *value)
 
static char const * Json::strnpbrk (char const *s, char const *accept, size_t n)
 
void Json::throwLogicError (std::string const &msg)
 used internally More...
 
void Json::throwRuntimeError (std::string const &msg)
 used internally More...
 
static void Json::uintToString (LargestUInt value, char *&current)
 
std::string JSON_API Json::valueToQuotedString (const char *value)
 
static std::string Json::valueToQuotedStringN (const char *value, unsigned length)
 
std::string JSON_API Json::valueToString (Int value)
 
std::string JSON_API Json::valueToString (UInt 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)
 
std::string JSON_API Json::writeString (StreamWriter::Factory const &factory, Value const &root)
 Write into stringstream, then return string, for convenience. A StreamWriter will be created from the factory, used, and then deleted. More...
 

Variables

const unsigned char & Json::kNullRef = kNull[0]
 
static const double Json::maxUInt64AsDouble = 18446744073709551615.0
 
static int stackDepth_g = 0
 
static int const stackLimit_g = 1000
 

Macro Definition Documentation

#define ALIGNAS (   byte_alignment)

Definition at line 2410 of file jsoncpp.cpp.

#define isfinite   std::isfinite

Definition at line 3963 of file jsoncpp.cpp.

#define JSON_ASSERT_UNREACHABLE   assert(false)

Definition at line 2400 of file jsoncpp.cpp.

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED

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

Definition at line 93 of file jsoncpp.cpp.

Variable Documentation

int stackDepth_g = 0
static

Definition at line 218 of file jsoncpp.cpp.

int const stackLimit_g = 1000
static

Definition at line 217 of file jsoncpp.cpp.



mission_planning
Author(s): ivan
autogenerated on Thu Nov 12 2015 19:08:20