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

bulletin::Visitor that checks if the data that has been added to the bulletin subsets can actualy be encoded matching the bulletin Data Descriptor Section. More...

#include <dds-validator.h>

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

Public Member Functions

 DDSValidator (const Bulletin &b)
 Create a new DDS validator.
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 void do_char_data (Varcode code)
 Request processing of C05yyy character data.
virtual void do_associated_field (unsigned bit_count, unsigned significance)
 Request processing of bit_count bits of associated field with the given significance.

Detailed Description

bulletin::Visitor that checks if the data that has been added to the bulletin subsets can actualy be encoded matching the bulletin Data Descriptor Section.


Constructor & Destructor Documentation

wreport::bulletin::DDSValidator::DDSValidator ( const Bulletin b)

Create a new DDS validator.

Parameters:
bReference to the bulletin being visited

Member Function Documentation

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