Otawa  0.10
features.h
Go to the documentation of this file.
1 /*
2  * features for the ilp module
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2013, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef OTAWA_ILP_FEATURES_H_
22 #define OTAWA_ILP_FEATURES_H_
23 
24 #include <elm/sys/Path.h>
26 //#include <elm/enum_info.h>
27 
28 namespace otawa { namespace ilp {
29 
30 typedef enum format_t {
31  DEFAULT = 0,
32  LP_SOLVE = 1,
33  CPLEX = 2,
34  MOSEK = 3
35 } format_t;
36 
37 // Output feature
42 
43 }
44 
45 } // otawa::ilp
46 
47 namespace elm { template <> struct type_info<otawa::ilp::format_t>: enum_info<otawa::ilp::format_t> { }; } // elm
48 
49 #endif /* FEATURES_H_ */
SilentFeature OUTPUT_FEATURE
This feature ensures that an output of the ILP system has been produced.
The usual Feature class has as drawback to exhibit completely the processing of the feature and there...
Definition: SilentFeature.h:32
format_t
Definition: features.h:30
Identifier< sys::Path > OUTPUT_PATH
Select the file to perform the output during build of OUTPUT_FEATURE.
Definition: features.h:34
Identifier< elm::io::OutStream * > OUTPUT
Select the output stream to perform the output to to build a OUTPUT_FEATURE.
Definition: features.h:32
Definition: features.h:33
enum otawa::ilp::format_t format_t
Identifier< format_t > OUTPUT_FORMAT
Select the output format to build the OUTPUT_FEATURE.
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
Definition: features.h:31