NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
store.h File Reference

Cross-thread shared memory store (LangGraph Store equivalent). More...

#include <neograph/api.h>
#include <neograph/types.h>
#include <string>
#include <vector>
#include <optional>
#include <mutex>
#include <map>
#include <chrono>
#include <tuple>
Include dependency graph for store.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::graph::InMemoryStore
 In-memory store implementation for testing and single-process use. More...
 
class  neograph::graph::Store
 Abstract interface for cross-thread shared memory. More...
 
struct  neograph::graph::StoreItem
 A single item stored in the cross-thread Store. More...
 

Typedefs

using neograph::graph::Namespace = std::vector< std::string >
 Hierarchical namespace path for store items.
 

Detailed Description

Cross-thread shared memory store (LangGraph Store equivalent).

Provides namespaced key-value storage that persists across threads. Use cases: long-term user preferences, shared knowledge, agent memory.

Definition in file store.h.

Typedef Documentation

◆ Namespace

using neograph::graph::Namespace = typedef std::vector<std::string>

Hierarchical namespace path for store items.

A namespace is a vector of strings forming a hierarchical path, e.g., {"users", "user123", "preferences"}.

Definition at line 28 of file store.h.