FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
identity.hpp
1
/*
2
* Copyright (C) 2014, 2018, Siemens AG
3
* Author: Daniele Fognini, anupam.ghosh@siemens.com
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2
7
* as published by the Free Software Foundation.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* See the GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
*/
18
37
#ifndef IDENTITY_HPP
38
#define IDENTITY_HPP
39
40
#ifndef IDENTITY_KW
41
#ifndef IDENTITY_ECC
42
#ifndef IDENTITY_COPYRIGHT
43
#define IDENTITY_COPYRIGHT
44
#endif
45
#endif
46
#endif
47
48
#ifndef IDENTITY_KW
49
#ifndef IDENTITY_ECC
50
#ifdef IDENTITY_COPYRIGHT
51
#define IDENTITY "copyright"
52
#define MAX_TYPES 4
53
#else
54
#error
55
#endif
56
#else
57
#ifndef IDENTITY_COPYRIGHT
58
#define IDENTITY "ecc"
59
#define MAX_TYPES 1
60
#else
61
#error
62
#endif
63
#endif
64
#else
65
#ifndef IDENTITY_ECC
66
#ifndef IDENTITY_COPYRIGHT
67
#define IDENTITY "keyword"
68
#define MAX_TYPES 1
69
#else
70
#error
71
#endif
72
#else
73
#error
74
#endif
75
#endif
76
77
#define ALL_TYPES ((1<<MAX_TYPES) -1)
78
79
#endif // IDENTITY_HPP
src
copyright
agent
identity.hpp
Generated on Mon Jun 29 2020 12:03:42 for FOSSology by
1.8.11