blob: 121e7600f4df7fdc8e8061eda2ca412faf969d34 [file] [log] [blame]
Václav Kubernát627f6152018-08-29 13:23:56 +02001/*
2 * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
3 * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
4 *
5 * Written by Václav Kubernát <kubervac@fit.cvut.cz>
6 *
7*/
8#pragma once
9
10#include <boost/variant.hpp>
11
12struct enum_ {
13 enum_();
14 enum_(const std::string& value);
15 bool operator==(const enum_& b) const;
16 std::string m_value;
17};
18
19using leaf_data_ = boost::variant<enum_,
20 double,
21 bool,
22 int32_t,
23 uint32_t,
24 std::string>;
25