libwreport 2.1
Public Member Functions | Data Fields
wreport::bulletin::BaseVisitor Struct Reference

Common bulletin::Visitor base for visitors that modify the bulletin. More...

#include <internals.h>

Inheritance diagram for wreport::bulletin::BaseVisitor:
wreport::bulletin::Visitor wreport::opcode::Visitor

Public Member Functions

 BaseVisitor (Bulletin &bulletin)
 Create visitor for the given bulletin.
Varget_var ()
 Get the next variable.
Varget_var (unsigned var_pos) const
 Get the variable at the given position.
virtual void do_start_subset (unsigned subset_no, const Subset &current_subset)
 Notify the start of a subset.
virtual const Vardo_bitmap (Varcode code, Varcode rep_code, Varcode delayed_code, const Opcodes &ops)
 Request processing of a data present bitmap.

Data Fields

Bulletinbulletin
 Bulletin being visited.
unsigned current_subset_no
 Index of the subset being visited.
unsigned current_var
 Index of the next variable to be visited.

Detailed Description

Common bulletin::Visitor base for visitors that modify the bulletin.

This assumes a fully decoded bulletin.


Member Function Documentation

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.

Returns a pointer to the bitmap that has been processed.

Implements wreport::bulletin::Visitor.


The documentation for this struct was generated from the following file: