OpenASIP  2.0
ExplorerCmdLineOptions.hh
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2017 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 ExplorerCmdLineOptions.hh
26  *
27  * Declaration of ExplorerCmdLineOptions.
28  *
29  * @author Jari Mäntyneva 2007 (jari.mantyneva-no.spam-tut.fi)
30  * @author Pekka Jääskeläinen 2011, 2017
31  * @note rating: red
32  */
33 
34 #ifndef TTA_EXPLORER_CMDLINE_OPTIONS_HH
35 #define TTA_EXPLORER_CMDLINE_OPTIONS_HH
36 
37 #include <string>
38 
39 #include "CmdLineOptions.hh"
40 #include "DBTypes.hh"
41 
42 /**
43  * Command line option class for Explorer.
44  */
46 public:
48  virtual ~ExplorerCmdLineOptions();
49 
50  virtual void printVersion() const;
51  virtual void printHelp() const;
52 
53  std::string explorerPlugin() const;
54  std::string pluginInfo() const;
56  std::string testApplicationDirectory(int index) const;
57  int explorerPluginParameterCount() const;
58  std::string explorerPluginParameter(int index) const;
59  bool numberOfConfigurations() const;
60  bool printSummary() const;
61  std::string summaryOrdering() const;
62  bool writeOutConfiguration() const;
63  bool writeOutBestConfiguration() const;
64 
66  RowID configurationToWrite(int index) const;
67  bool printApplications() const;
68  bool printPlugins() const;
69  int applicationIDToRemoveCount() const;
70  RowID applicationIDToRemove(int index) const;
71  bool hdbFileNames() const;
72  int hdbFileNameCount() const;
73  std::string hdbFileName(int index) const;
74  RowID startConfiguration() const;
75  bool adfFile() const;
76  bool adfOutFile() const;
77 
78  bool idfFile() const;
79  std::string adfFileName() const;
80  std::string adfOutFileName() const;
81  std::string idfFileName() const;
82 
83  std::string paretoSetValues() const;
84 
85  bool compilerOptions() const;
86  std::string compilerOptionsString() const;
87 
88 private:
89  /// Copying not allowed.
91  /// Assignment not allowed.
93 };
94 
95 #endif
ExplorerCmdLineOptions::adfOutFileName
std::string adfOutFileName() const
Definition: ExplorerCmdLineOptions.cc:574
ExplorerCmdLineOptions::adfFileName
std::string adfFileName() const
Definition: ExplorerCmdLineOptions.cc:565
ExplorerCmdLineOptions::hdbFileNames
bool hdbFileNames() const
Definition: ExplorerCmdLineOptions.cc:483
ExplorerCmdLineOptions::numberOfConfigurations
bool numberOfConfigurations() const
Definition: ExplorerCmdLineOptions.cc:349
ExplorerCmdLineOptions::paretoSetValues
std::string paretoSetValues() const
Definition: ExplorerCmdLineOptions.cc:379
ExplorerCmdLineOptions::printHelp
virtual void printHelp() const
Definition: ExplorerCmdLineOptions.cc:242
ExplorerCmdLineOptions::applicationIDToRemoveCount
int applicationIDToRemoveCount() const
Definition: ExplorerCmdLineOptions.cc:455
ExplorerCmdLineOptions::idfFileName
std::string idfFileName() const
Definition: ExplorerCmdLineOptions.cc:590
ExplorerCmdLineOptions::operator=
ExplorerCmdLineOptions & operator=(const ExplorerCmdLineOptions &)
Assignment not allowed.
ExplorerCmdLineOptions::~ExplorerCmdLineOptions
virtual ~ExplorerCmdLineOptions()
Definition: ExplorerCmdLineOptions.cc:224
RowID
int RowID
Type definition of row ID in relational databases.
Definition: DBTypes.hh:37
ExplorerCmdLineOptions::explorerPluginParameter
std::string explorerPluginParameter(int index) const
Definition: ExplorerCmdLineOptions.cc:335
CmdLineOptions.hh
ExplorerCmdLineOptions::explorerPlugin
std::string explorerPlugin() const
Definition: ExplorerCmdLineOptions.cc:274
ExplorerCmdLineOptions::testApplicationDirectoryCount
int testApplicationDirectoryCount() const
Definition: ExplorerCmdLineOptions.cc:294
ExplorerCmdLineOptions::applicationIDToRemove
RowID applicationIDToRemove(int index) const
Definition: ExplorerCmdLineOptions.cc:469
ExplorerCmdLineOptions::testApplicationDirectory
std::string testApplicationDirectory(int index) const
Definition: ExplorerCmdLineOptions.cc:308
ExplorerCmdLineOptions::hdbFileNameCount
int hdbFileNameCount() const
Definition: ExplorerCmdLineOptions.cc:493
DBTypes.hh
ExplorerCmdLineOptions::configurationToWrite
RowID configurationToWrite(int index) const
Definition: ExplorerCmdLineOptions.cc:421
ExplorerCmdLineOptions
Definition: ExplorerCmdLineOptions.hh:45
CmdLineOptions
Definition: CmdLineOptions.hh:54
ExplorerCmdLineOptions::writeOutConfiguration
bool writeOutConfiguration() const
Definition: ExplorerCmdLineOptions.cc:393
ExplorerCmdLineOptions::compilerOptions
bool compilerOptions() const
Definition: ExplorerCmdLineOptions.cc:604
ExplorerCmdLineOptions::printApplications
bool printApplications() const
Definition: ExplorerCmdLineOptions.cc:435
ExplorerCmdLineOptions::compilerOptionsString
std::string compilerOptionsString() const
Definition: ExplorerCmdLineOptions.cc:616
ExplorerCmdLineOptions::writeOutBestConfiguration
bool writeOutBestConfiguration() const
Definition: ExplorerCmdLineOptions.cc:398
ExplorerCmdLineOptions::idfFile
bool idfFile() const
Definition: ExplorerCmdLineOptions.cc:553
ExplorerCmdLineOptions::adfOutFile
bool adfOutFile() const
Definition: ExplorerCmdLineOptions.cc:543
ExplorerCmdLineOptions::ExplorerCmdLineOptions
ExplorerCmdLineOptions()
Definition: ExplorerCmdLineOptions.cc:117
ExplorerCmdLineOptions::printSummary
bool printSummary() const
Definition: ExplorerCmdLineOptions.cc:359
ExplorerCmdLineOptions::printPlugins
bool printPlugins() const
Definition: ExplorerCmdLineOptions.cc:445
ExplorerCmdLineOptions::pluginInfo
std::string pluginInfo() const
Definition: ExplorerCmdLineOptions.cc:284
ExplorerCmdLineOptions::adfFile
bool adfFile() const
Definition: ExplorerCmdLineOptions.cc:538
ExplorerCmdLineOptions::startConfiguration
RowID startConfiguration() const
Definition: ExplorerCmdLineOptions.cc:523
ExplorerCmdLineOptions::hdbFileName
std::string hdbFileName(int index) const
Definition: ExplorerCmdLineOptions.cc:506
ExplorerCmdLineOptions::explorerPluginParameterCount
int explorerPluginParameterCount() const
Definition: ExplorerCmdLineOptions.cc:322
ExplorerCmdLineOptions::numberOfConfigurationsToWrite
int numberOfConfigurationsToWrite() const
Definition: ExplorerCmdLineOptions.cc:408
ExplorerCmdLineOptions::summaryOrdering
std::string summaryOrdering() const
Definition: ExplorerCmdLineOptions.cc:369
ExplorerCmdLineOptions::printVersion
virtual void printVersion() const
Definition: ExplorerCmdLineOptions.cc:231