ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
path_parser.hpp File Reference
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for path_parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rux::database::PathError
 Exception thrown when path parsing fails. More...
struct  rux::database::PathComponent
 Represents a single component in a resource path. More...

Namespaces

namespace  rux
namespace  rux::database

Enumerations

enum class  rux::database::ComponentType { rux::database::Collection , rux::database::Item , rux::database::Property , rux::database::Index }
 Type of path component. More...

Functions

std::vector< PathComponentrux::database::parse_path (std::string_view path)
 Parse a resource path into components.
bool rux::database::is_valid_collection (std::string_view name)
 Check if a collection name is valid.
std::vector< std::string > rux::database::expand_wildcard (std::string_view pattern, const std::vector< std::string > &items)
 Expand wildcard patterns in item names.
bool rux::database::matches_wildcard (std::string_view str, std::string_view pattern)
 Check if a string matches a wildcard pattern.