Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Copyright (c) 2000-2014 Ericsson Telecom AB | |
3 | // All rights reserved. This program and the accompanying materials | |
4 | // are made available under the terms of the Eclipse Public License v1.0 | |
5 | // which accompanies this distribution, and is available at | |
6 | // http://www.eclipse.org/legal/epl-v10.html | |
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | #ifndef JSONAST_HH_ | |
9 | #define JSONAST_HH_ | |
10 | ||
11 | #include "../datatypes.h" | |
12 | ||
13 | class JsonAST { | |
14 | private: | |
15 | void init_JsonAST(); | |
16 | JsonAST(const JsonAST&); | |
17 | JsonAST& operator=(const JsonAST&); | |
18 | public: | |
19 | boolean omit_as_null; | |
20 | char* alias; | |
21 | boolean as_value; | |
22 | char* default_value; | |
23 | ||
24 | JsonAST() { init_JsonAST(); } | |
25 | JsonAST(const JsonAST *other_val); | |
26 | ~JsonAST(); | |
27 | ||
28 | void print_JsonAST() const; | |
29 | }; | |
30 | ||
31 | #endif /* JSONAST_HH_ */ | |
32 |