Loading...
Searching...
No Matches
packMakable.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/common.hpp"
5
6namespace by {
7
8 class obj;
9 class src;
10 class errReport;
11 class pack;
12 template <typename T, typename R, typename RSquare> class tucontainable;
13 typedef tucontainable<node, node*, node&> ucontainable;
14 template <typename T, typename WRP> class tnarr;
15 typedef tnarr<src, strTactic> srcs;
16
22 class _nout packMakable {
23 BY_ME(packMakable)
24 BY_INIT_META(me)
25
26 public:
33 virtual nbool parse(errReport& rpt, pack& pak) = 0;
34
35 virtual nbool expand(errReport& rpt, pack& pak) = 0;
42 virtual nbool verify(errReport& rpt, pack& pak) = 0;
43 };
44}
Error report collector.
Definition errReport.hpp:24
Pack.
Definition pack.hpp:21
Interface for pack creation and verification.
Definition packMakable.hpp:22
virtual nbool verify(errReport &rpt, pack &pak)=0
Pure virtual method for verifying the parsed pack content.
virtual nbool parse(errReport &rpt, pack &pak)=0
Pure virtual method for parsing pack content into source representations.
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34