stdex
Additional custom or not Standard C++ covered algorithms
|
Test for Roman numeral. More...
#include <stdex/parser.hpp>
Public Member Functions | |
basic_roman_numeral (const std::shared_ptr< basic_parser< T > > &digit_1, const std::shared_ptr< basic_parser< T > > &digit_5, const std::shared_ptr< basic_parser< T > > &digit_10, const std::shared_ptr< basic_parser< T > > &digit_50, const std::shared_ptr< basic_parser< T > > &digit_100, const std::shared_ptr< basic_parser< T > > &digit_500, const std::shared_ptr< basic_parser< T > > &digit_1000, const std::shared_ptr< basic_parser< T > > &digit_5000, const std::shared_ptr< basic_parser< T > > &digit_10000, const std::locale &locale=std::locale()) | |
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) |
![]() | |
basic_integer (const std::locale &locale=std::locale()) | |
virtual void | invalidate () |
![]() | |
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_digit_1 |
std::shared_ptr< basic_parser< T > > | m_digit_5 |
std::shared_ptr< basic_parser< T > > | m_digit_10 |
std::shared_ptr< basic_parser< T > > | m_digit_50 |
std::shared_ptr< basic_parser< T > > | m_digit_100 |
std::shared_ptr< basic_parser< T > > | m_digit_500 |
std::shared_ptr< basic_parser< T > > | m_digit_1000 |
std::shared_ptr< basic_parser< T > > | m_digit_5000 |
std::shared_ptr< basic_parser< T > > | m_digit_10000 |
![]() | |
std::locale | m_locale |
Additional Inherited Members | |
![]() | |
size_t | value |
Calculated value of the numeral. | |
![]() | |
interval< size_t > | interval |
Region of the last match. | |
Test for Roman numeral.
|
inlinevirtual |
Implements stdex::parser::basic_parser< T >.