retdec
Namespaces | Functions
json_ctypes_parser.cpp File Reference

Parser for C-types from JSON files. More...

#include <cassert>
#include <istream>
#include <regex>
#include <sstream>
#include <rapidjson/error/en.h>
#include "retdec/ctypes/ctypes.h"
#include "retdec/ctypesparser/json_ctypes_parser.h"
#include "retdec/utils/container.h"
#include "retdec/utils/string.h"

Namespaces

 retdec
 
 retdec::ctypesparser
 

Functions

const rapidjson::Value & retdec::ctypesparser::safeGetObject (const rapidjson::Value &val, const std::string &name)
 
const rapidjson::Value & retdec::ctypesparser::safeGetArray (const rapidjson::Value &val, const std::string &name)
 
std::string retdec::ctypesparser::safeGetString (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value())
 
int64_t retdec::ctypesparser::safeGetInt64 (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value())
 
bool retdec::ctypesparser::safeGetBool (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value())
 

Detailed Description

Parser for C-types from JSON files.