blob: fdb9c2eab07a92ec6aae90f3df19494aeebc2731 [file] [log] [blame]
Václav Kubernátbf65dd72020-05-28 02:32:31 +02001/*
2 * Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/
3 *
4 * Written by Václav Kubernát <kubernat@cesnet.cz>
5 *
6*/
7#pragma once
8#include <variant>
9#include "list_instance.hpp"
10
11namespace yang::move {
12enum class Absolute {
13 Begin,
14 End
15};
16struct Relative {
17 bool operator==(const yang::move::Relative& other) const
18 {
19 return this->m_position == other.m_position && this->m_path == other.m_path;
20 }
21 enum class Position {
22 Before,
23 After
24 } m_position;
25 ListInstance m_path;
26};
27}
Václav Kubernát6a7dd4d2020-06-23 22:44:13 +020028
29enum class Datastore {
30 Running,
31 Startup
32};
Václav Kubernát70d7f7a2020-06-23 14:40:40 +020033
34enum class DataFormat {
35 Xml,
36 Json
37};