FOSSology  4.4.0
Open Source License Compliance by Open Source Software
licensematch.cc
1 /*
2  SPDX-FileCopyrightText: © 2014-2015 Siemens AG
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #include "licensematch.hpp"
8 
9 LicenseMatch::LicenseMatch(string licenseName, unsigned percentage) :
10  licenseName(licenseName),
11  percentage(percentage)
12 {
13 }
14 
15 LicenseMatch::~LicenseMatch()
16 {
17 }
18 
19 const string LicenseMatch::getLicenseName() const
20 {
21  return licenseName;
22 }
23 
24 unsigned LicenseMatch::getPercentage() const
25 {
26  return percentage;
27 }