blob: 369a73e2086e5ba5b1b34339c618ee38850106c9 [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>;