|
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()) | |
Public Member Functions inherited from stdex::parser::basic_integer< T > | |
| basic_integer (const std::locale &locale=std::locale()) | |
| virtual void | invalidate () |
Public Member Functions inherited from stdex::parser::basic_parser< T > | |
| basic_parser (const std::locale &locale=std::locale()) | |
| bool | search (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| bool | match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| bool | match (const std::basic_string_view< T, std::char_traits< T > > text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
Protected Member Functions | |
| virtual bool | do_match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
Protected Member Functions inherited from stdex::parser::basic_parser< T > | |
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 |
Protected Attributes inherited from stdex::parser::basic_parser< T > | |
| std::locale | m_locale |
Additional Inherited Members | |
Public Attributes inherited from stdex::parser::basic_integer< T > | |
| size_t | value |
| Calculated value of the numeral. | |
Public Attributes inherited from stdex::parser::basic_parser< T > | |
| stdex::interval< size_t > | interval |
| Region of the last match. | |
Test for Roman numeral.
|
inlineprotectedvirtual |
Implements stdex::parser::basic_parser< T >.