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

Test for emoticon. More...

#include <stdex/parser.hpp>

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

Public Member Functions

 basic_emoticon (const std::shared_ptr< basic_parser< T > > &_emoticon, const std::shared_ptr< basic_parser< T > > &_apex, const std::shared_ptr< basic_parser< T > > &_eyes, const std::shared_ptr< basic_parser< T > > &_nose, const std::shared_ptr< basic_set< T > > &_mouth, 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::shared_ptr< basic_parser< T > > emoticon
 emoticon as a whole (e.g. 😀, 🤔, 😶)
 
std::shared_ptr< basic_parser< T > > apex
 apex/eyebrows/halo (e.g. O, 0)
 
std::shared_ptr< basic_parser< T > > eyes
 eyes (e.g. :, ;, >, |, B)
 
std::shared_ptr< basic_parser< T > > nose
 nose (e.g. -, o)
 
std::shared_ptr< basic_set< T > > mouth
 mouth (e.g. ), ), (, (, |, P, D, p, d)
 
- Public Attributes inherited from stdex::parser::basic_parser< T >
interval< size_tinterval
 Region of the last match.
 

Additional Inherited Members

- Protected Attributes inherited from stdex::parser::basic_parser< T >
std::locale m_locale
 

Detailed Description

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

Test for emoticon.

Member Function Documentation

◆ invalidate()

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

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

◆ match()

template<class T >
virtual bool stdex::parser::basic_emoticon< 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: