OpenASIP  2.0
TestHDBCmdLineOptions.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 TestHDBCmdLineOptions.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_TEST_HDB_CMD_LINE_OPTIONS_HH
34 #define TTA_TEST_HDB_CMD_LINE_OPTIONS_HH
35 
36 #include <string>
37 #include "CmdLineOptions.hh"
38 
40 public:
43 
44  bool isFUEntryIDGiven() const;
45 
46  bool isRFEntryIDGiven() const;
47 
48  bool verbose() const;
49 
50  bool leaveDirty() const;
51 
52  int fuEntryID() const;
53 
54  int rfEntryID() const;
55 
56  std::string hdbFile() const;
57 
58  std::string vhdlSim() const;
59 
60  virtual void printVersion() const;
61  virtual void printHelp() const;
62 
63 private:
64  /// Long name of the FUentryID parameter.
65  static const std::string FU_ID_PARAM_NAME;
66  /// Long name of the RFentryID parameter.
67  static const std::string RF_ID_PARAM_NAME;
68  /// Long name of verbose output parameter
69  static const std::string VERBOSE_PARAM_NAME;
70  /// Long name of leave dirty parameter
71  static const std::string DIRTY_PARAM_NAME;
72  /// Long name of VHDL simulator parameter
73  static const std::string SIM_PARAM_NAME;
74 };
75 
76 #endif
TestHDBCmdLineOptions::hdbFile
std::string hdbFile() const
Definition: TestHDBCmdLineOptions.cc:147
TestHDBCmdLineOptions::vhdlSim
std::string vhdlSim() const
Definition: TestHDBCmdLineOptions.cc:156
TestHDBCmdLineOptions::fuEntryID
int fuEntryID() const
Definition: TestHDBCmdLineOptions.cc:126
TestHDBCmdLineOptions::TestHDBCmdLineOptions
TestHDBCmdLineOptions()
Definition: TestHDBCmdLineOptions.cc:48
CmdLineOptions.hh
TestHDBCmdLineOptions::SIM_PARAM_NAME
static const std::string SIM_PARAM_NAME
Long name of VHDL simulator parameter.
Definition: TestHDBCmdLineOptions.hh:73
TestHDBCmdLineOptions::~TestHDBCmdLineOptions
~TestHDBCmdLineOptions()
Definition: TestHDBCmdLineOptions.cc:78
TestHDBCmdLineOptions::verbose
bool verbose() const
Definition: TestHDBCmdLineOptions.cc:106
TestHDBCmdLineOptions::RF_ID_PARAM_NAME
static const std::string RF_ID_PARAM_NAME
Long name of the RFentryID parameter.
Definition: TestHDBCmdLineOptions.hh:67
CmdLineOptions
Definition: CmdLineOptions.hh:54
TestHDBCmdLineOptions::FU_ID_PARAM_NAME
static const std::string FU_ID_PARAM_NAME
Long name of the FUentryID parameter.
Definition: TestHDBCmdLineOptions.hh:65
TestHDBCmdLineOptions::isFUEntryIDGiven
bool isFUEntryIDGiven() const
Definition: TestHDBCmdLineOptions.cc:86
TestHDBCmdLineOptions
Definition: TestHDBCmdLineOptions.hh:39
TestHDBCmdLineOptions::printVersion
virtual void printVersion() const
Definition: TestHDBCmdLineOptions.cc:164
TestHDBCmdLineOptions::isRFEntryIDGiven
bool isRFEntryIDGiven() const
Definition: TestHDBCmdLineOptions.cc:96
TestHDBCmdLineOptions::leaveDirty
bool leaveDirty() const
Definition: TestHDBCmdLineOptions.cc:116
TestHDBCmdLineOptions::DIRTY_PARAM_NAME
static const std::string DIRTY_PARAM_NAME
Long name of leave dirty parameter.
Definition: TestHDBCmdLineOptions.hh:71
TestHDBCmdLineOptions::VERBOSE_PARAM_NAME
static const std::string VERBOSE_PARAM_NAME
Long name of verbose output parameter.
Definition: TestHDBCmdLineOptions.hh:69
TestHDBCmdLineOptions::rfEntryID
int rfEntryID() const
Definition: TestHDBCmdLineOptions.cc:136
TestHDBCmdLineOptions::printHelp
virtual void printHelp() const
Definition: TestHDBCmdLineOptions.cc:172