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