NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
channel_key.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <string>
8#include <utility>
9
10namespace neograph::graph {
11
18template <typename T>
20public:
21 using value_type = T;
22
23 explicit ChannelKey(std::string name) : name_(std::move(name)) {}
24
25 const std::string& name() const noexcept { return name_; }
26
27private:
28 std::string name_;
29};
30
31} // namespace neograph::graph
Bind a channel name to its expected C++ value type.
Definition channel_key.h:19