OpenASIP  2.0
TTAUnitTesterCmdLineOptions.hh
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2009 Tampere University.
3 
4  This file is part of TTA-Based Codesign Environment (TCE).
5 
6  Permission is hereby granted, free of charge, to any person obtaining a
7  copy of this software and associated documentation files (the "Software"),
8  to deal in the Software without restriction, including without limitation
9  the rights to use, copy, modify, merge, publish, distribute, sublicense,
10  and/or sell copies of the Software, and to permit persons to whom the
11  Software is furnished to do so, subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in
14  all copies or substantial portions of the Software.
15 
16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  DEALINGS IN THE SOFTWARE.
23  */
24 /**
25  * @file TTAUnitTesterCmdLineOptions.hh
26  *
27  * Declaration of TestHDBCmdLineOptions class.
28  *
29  * @author Otto Esko 2010 (otto.esko-no.spam-tut.fi)
30  * @note rating: red
31  */
32 
33 #ifndef TTA_TTA_UNIT_TESTER_CMD_LINE_OPTIONS_HH
34 #define TTA_TTA_UNIT_TESTER_CMD_LINE_OPTIONS_HH
35 
36 #include <string>
37 #include "CmdLineOptions.hh"
38 
40 public:
43 
44  bool verbose() const;
45 
46  bool leaveDirty() const;
47 
48  std::string vhdlSim() const;
49 
50  std::string adfFileName() const;
51 
52  std::string idfFileName() const;
53 
54  void printVersion() const;
55 
56  void printHelp() const;
57 
58 private:
59  /// Long name of verbose output parameter
60  static const std::string VERBOSE_PARAM_NAME;
61  /// Long name of leave dirty parameter
62  static const std::string DIRTY_PARAM_NAME;
63  /// Long name of VHDL simulator parameter
64  static const std::string SIM_PARAM_NAME;
65  /// Long name of ADF file parameter
66  static const std::string ADF_PARAM_NAME;
67 };
68 
69 #endif
TTAUnitTesterCmdLineOptions::leaveDirty
bool leaveDirty() const
Definition: TTAUnitTesterCmdLineOptions.cc:81
TTAUnitTesterCmdLineOptions::DIRTY_PARAM_NAME
static const std::string DIRTY_PARAM_NAME
Long name of leave dirty parameter.
Definition: TTAUnitTesterCmdLineOptions.hh:62
TTAUnitTesterCmdLineOptions::vhdlSim
std::string vhdlSim() const
Definition: TTAUnitTesterCmdLineOptions.cc:88
TTAUnitTesterCmdLineOptions::adfFileName
std::string adfFileName() const
Definition: TTAUnitTesterCmdLineOptions.cc:95
CmdLineOptions.hh
TTAUnitTesterCmdLineOptions::VERBOSE_PARAM_NAME
static const std::string VERBOSE_PARAM_NAME
Long name of verbose output parameter.
Definition: TTAUnitTesterCmdLineOptions.hh:60
TTAUnitTesterCmdLineOptions::SIM_PARAM_NAME
static const std::string SIM_PARAM_NAME
Long name of VHDL simulator parameter.
Definition: TTAUnitTesterCmdLineOptions.hh:64
TTAUnitTesterCmdLineOptions
Definition: TTAUnitTesterCmdLineOptions.hh:39
TTAUnitTesterCmdLineOptions::verbose
bool verbose() const
Definition: TTAUnitTesterCmdLineOptions.cc:74
CmdLineOptions
Definition: CmdLineOptions.hh:54
TTAUnitTesterCmdLineOptions::idfFileName
std::string idfFileName() const
Definition: TTAUnitTesterCmdLineOptions.cc:102
TTAUnitTesterCmdLineOptions::printHelp
void printHelp() const
Definition: TTAUnitTesterCmdLineOptions.cc:114
TTAUnitTesterCmdLineOptions::ADF_PARAM_NAME
static const std::string ADF_PARAM_NAME
Long name of ADF file parameter.
Definition: TTAUnitTesterCmdLineOptions.hh:66
TTAUnitTesterCmdLineOptions::~TTAUnitTesterCmdLineOptions
~TTAUnitTesterCmdLineOptions()
Definition: TTAUnitTesterCmdLineOptions.cc:69
TTAUnitTesterCmdLineOptions::TTAUnitTesterCmdLineOptions
TTAUnitTesterCmdLineOptions()
Definition: TTAUnitTesterCmdLineOptions.cc:44
TTAUnitTesterCmdLineOptions::printVersion
void printVersion() const
Definition: TTAUnitTesterCmdLineOptions.cc:107