libwreport
2.4
|
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>
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 Var & | do_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. |
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.
wreport::bulletin::DDSValidator::DDSValidator | ( | const Bulletin & | b | ) |
Create a new DDS validator.
b | Reference to the bulletin being visited |
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.
Implements wreport::bulletin::Visitor.