ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
json_node.h
Go to the documentation of this file.
1#ifndef JSON_NODE_H
2#define JSON_NODE_H
3
4namespace Json
5{
6
8 public:
9 jsonKeyNode(int i): i(i) {};
10 jsonKeyNode(const std::string& s): key(s) {};
11
12 template<size_t N>
13 jsonKeyNode(const char (&s)[N]): key(s) {};
14
15 int i=0;
16 std::string key;
17 };
18
19}
20
21#endif
Definition json_node.h:7
std::string key
Definition json_node.h:16
jsonKeyNode(int i)
Definition json_node.h:9
jsonKeyNode(const std::string &s)
Definition json_node.h:10
jsonKeyNode(const char(&s)[N])
Definition json_node.h:13
int i
Definition json_node.h:15
#define N
Definition exp.cpp:24
In this part of the code to complete the general_info part of the json tree.
Definition abacusjson.cpp:9