A glob pattern matcher for C++ symbols

Synopsis

Declared in <mrdocs/Support/Glob.hpp>

class SymbolGlobPattern;

Member Functions

Name

Description

SymbolGlobPattern [constructor]

Construct an empty SymbolGlobPattern.

isLiteral

Checks if the glob pattern is a literal string.

match

Matches the given string against the glob pattern.

matchPatternPrefix

Matches the start of a given string against the glob pattern.

pattern

Returns the glob pattern.

Static Member Functions

Name

Description

create

Constructs a SymbolGlobPattern with the given pattern.

Description

A glob pattern matcher where "*" does not match "::". The pattern "*" can be used to match any number of "::".

Created with MrDocs