libwreport  2.4
Public Member Functions | Data Fields
wreport::bulletin::ConstBaseVisitor Struct Reference

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

#include <internals.h>

Inheritance diagram for wreport::bulletin::ConstBaseVisitor:
wreport::bulletin::Visitor wreport::opcode::Visitor wreport::bulletin::DDSPrinter wreport::bulletin::DDSValidator

Public Member Functions

 ConstBaseVisitor (const Bulletin &bulletin)
 Create visitor for the given bulletin.
const Varget_var ()
 Get the next variable.
const 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

const 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 do not modify the bulletin.

This assumes a fully decoded bulletin.


Member Function Documentation

virtual const Var& wreport::bulletin::ConstBaseVisitor::do_bitmap ( Varcode  code,
Varcode  rep_code,
Varcode  delayed_code,
const Opcodes ops 
) [virtual]

Request processing of a data present bitmap.

Parameters:
codeThe C modifier code that defines the bitmap
rep_codeThe R replicator that defines the bitmap
delayed_codeThe B delayed replicator that defines the bitmap length (it is 0 if the length is encoded in the YYY part of rep_code
opsThe replicated opcodes that define the bitmap
Returns:
The bitmap that has been processed.

Implements wreport::bulletin::Visitor.

Reimplemented in wreport::bulletin::DDSPrinter.


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