ed
data.h
Go to the documentation of this file.
1 #ifndef ERA_TUE_CONFIGURATION_DATA_H_
2 #define ERA_TUE_CONFIGURATION_DATA_H_
3 
4 #include "ed/io/variant.h"
5 
6 #include <vector>
7 #include <map>
8 #include <string>
9 
10 namespace ed
11 {
12 
13 namespace io
14 {
15 
16 // ----------------------------------------------------------------------------------------------------
17 
19 {
21  MAP,
23 };
24 
25 // ----------------------------------------------------------------------------------------------------
26 
27 struct Node
28 {
29  Node() {}
30  Node(unsigned int idx_, NodeType type_) : idx(idx_), type(type_) {}
31 
32  unsigned int idx;
34 };
35 
36 // ----------------------------------------------------------------------------------------------------
37 
38 struct Data
39 {
42 
45 
47 };
48 
49 }
50 
51 }
52 
53 #endif
ed::io::Data::array_parents
std::vector< unsigned int > array_parents
Definition: data.h:41
ed::io::ARRAY
@ ARRAY
Definition: data.h:20
ed::io::Data::map_parents
std::vector< unsigned int > map_parents
Definition: data.h:44
vector
ed::io::Data::values
std::vector< Variant > values
Definition: data.h:46
ed::io::VALUE
@ VALUE
Definition: data.h:22
ed::io::MAP
@ MAP
Definition: data.h:21
ed::io::Node::Node
Node()
Definition: data.h:29
map
ed::io::Data::arrays
std::vector< std::vector< Node > > arrays
Definition: data.h:40
ed::io::Node::idx
unsigned int idx
Definition: data.h:32
ed::io::NodeType
NodeType
Definition: data.h:18
ed::io::Node
Definition: data.h:27
ed::io::Data
Definition: data.h:38
ed::io::Node::Node
Node(unsigned int idx_, NodeType type_)
Definition: data.h:30
ed::io::Data::maps
std::vector< std::map< std::string, Node > > maps
Definition: data.h:43
ed::io::Node::type
NodeType type
Definition: data.h:33
ed
Definition: convex_hull.h:8
variant.h
string