|
static bool | onOrOff (const string &p) |
| Parse an "on" or "off" string. More...
|
|
string | name |
| Name of the option.
|
|
string OptionMaxInstruction::apply |
( |
Architecture * |
glb, |
|
|
const string & |
p1, |
|
|
const string & |
p2, |
|
|
const string & |
p3 |
|
) |
| const |
|
virtual |
Apply a particular configuration option to the Architecture.
This method is overloaded by the different Option classes to provide possible configuration of different parts of the Architecture. The user can provide up to three optional parameters to tailor a specific type of configuration. The method returns a confirmation/failure message as feedback.
- Parameters
-
glb | is the Architecture being configured |
p1 | is the first optional configuration string |
p2 | is the second optional configuration string |
p3 | is the third optional configuration string |
- Returns
- a confirmation/failure message
Implements ArchOption.
References Architecture::max_instructions.
The documentation for this class was generated from the following files: