#include <wldcrd.hxx>
|
| | WildCard () |
| |
| | WildCard (std::u16string_view rWildCard, const char cSeparator='\0') |
| |
| const OUString & | getGlob () const |
| |
| void | setGlob (std::u16string_view rString) |
| |
| bool | Matches (std::u16string_view rStr) const |
| |
|
| static bool | ImpMatch (std::u16string_view aWild, std::u16string_view aStr) |
| | Tests, whether a wildcard in pWild will match for pStr. More...
|
| |
Definition at line 29 of file wldcrd.hxx.
◆ WildCard() [1/2]
◆ WildCard() [2/2]
| WildCard::WildCard |
( |
std::u16string_view |
rWildCard, |
|
|
const char |
cSeparator = '\0' |
|
) |
| |
|
inline |
◆ getGlob()
| const OUString & WildCard::getGlob |
( |
| ) |
const |
|
inline |
◆ ImpMatch()
| bool WildCard::ImpMatch |
( |
std::u16string_view |
aWild, |
|
|
std::u16string_view |
aStr |
|
) |
| |
|
staticprivate |
Tests, whether a wildcard in pWild will match for pStr.
'*' in pWild means n chars for n > 0. '?' in pWild mean match exactly one character.
Definition at line 28 of file wldcrd.cxx.
References aStr.
Referenced by Matches().
◆ Matches()
| bool WildCard::Matches |
( |
std::u16string_view |
rStr | ) |
const |
◆ setGlob()
| void WildCard::setGlob |
( |
std::u16string_view |
rString | ) |
|
|
inline |
◆ aWildString
| OUString WildCard::aWildString |
|
private |
◆ cSepSymbol
| char WildCard::cSepSymbol |
|
private |
The documentation for this class was generated from the following files: