P4C
The P4 Compiler
|
Public Member Functions | |
JSONLoader (const JSONLoader &unpacker, const std::string &field) | |
JSONLoader (JsonData *json) | |
JSONLoader (JsonData *json, std::unordered_map< int, IR::Node * > &refs) | |
JSONLoader (std::istream &in) | |
template<typename T > | |
void | load (const std::string field, T &v) |
template<typename T > | |
void | load (const std::string field, T *&v) |
template<typename T > | |
void | load (JsonData *json, T &v) |
template<typename T > | |
JSONLoader & | operator>> (T &v) |
Public Attributes | |
JsonData * | json = nullptr |
std::unordered_map< int, IR::Node * > & | node_refs |