author | František Kučera <franta-hg@frantovo.cz> |
Mon, 29 Nov 2021 19:30:52 +0100 | |
branch | v_0 |
changeset 52 | d22e9274fcad |
parent 42 | 3442e0d6caec |
permissions | -rw-r--r-- |
29
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
1 |
/** |
30
ef99f5a6c9f6
license of protocol, reader and writer: GNU LGPLv3+ or GNU GPLv2+
František Kučera <franta-hg@frantovo.cz>
parents:
29
diff
changeset
|
2 |
* Relational pipes (library) |
29
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
3 |
* Copyright © 2018 František Kučera (Frantovo.cz, GlobalCode.info) |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
4 |
* |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
5 |
* This program is free software: you can redistribute it and/or modify |
30
ef99f5a6c9f6
license of protocol, reader and writer: GNU LGPLv3+ or GNU GPLv2+
František Kučera <franta-hg@frantovo.cz>
parents:
29
diff
changeset
|
6 |
* it under the terms of the: |
ef99f5a6c9f6
license of protocol, reader and writer: GNU LGPLv3+ or GNU GPLv2+
František Kučera <franta-hg@frantovo.cz>
parents:
29
diff
changeset
|
7 |
* - GNU Lesser General Public License as published by the Free Software Foundation; |
42
3442e0d6caec
fix license version: GNU LGPLv3 or GPLv2
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
8 |
* version 3 of the License or (at your option) |
30
ef99f5a6c9f6
license of protocol, reader and writer: GNU LGPLv3+ or GNU GPLv2+
František Kučera <franta-hg@frantovo.cz>
parents:
29
diff
changeset
|
9 |
* - GNU General Public License as published by the Free Software Foundation; |
42
3442e0d6caec
fix license version: GNU LGPLv3 or GPLv2
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
10 |
* version 2 of the License. |
29
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
11 |
* |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
12 |
* This program is distributed in the hope that it will be useful, |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
15 |
* GNU General Public License for more details. |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
16 |
* |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
18 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
755978b0935c
license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
19 |
*/ |
24
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
20 |
#pragma once |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
21 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
#include "../include/relpipe/reader/typedefs.h" |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
#include "../include/relpipe/reader/TypeId.h" |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
#include "../include/relpipe/reader/handlers/AttributeMetadata.h" |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
25 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
namespace relpipe { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
27 |
namespace reader { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
namespace handlers { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
29 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
30 |
class AttributeMetadataPrivate { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
31 |
public: |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
32 |
string_t attributeName; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
33 |
relpipe::reader::TypeId typeId; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
34 |
string_t typeName; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
35 |
}; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
36 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
37 |
string_t AttributeMetadata::getAttributeName() const { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
38 |
return impl->attributeName; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
39 |
} |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
40 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
41 |
relpipe::reader::TypeId AttributeMetadata::getTypeId() const { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
42 |
return impl->typeId; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
43 |
} |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
44 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
45 |
string_t AttributeMetadata::getTypeName() const { |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
46 |
return impl->typeName; |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
47 |
} |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
48 |
|
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
49 |
} |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
50 |
} |
6f7acc3b274c
AttributeMetadata: pImpl / d-pointer version but with memory-leak and unwanted empty constructor
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
51 |
} |