Loading...
Searching...
No Matches
packLoading.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 pack;
12 struct manifest;
13 typedef tnchain<std::string, pack> packChain;
14
20 class _nout packLoading: public instance, public packMakable {
22
23 typedef nbool (me::*packEvent)(const packChain&);
24
25 public:
26 void addPath(const std::string& filePath);
27 void addPath(const std::vector<std::string> paths);
28
29 virtual void rel();
30
31 virtual const std::string& getName() const = 0;
32
33 protected:
34 const std::vector<std::string>& _getPaths() const;
35
36 private:
37 std::vector<std::string> _paths;
38 };
39
40 typedef std::vector<packLoading*> packLoadings;
41}
Base class for all managed instances in memlite system.
Definition instance.hpp:41
Base class for pack loading strategies.
Definition packLoading.hpp:20
Interface for pack creation and verification.
Definition packMakable.hpp:22
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34