|
stdex
Additional custom or not Standard C++ covered algorithms
|
Test for Creditor Reference. More...
#include <stdex/parser.hpp>
Public Member Functions | |
| basic_creditor_reference (const std::shared_ptr< basic_parser< T > > &space, const std::locale &locale=std::locale()) | |
| virtual bool | match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| 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) |
| template<class _Traits , class _Ax > | |
| bool | match (const std::basic_string< T, _Traits, _Ax > &text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
Public Attributes | |
| T | check_digits [3] |
| Two check digits. | |
| T | reference [22] |
| Normalized national reference number. | |
| bool | is_valid |
| Is reference valid per ISO 7064. | |
Public Attributes inherited from stdex::parser::basic_parser< T > | |
| stdex::interval< size_t > | interval |
| Region of the last match. | |
Protected Attributes | |
| std::shared_ptr< basic_parser< T > > | m_space |
Protected Attributes inherited from stdex::parser::basic_parser< T > | |
| std::locale | m_locale |
Test for Creditor Reference.
|
inlinevirtual |
Reimplemented from stdex::parser::basic_parser< T >.
|
inlinevirtual |
Implements stdex::parser::basic_parser< T >.