| 14 | namespace Valdi { |
| 15 | |
| 16 | class ComponentPath { |
| 17 | public: |
| 18 | ComponentPath() noexcept; |
| 19 | ComponentPath(ResourceId resourceId, StringBox symbolName) noexcept; |
| 20 | |
| 21 | const ResourceId& getResourceId() const; |
| 22 | const StringBox& getSymbolName() const; |
| 23 | |
| 24 | std::string toString() const; |
| 25 | |
| 26 | bool isEmpty() const; |
| 27 | |
| 28 | static ComponentPath parse(const StringBox& componentPathString); |
| 29 | |
| 30 | friend std::ostream& operator<<(std::ostream& os, const ComponentPath& d) noexcept; |
| 31 | |
| 32 | private: |
| 33 | ResourceId _resourceId; |
| 34 | StringBox _symbolName; |
| 35 | }; |
| 36 | |
| 37 | } // namespace Valdi |