dds-scanfeatures.h
#ifndef WREPORT_BULLETIN_DDS_SCANFEATURES_H
#define WREPORT_BULLETIN_DDS_SCANFEATURES_H
#include <wreport/bulletin/interpreter.h>
#include <set>
namespace wreport {
namespace bulletin {
class ScanFeatures : public Interpreter
{
public:
std::set<std::string> features;
ScanFeatures(const Tables& tables, const Opcodes& opcodes);
void c_modifier(Varcode code, Opcodes& next) override;
void r_replication(Varcode code, Varcode delayed_code, const Opcodes& ops) override;
void define_variable(Varinfo info) override;
void define_bitmap(unsigned bitmap_size) override;
unsigned define_associated_field_significance(Varinfo info) override;
unsigned define_bitmap_delayed_replication_factor(Varinfo info) override;
};
}
}
#endif
wreport::bulletin::ScanFeatures::define_bitmap_delayed_replication_factor
unsigned define_bitmap_delayed_replication_factor(Varinfo info) override
Request processing of a delayed replication factor variable used to encode the size of a bitmap.
wreport::bulletin::ScanFeatures::features
std::set< std::string > features
Features that have been found.
Definition dds-scanfeatures.h:17
wreport::bulletin::ScanFeatures::define_variable
void define_variable(Varinfo info) override
Request processing, according to info, of a data variable.
wreport::bulletin::ScanFeatures::define_bitmap
void define_bitmap(unsigned bitmap_size) override
Request processing of a data present bitmap.
wreport::bulletin::ScanFeatures::c_modifier
void c_modifier(Varcode code, Opcodes &next) override
Notify of a C modifier.
wreport::bulletin::ScanFeatures::define_associated_field_significance
unsigned define_associated_field_significance(Varinfo info) override
Request processing of an associated field significance variable (B31021).
wreport::bulletin::ScanFeatures::r_replication
void r_replication(Varcode code, Varcode delayed_code, const Opcodes &ops) override
Handle a replicated section.
wreport::bulletin
The bulletin namespace contains bulletin implementation details, internals and utility functions.
Definition input.h:13
wreport
String functions.
Definition benchmark.h:13
wreport::Varinfo
const _Varinfo * Varinfo
Varinfo reference.
Definition fwd.h:11
wreport::Varcode
uint16_t Varcode
Holds the WMO variable code of a variable.
Definition fwd.h:12
wreport::Opcodes
Sequence of opcodes, as a slice of a Varcode vector.
Definition opcodes.h:20
wreport::Tables
Collection of BUFR/CREX tables used to work on a bulletin.
Definition tables.h:15