stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
stdex::parser::basic_json_string< T > Class Template Reference

Test for JSON string. More...

#include <stdex/parser.hpp>

Inheritance diagram for stdex::parser::basic_json_string< T >:
stdex::parser::basic_parser< T >

Public Member Functions

 basic_json_string (const std::shared_ptr< basic_parser< T > > &quote, const std::shared_ptr< basic_parser< T > > &chr, const std::shared_ptr< basic_parser< T > > &escape, const std::shared_ptr< basic_parser< T > > &sol, const std::shared_ptr< basic_parser< T > > &bs, const std::shared_ptr< basic_parser< T > > &ff, const std::shared_ptr< basic_parser< T > > &lf, const std::shared_ptr< basic_parser< T > > &cr, const std::shared_ptr< basic_parser< T > > &htab, const std::shared_ptr< basic_parser< T > > &uni, const std::shared_ptr< basic_integer16< T > > &hex, 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)
 
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_(end) const T *text, size_t start=0, size_t end=(size_t) -1, 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_t) -1, int flags=match_default)
 

Public Attributes

std::basic_string< T > value
 
- Public Attributes inherited from stdex::parser::basic_parser< T >
stdex::interval< size_tinterval
 Region of the last match.
 

Protected Attributes

std::shared_ptr< basic_parser< T > > m_quote
 
std::shared_ptr< basic_parser< T > > m_chr
 
std::shared_ptr< basic_parser< T > > m_escape
 
std::shared_ptr< basic_parser< T > > m_sol
 
std::shared_ptr< basic_parser< T > > m_bs
 
std::shared_ptr< basic_parser< T > > m_ff
 
std::shared_ptr< basic_parser< T > > m_lf
 
std::shared_ptr< basic_parser< T > > m_cr
 
std::shared_ptr< basic_parser< T > > m_htab
 
std::shared_ptr< basic_parser< T > > m_uni
 
std::shared_ptr< basic_integer16< T > > m_hex
 
- Protected Attributes inherited from stdex::parser::basic_parser< T >
std::locale m_locale
 

Detailed Description

template<class T>
class stdex::parser::basic_json_string< T >

Test for JSON string.

Member Function Documentation

◆ invalidate()

template<class T >
virtual void stdex::parser::basic_json_string< T >::invalidate ( )
inlinevirtual

Reimplemented from stdex::parser::basic_parser< T >.

◆ match()

template<class T >
virtual bool stdex::parser::basic_json_string< T >::match ( _In_reads_or_z_(end) const T *  text,
size_t  start = 0,
size_t  end = (size_t)-1,
int  flags = match_default 
)
inlinevirtual

The documentation for this class was generated from the following file: