Mercurial > hg > orthanc
diff OrthancFramework/Sources/HttpServer/StringMatcher.h @ 4300:b30a8de92ad9
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 19:33:18 +0100 |
parents | 2d5209153b32 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/StringMatcher.h Thu Nov 05 18:24:50 2020 +0100 +++ b/OrthancFramework/Sources/HttpServer/StringMatcher.h Thu Nov 05 19:33:18 2020 +0100 @@ -48,23 +48,14 @@ public: explicit StringMatcher(const std::string& pattern); - const std::string& GetPattern() const - { - return pattern_; - } + const std::string& GetPattern() const; - bool IsValid() const - { - return valid_; - } + bool IsValid() const; bool Apply(Iterator start, Iterator end); - bool Apply(const std::string& corpus) - { - return Apply(corpus.begin(), corpus.end()); - } + bool Apply(const std::string& corpus); Iterator GetMatchBegin() const;