MCPcopy Create free account
hub / github.com/Snapchat/Valdi / ComponentPath

Class ComponentPath

valdi_core/src/valdi_core/cpp/Context/ComponentPath.hpp:16–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace Valdi {
15
16class ComponentPath {
17public:
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
32private:
33 ResourceId _resourceId;
34 StringBox _symbolName;
35};
36
37} // namespace Valdi

Callers 1

parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected