OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-storage commits / 4984663

Add static helper functions
498466344e448ad136c05f068774aa8831dbe5c2
by Linas Vepštas <linasvepstas@gmail.com> · 2025-12-09T00:44:28.000Z

Changed files (1) +4 -0

opencog/persist/api/StorageNode.h +4 -0
……@@ -49,9 +49,13 @@ protected:
4949 void get_atoms_in_frame(const AtomSpace* as, HandleSeq& fseq) const
5050 { as->get_atoms_in_frame(fseq); }
5151
52 static inline void markAtomIsKey(const Handle& h) { h->markIsKey(); }
53 static inline void markAtomIsMessage(const Handle& h) { h->markIsMessage(); }
54
5255 void remove_msg(const ValuePtr&, bool recursive=false);
5356 void load_atoms_of_type_msg(const ValuePtr&);
5457 void fetch_query_msg(const ValuePtr&);
58
5559public:
5660 StorageNode(Type, std::string);
5761 virtual ~StorageNode();