|
libwreport
2.4
|
Common bulletin::Visitor base for visitors that modify the bulletin. More...
#include <internals.h>
Public Member Functions | |
| BaseVisitor (Bulletin &bulletin) | |
| Create visitor for the given bulletin. | |
| Var & | get_var () |
| Get the next variable. | |
| Var & | get_var (unsigned var_pos) const |
| Get the variable at the given position. | |
| virtual void | do_start_subset (unsigned subset_no, const Subset ¤t_subset) |
| Notify the start of a subset. | |
| virtual const Var & | do_bitmap (Varcode code, Varcode rep_code, Varcode delayed_code, const Opcodes &ops) |
| Request processing of a data present bitmap. | |
Data Fields | |
| Bulletin & | bulletin |
| Bulletin being visited. | |
| unsigned | current_subset_no |
| Index of the subset being visited. | |
| unsigned | current_var |
| Index of the next variable to be visited. | |
Common bulletin::Visitor base for visitors that modify the bulletin.
This assumes a fully decoded bulletin.
| virtual const Var& wreport::bulletin::BaseVisitor::do_bitmap | ( | Varcode | code, |
| Varcode | rep_code, | ||
| Varcode | delayed_code, | ||
| const Opcodes & | ops | ||
| ) | [virtual] |
Request processing of a data present bitmap.
| code | The C modifier code that defines the bitmap |
| rep_code | The R replicator that defines the bitmap |
| delayed_code | The B delayed replicator that defines the bitmap length (it is 0 if the length is encoded in the YYY part of rep_code |
| ops | The replicated opcodes that define the bitmap |
Implements wreport::bulletin::Visitor.
1.7.6.1