Loading...
Searching...
No Matches
podLoading.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/ast/obj.hpp"
8
9namespace by {
10
11 class pod;
12 struct manifest;
13 typedef tnchain<std::string, pod> podChain;
14 class errReport;
15 class pod;
16
22 class _nout podLoading: public instance, public podMakable {
23 BY(ADT(podLoading, instance))
24
25 typedef nbool (me::*podEvent)(const podChain&);
26
27 public:
28 void addPath(const std::string& filePath);
29 void addPath(const std::vector<std::string> paths);
30
31 virtual void rel();
32
33 virtual const std::string& getName() const = 0;
34
35 protected:
36 const std::vector<std::string>& _getPaths() const;
37 virtual void _tryDump(const errReport& rpt, const pod& pak, ncnt prevCnt) const;
38
39 private:
40 std::vector<std::string> _paths;
41 };
42
43 typedef std::vector<podLoading*> podLoadings;
44}
Error report collector.
Definition errReport.hpp:24
Pod.
Definition pod.hpp:21
Base class for pod loading strategies.
Definition podLoading.hpp:22
Interface for pod creation and verification.
Definition podMakable.hpp:22
Definition tnarr.hpp:9
to Top