Loading...
Searching...
No Matches
src.hpp
Go to the documentation of this file.
1
2#pragma once
3
5
6namespace by {
15 class _nout src: public instance {
16 BY(CLASS(src, instance))
17
18 public:
19 src(const srcFile& file, const std::string& name, const point& pos);
20
21 public:
22 const srcFile* getFile() const;
23 const point& getPos() const;
24 const std::string& getName() const;
25 virtual void setFile(const srcFile& new1);
26 virtual void setPos(const point& new1);
27 virtual void setName(const std::string& new1);
28
29 private:
30 tstr<srcFile> _file;
31 std::string _name;
32 point _pos;
33 };
34
35 template <typename T, typename WRP> class tnarr;
36 typedef tnarr<src> srcs;
37}
Source code file information.
Definition srcFile.hpp:14
Source location information.
Definition src.hpp:15
Definition tnarr.hpp:9
to Top