Václav Kubernát | 24df80e | 2018-06-06 15:18:03 +0200 | [diff] [blame^] | 1 | /* |
| 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 | #include "ast_commands.hpp" |
| 9 | |
| 10 | |
| 11 | bool set_::operator==(const set_& b) const |
| 12 | { |
| 13 | return this->m_path == b.m_path && this->m_data == b.m_data; |
| 14 | } |
| 15 | |
| 16 | bool cd_::operator==(const cd_& b) const |
| 17 | { |
| 18 | return this->m_path == b.m_path; |
| 19 | } |
| 20 | |
| 21 | bool create_::operator==(const create_& b) const |
| 22 | { |
| 23 | return this->m_path == b.m_path; |
| 24 | } |
| 25 | |
| 26 | bool delete_::operator==(const delete_& b) const |
| 27 | { |
| 28 | return this->m_path == b.m_path; |
| 29 | } |