libwreport 2.1
Public Member Functions
wreport::bulletin::DDSPrinter Class Reference

bulletin::Visitor that prints the bulletin contents and its structure More...

#include <dds-printer.h>

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

Public Member Functions

 DDSPrinter (const Bulletin &b, FILE *out)
 Create a new DDS printer.
virtual void do_start_subset (unsigned subset_no, const Subset &current_subset)
 Notify the start of a subset.
virtual void do_attr (Varinfo info, unsigned var_pos, Varcode attr_code)
 Request processing, according to info, of the attribute attr_code of the variable in position var_pos in the current subset.
virtual void do_var (Varinfo info)
 Request processing, according to info, of a data variable.
virtual const Vardo_semantic_var (Varinfo info)
 Request processing, according to info, of a data variabile that is significant for controlling the encoding process.
virtual const Vardo_bitmap (Varcode code, Varcode rep_code, Varcode delayed_code, const Opcodes &ops)
 Request processing of a data present bitmap.
virtual void do_char_data (Varcode code)
 Request processing of C05yyy character data.
void do_associated_field (unsigned bit_count, unsigned significance)
 Request processing of bit_count bits of associated field with the given significance.
virtual void r_replication (Varcode code, Varcode delayed_code, const Opcodes &ops)
 opcode::Visitor methods implementation
virtual void d_group_begin (Varcode code)
 Notify the start of a D group.
virtual void d_group_end (Varcode code)
 Notify the end of a D group.

Detailed Description

bulletin::Visitor that prints the bulletin contents and its structure


Constructor & Destructor Documentation

wreport::bulletin::DDSPrinter::DDSPrinter ( const Bulletin b,
FILE *  out 
)

Create a new DDS printer.

Parameters:
bReference to the bulletin being visited
outFILE to print to

Member Function Documentation

virtual void wreport::bulletin::DDSPrinter::d_group_begin ( Varcode  code) [virtual]

Notify the start of a D group.

Parameters:
codeThe D code that is being expanded

Reimplemented from wreport::opcode::Visitor.

virtual void wreport::bulletin::DDSPrinter::d_group_end ( Varcode  code) [virtual]

Notify the end of a D group.

Parameters:
codeThe D code that has just been expanded

Reimplemented from wreport::opcode::Visitor.

virtual const Var& wreport::bulletin::DDSPrinter::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.

Reimplemented from wreport::bulletin::ConstBaseVisitor.

virtual const Var& wreport::bulletin::DDSPrinter::do_semantic_var ( Varinfo  info) [virtual]

Request processing, according to info, of a data variabile that is significant for controlling the encoding process.

This means that the variable has always the same value on all datasets (in case of compressed datasets), and that the interpreter needs to know its value.

Returns:
a copy of the variable

Implements wreport::bulletin::Visitor.


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