author | František Kučera <franta-hg@frantovo.cz> |
Fri, 25 Sep 2020 01:59:16 +0200 | |
branch | v_0 |
changeset 33 | e87c231afb77 |
parent 26 | src/GuileException.h@421608ecc12a |
child 36 | c95f3ac745cc |
permissions | -rw-r--r-- |
23
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
/** |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
* Relational pipes |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
* Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
* |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
* This program is free software: you can redistribute it and/or modify |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License as published by |
26
421608ecc12a
fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents:
23
diff
changeset
|
7 |
* the Free Software Foundation, version 3 of the License. |
23
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
* |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
* |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
*/ |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
#pragma once |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
#include <string> |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
20 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
21 |
using namespace std; |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
namespace relpipe { |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
namespace tr { |
33
e87c231afb77
relpipe-tr-guile → relpipe-tr-scheme
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
25 |
namespace scheme { |
23
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
|
33
e87c231afb77
relpipe-tr-guile → relpipe-tr-scheme
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
27 |
class SchemeException { |
23
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
private: |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
29 |
wstring message; |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
30 |
public: |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
31 |
|
33
e87c231afb77
relpipe-tr-guile → relpipe-tr-scheme
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
32 |
SchemeException(wstring message) : message(message) { |
23
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
33 |
} |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
34 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
35 |
wstring getMessge() { |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
36 |
return message; |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
37 |
} |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
38 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
39 |
}; |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
40 |
|
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
41 |
} |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
42 |
} |
6ee7a9e311e9
add option: --debug-variable-mapping + different variables for attributes with ambiguous names
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
43 |
} |