Functions | Variables
cJSON.cpp File Reference
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <float.h>
#include <limits.h>
#include <ctype.h>
#include <pcl/outofcore/cJSON.h>
Include dependency graph for cJSON.cpp:

Go to the source code of this file.

Functions

void cJSON_AddItemReferenceToArray (cJSON *array, cJSON *item)
void cJSON_AddItemReferenceToObject (cJSON *object, const char *string, cJSON *item)
void cJSON_AddItemToArray (cJSON *array, cJSON *item)
void cJSON_AddItemToObject (cJSON *object, const char *string, cJSON *item)
cJSONcJSON_CreateArray ()
cJSONcJSON_CreateBool (int b)
cJSONcJSON_CreateDoubleArray (double *numbers, int count)
cJSONcJSON_CreateFalse ()
cJSONcJSON_CreateFloatArray (float *numbers, int count)
cJSONcJSON_CreateIntArray (int *numbers, int count)
cJSONcJSON_CreateNull ()
cJSONcJSON_CreateNumber (double num)
cJSONcJSON_CreateObject ()
cJSONcJSON_CreateString (const char *string)
cJSONcJSON_CreateStringArray (const char **strings, int count)
cJSONcJSON_CreateTrue ()
void cJSON_Delete (cJSON *c)
void cJSON_DeleteItemFromArray (cJSON *array, int which)
void cJSON_DeleteItemFromObject (cJSON *object, const char *string)
cJSONcJSON_DetachItemFromArray (cJSON *array, int which)
cJSONcJSON_DetachItemFromObject (cJSON *object, const char *string)
cJSONcJSON_GetArrayItem (cJSON *array, int item)
int cJSON_GetArraySize (cJSON *array)
const char * cJSON_GetErrorPtr ()
cJSONcJSON_GetObjectItem (cJSON *object, const char *string)
void cJSON_InitHooks (cJSON_Hooks *hooks)
static cJSONcJSON_New_Item ()
cJSONcJSON_Parse (const char *value)
char * cJSON_Print (cJSON *item)
void cJSON_PrintStr (cJSON *item, std::string &s)
char * cJSON_PrintUnformatted (cJSON *item)
void cJSON_PrintUnformattedStr (cJSON *item, std::string &s)
void cJSON_ReplaceItemInArray (cJSON *array, int which, cJSON *newitem)
void cJSON_ReplaceItemInObject (cJSON *object, const char *string, cJSON *newitem)
static int cJSON_strcasecmp (const char *s1, const char *s2)
static char * cJSON_strdup (const char *str)
static cJSONcreate_reference (cJSON *item)
static const char * parse_array (cJSON *item, const char *value)
static const char * parse_number (cJSON *item, const char *num)
static const char * parse_object (cJSON *item, const char *value)
static const char * parse_string (cJSON *item, const char *str)
static const char * parse_value (cJSON *item, const char *value)
static char * print_array (cJSON *item, int depth, int fmt)
static char * print_number (cJSON *item)
static char * print_object (cJSON *item, int depth, int fmt)
static char * print_string (cJSON *item)
static char * print_string_ptr (const char *str)
static char * print_value (cJSON *item, int depth, int fmt)
static const char * skip (const char *in)
static void suffix_object (cJSON *prev, cJSON *item)

Variables

static void(* cJSON_free )(void *ptr) = free
static void *(* cJSON_malloc )(size_t sz) = malloc
static const char * ep
static const unsigned char firstByteMark [7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }

Function Documentation

void cJSON_AddItemReferenceToArray ( cJSON array,
cJSON item 
)

Definition at line 492 of file cJSON.cpp.

void cJSON_AddItemReferenceToObject ( cJSON object,
const char *  string,
cJSON item 
)

Definition at line 493 of file cJSON.cpp.

void cJSON_AddItemToArray ( cJSON array,
cJSON item 
)

Definition at line 490 of file cJSON.cpp.

void cJSON_AddItemToObject ( cJSON object,
const char *  string,
cJSON item 
)

Definition at line 491 of file cJSON.cpp.

Definition at line 514 of file cJSON.cpp.

cJSON* cJSON_CreateBool ( int  b)

Definition at line 511 of file cJSON.cpp.

cJSON* cJSON_CreateDoubleArray ( double *  numbers,
int  count 
)

Definition at line 520 of file cJSON.cpp.

Definition at line 510 of file cJSON.cpp.

cJSON* cJSON_CreateFloatArray ( float *  numbers,
int  count 
)

Definition at line 519 of file cJSON.cpp.

cJSON* cJSON_CreateIntArray ( int *  numbers,
int  count 
)

Definition at line 518 of file cJSON.cpp.

Definition at line 508 of file cJSON.cpp.

cJSON* cJSON_CreateNumber ( double  num)

Definition at line 512 of file cJSON.cpp.

Definition at line 515 of file cJSON.cpp.

cJSON* cJSON_CreateString ( const char *  string)

Definition at line 513 of file cJSON.cpp.

cJSON* cJSON_CreateStringArray ( const char **  strings,
int  count 
)

Definition at line 521 of file cJSON.cpp.

Definition at line 509 of file cJSON.cpp.

void cJSON_Delete ( cJSON c)

Definition at line 85 of file cJSON.cpp.

void cJSON_DeleteItemFromArray ( cJSON array,
int  which 
)

Definition at line 497 of file cJSON.cpp.

void cJSON_DeleteItemFromObject ( cJSON object,
const char *  string 
)

Definition at line 499 of file cJSON.cpp.

cJSON* cJSON_DetachItemFromArray ( cJSON array,
int  which 
)

Definition at line 495 of file cJSON.cpp.

cJSON* cJSON_DetachItemFromObject ( cJSON object,
const char *  string 
)

Definition at line 498 of file cJSON.cpp.

cJSON* cJSON_GetArrayItem ( cJSON array,
int  item 
)

Definition at line 481 of file cJSON.cpp.

int cJSON_GetArraySize ( cJSON array)

Definition at line 480 of file cJSON.cpp.

const char* cJSON_GetErrorPtr ( )

Definition at line 37 of file cJSON.cpp.

cJSON* cJSON_GetObjectItem ( cJSON object,
const char *  string 
)

Definition at line 482 of file cJSON.cpp.

void cJSON_InitHooks ( cJSON_Hooks hooks)

Definition at line 64 of file cJSON.cpp.

static cJSON* cJSON_New_Item ( ) [static]

Definition at line 77 of file cJSON.cpp.

cJSON* cJSON_Parse ( const char *  value)

Definition at line 245 of file cJSON.cpp.

char* cJSON_Print ( cJSON item)

Definition at line 256 of file cJSON.cpp.

void cJSON_PrintStr ( cJSON item,
std::string s 
)

Definition at line 259 of file cJSON.cpp.

char* cJSON_PrintUnformatted ( cJSON item)

Definition at line 257 of file cJSON.cpp.

void cJSON_PrintUnformattedStr ( cJSON item,
std::string s 
)

Definition at line 266 of file cJSON.cpp.

void cJSON_ReplaceItemInArray ( cJSON array,
int  which,
cJSON newitem 
)

Definition at line 502 of file cJSON.cpp.

void cJSON_ReplaceItemInObject ( cJSON object,
const char *  string,
cJSON newitem 
)

Definition at line 505 of file cJSON.cpp.

static int cJSON_strcasecmp ( const char *  s1,
const char *  s2 
) [static]

Definition at line 39 of file cJSON.cpp.

static char* cJSON_strdup ( const char *  str) [static]

Definition at line 49 of file cJSON.cpp.

static cJSON* create_reference ( cJSON item) [static]

Definition at line 487 of file cJSON.cpp.

static const char * parse_array ( cJSON item,
const char *  value 
) [static]

Definition at line 307 of file cJSON.cpp.

static const char* parse_number ( cJSON item,
const char *  num 
) [static]

Definition at line 100 of file cJSON.cpp.

static const char * parse_object ( cJSON item,
const char *  value 
) [static]

Definition at line 386 of file cJSON.cpp.

static const char* parse_string ( cJSON item,
const char *  str 
) [static]

Definition at line 146 of file cJSON.cpp.

static const char * parse_value ( cJSON item,
const char *  value 
) [static]

Definition at line 274 of file cJSON.cpp.

static char * print_array ( cJSON item,
int  depth,
int  fmt 
) [static]

Definition at line 335 of file cJSON.cpp.

static char* print_number ( cJSON item) [static]

Definition at line 123 of file cJSON.cpp.

static char * print_object ( cJSON item,
int  depth,
int  fmt 
) [static]

Definition at line 422 of file cJSON.cpp.

static char* print_string ( cJSON item) [static]

Definition at line 231 of file cJSON.cpp.

static char* print_string_ptr ( const char *  str) [static]

Definition at line 196 of file cJSON.cpp.

static char * print_value ( cJSON item,
int  depth,
int  fmt 
) [static]

Definition at line 289 of file cJSON.cpp.

static const char* skip ( const char *  in) [static]

Definition at line 242 of file cJSON.cpp.

static void suffix_object ( cJSON prev,
cJSON item 
) [static]

Definition at line 485 of file cJSON.cpp.


Variable Documentation

void(* cJSON_free)(void *ptr) = free [static]

Definition at line 47 of file cJSON.cpp.

void*(* cJSON_malloc)(size_t sz) = malloc [static]

Definition at line 46 of file cJSON.cpp.

const char* ep [static]

Definition at line 35 of file cJSON.cpp.

const unsigned char firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC } [static]

Definition at line 145 of file cJSON.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:43