Fabcoin Core  0.16.2
P2P Digital Currency
Macros | Enumerations | Functions
univalue_read.cpp File Reference
#include <string.h>
#include <vector>
#include <stdio.h>
#include "univalue.h"
#include "univalue_utffilter.h"
Include dependency graph for univalue_read.cpp:

Go to the source code of this file.

Macros

#define expect(bit)   (expectMask & (EXP_##bit))
 
#define setExpect(bit)   (expectMask |= EXP_##bit)
 
#define clearExpect(bit)   (expectMask &= ~EXP_##bit)
 

Enumerations

enum  expect_bits {
  EXP_OBJ_NAME = (1U << 0), EXP_COLON = (1U << 1), EXP_ARR_VALUE = (1U << 2), EXP_VALUE = (1U << 3),
  EXP_NOT_VALUE = (1U << 4)
}
 

Functions

enum jtokentype getJsonToken (string &tokenVal, unsigned int &consumed, const char *raw, const char *end)
 

Macro Definition Documentation

#define clearExpect (   bit)    (expectMask &= ~EXP_##bit)

Definition at line 251 of file univalue_read.cpp.

#define expect (   bit)    (expectMask & (EXP_##bit))

Definition at line 249 of file univalue_read.cpp.

#define setExpect (   bit)    (expectMask |= EXP_##bit)

Definition at line 250 of file univalue_read.cpp.

Enumeration Type Documentation

Enumerator
EXP_OBJ_NAME 
EXP_COLON 
EXP_ARR_VALUE 
EXP_VALUE 
EXP_NOT_VALUE 

Definition at line 241 of file univalue_read.cpp.

Function Documentation

enum jtokentype getJsonToken ( string &  tokenVal,
unsigned int &  consumed,
const char *  raw,
const char *  end 
)

Definition at line 45 of file univalue_read.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: