Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
key_expression.h File Reference
#include <string>
#include <vector>
#include "goby/middleware/transport/identifier.h"

Go to the source code of this file.

Namespaces

namespace  goby
 The global namespace for the Goby project.
 
namespace  goby::zenoh
 
namespace  goby::zenoh::detail
 

Functions

bool goby::zenoh::detail::is_reserved (char c)
 Characters that cannot appear in a key expression chunk.
 
std::string goby::zenoh::detail::escape_chunk (const std::string &chunk)
 Percent-encode the characters a key expression chunk cannot carry.
 
std::string goby::zenoh::detail::unescape_chunk (const std::string &chunk)
 Invert escape_chunk(). A trailing or malformed escape is passed through unchanged.
 
std::vector< std::string > goby::zenoh::detail::split_identifier (const std::string &identifier)
 Split a Goby interprocess identifier into its '/'-delimited components.
 
std::string goby::zenoh::detail::join_identifier (const std::vector< std::string > &components)
 Rebuild a Goby identifier from key expression chunks, with the trailing delimiter Goby expects.
 
std::string goby::zenoh::detail::identifier_to_key (const std::string &root, const std::string &identifier, bool wildcard_suffix)
 Map a Goby identifier onto a key expression below root.
 
std::string goby::zenoh::detail::key_to_identifier (const std::string &root, const std::string &key)
 Invert identifier_to_key() for a received sample, whose key is always fully qualified.
 

Variables

constexpr const char * goby::zenoh::detail::empty_chunk = "%"
 The chunk standing for an empty identifier component, which Zenoh would reject.