#include <decodeout.hpp>
Public Member Functions | |
DecodeOut (std::ostream &output_stream, DecodeContext &decode_context) | |
Constructor. | |
void | putSectionName (std::string const §ion_name) const |
Output a section name. | |
void | putField (std::string const &field_name, unsigned width_of_field_in_bits) const |
Output a field within the section. | |
void | putLoopControl (std::string const &loop_control) const |
Output the loop control. | |
bool | testLoopExit () const |
Return true when a loop within the section should exit. | |
bool | putIf (std::string const &field_name, std::string const &operation, unsigned long const &value) const |
Output an "if" conditional. | |
bool | putElse () |
Output an "else" conditional. | |
void | enterBlock () |
Enter a nested block in the section. | |
void | leaveBlock () |
Leave a nested block in the section. |
The (generated) section decoder drives the section decoding by calling the functions provided by this class.
|
Constructor.
|
|
Enter a nested block in the section.
|
|
Leave a nested block in the section.
|
|
Output an "else" conditional.
|
|
Output a field within the section.
|
|
Output an "if" conditional.
|
|
Output the loop control.
|
|
Output a section name.
|
|
Return true when a loop within the section should exit.
|