OpenASIP
2.2
Loading...
Searching...
No Matches
src
tools
LicenseGenerator.hh
Go to the documentation of this file.
1
/*
2
Copyright (C) 2023 Tampere University.
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library 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. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18
*/
19
/**
20
* @file LicenseGenerator.hh
21
*
22
* Helper class for generating licenses
23
*
24
* @author Kari Hepola 2023 (kari.hepola@tuni.fi)
25
* @note rating: red
26
*/
27
28
#ifndef LICENSE_GENERATOR_HH
29
#define LICENSE_GENERATOR_HH
30
31
#include <string>
32
33
class
LicenseGenerator
{
34
public
:
35
~LicenseGenerator
();
36
static
std::string
generateMITLicense
(
const
std::string& year,
37
const
std::string& comment);
38
private
:
39
LicenseGenerator
() =
delete
;
40
};
41
42
#endif
LicenseGenerator
Definition
LicenseGenerator.hh:33
LicenseGenerator::generateMITLicense
static std::string generateMITLicense(const std::string &year, const std::string &comment)
Definition
LicenseGenerator.cc:44
LicenseGenerator::~LicenseGenerator
~LicenseGenerator()
Definition
LicenseGenerator.cc:34
LicenseGenerator::LicenseGenerator
LicenseGenerator()=delete
Generated by
1.9.8