|
stdex
Additional custom or not Standard C++ covered algorithms
|
Test for repeating. More...
#include <stdex/parser.hpp>
Public Member Functions | |
| basic_iterations (const std::shared_ptr< basic_parser< T > > &el, size_t min_iterations=0, size_t max_iterations=(size_t) -1, bool greedy=true) | |
| virtual bool | match (_In_reads_or_z_(end) const T *text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
Public Member Functions inherited from stdex::parser::basic_parser< T > | |
| basic_parser (const std::locale &locale=std::locale()) | |
| bool | search (_In_reads_or_z_(end) const T *text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
| virtual bool | match (_In_reads_or_z_(end) const T *text, size_t start=0, size_t end=(size_t) -1, int flags=match_default)=0 |
| template<class _Traits , class _Ax > | |
| bool | match (const std::basic_string< T, _Traits, _Ax > &text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
| virtual void | invalidate () |
Protected Attributes | |
| std::shared_ptr< basic_parser< T > > | m_el |
| repeating element | |
| size_t | m_min_iterations |
| minimum number of iterations | |
| size_t | m_max_iterations |
| maximum number of iterations | |
| bool | m_greedy |
| try to match as long sequence as possible | |
Protected Attributes inherited from stdex::parser::basic_parser< T > | |
| std::locale | m_locale |
Additional Inherited Members | |
Public Attributes inherited from stdex::parser::basic_parser< T > | |
| interval< size_t > | interval |
| Region of the last match. | |
Test for repeating.
|
inlinevirtual |
Implements stdex::parser::basic_parser< T >.