Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
internal::GenericRegexSearch< RegexType, Allocator > Class Template Reference

#include <regex.h>

Public Types

typedef Encoding::Ch Ch
 
typedef RegexType::EncodingType Encoding
 

Public Member Functions

 GenericRegexSearch (const RegexType &regex, Allocator *allocator=0)
 
template<typename InputStream >
bool Match (InputStream &is)
 
bool Match (const Ch *s)
 
template<typename InputStream >
bool Search (InputStream &is)
 
bool Search (const Ch *s)
 
 ~GenericRegexSearch ()
 

Private Types

typedef RegexType::Range Range
 
typedef RegexType::State State
 

Private Member Functions

bool AddState (Stack< Allocator > &l, SizeType index)
 
size_t GetStateSetSize () const
 
bool MatchRange (SizeType rangeIndex, unsigned codepoint) const
 
template<typename InputStream >
bool SearchWithAnchoring (InputStream &is, bool anchorBegin, bool anchorEnd)
 

Private Attributes

Allocator * allocator_
 
Allocator * ownAllocator_
 
const RegexType & regex_
 
Stack< Allocator > state0_
 
Stack< Allocator > state1_
 
uint32_tstateSet_
 

Detailed Description

template<typename RegexType, typename Allocator = CrtAllocator>
class internal::GenericRegexSearch< RegexType, Allocator >

Definition at line 81 of file regex.h.

Member Typedef Documentation

template<typename RegexType, typename Allocator = CrtAllocator>
typedef Encoding::Ch internal::GenericRegexSearch< RegexType, Allocator >::Ch

Definition at line 604 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
typedef RegexType::EncodingType internal::GenericRegexSearch< RegexType, Allocator >::Encoding

Definition at line 603 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
typedef RegexType::Range internal::GenericRegexSearch< RegexType, Allocator >::Range
private

Definition at line 645 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
typedef RegexType::State internal::GenericRegexSearch< RegexType, Allocator >::State
private

Definition at line 644 of file regex.h.

Constructor & Destructor Documentation

template<typename RegexType, typename Allocator = CrtAllocator>
internal::GenericRegexSearch< RegexType, Allocator >::GenericRegexSearch ( const RegexType &  regex,
Allocator *  allocator = 0 
)
inline

Definition at line 606 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
internal::GenericRegexSearch< RegexType, Allocator >::~GenericRegexSearch ( )
inline

Definition at line 618 of file regex.h.

Member Function Documentation

template<typename RegexType, typename Allocator = CrtAllocator>
bool internal::GenericRegexSearch< RegexType, Allocator >::AddState ( Stack< Allocator > &  l,
SizeType  index 
)
inlineprivate

Definition at line 686 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
size_t internal::GenericRegexSearch< RegexType, Allocator >::GetStateSetSize ( ) const
inlineprivate

Definition at line 681 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
template<typename InputStream >
bool internal::GenericRegexSearch< RegexType, Allocator >::Match ( InputStream &  is)
inline

Definition at line 624 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
bool internal::GenericRegexSearch< RegexType, Allocator >::Match ( const Ch s)
inline

Definition at line 628 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
bool internal::GenericRegexSearch< RegexType, Allocator >::MatchRange ( SizeType  rangeIndex,
unsigned  codepoint 
) const
inlineprivate

Definition at line 701 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
template<typename InputStream >
bool internal::GenericRegexSearch< RegexType, Allocator >::Search ( InputStream &  is)
inline

Definition at line 634 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
bool internal::GenericRegexSearch< RegexType, Allocator >::Search ( const Ch s)
inline

Definition at line 638 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
template<typename InputStream >
bool internal::GenericRegexSearch< RegexType, Allocator >::SearchWithAnchoring ( InputStream &  is,
bool  anchorBegin,
bool  anchorEnd 
)
inlineprivate

Definition at line 648 of file regex.h.

Member Data Documentation

template<typename RegexType, typename Allocator = CrtAllocator>
Allocator* internal::GenericRegexSearch< RegexType, Allocator >::allocator_
private

Definition at line 713 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
Allocator* internal::GenericRegexSearch< RegexType, Allocator >::ownAllocator_
private

Definition at line 714 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
const RegexType& internal::GenericRegexSearch< RegexType, Allocator >::regex_
private

Definition at line 712 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
Stack<Allocator> internal::GenericRegexSearch< RegexType, Allocator >::state0_
private

Definition at line 715 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
Stack<Allocator> internal::GenericRegexSearch< RegexType, Allocator >::state1_
private

Definition at line 716 of file regex.h.

template<typename RegexType, typename Allocator = CrtAllocator>
uint32_t* internal::GenericRegexSearch< RegexType, Allocator >::stateSet_
private

Definition at line 717 of file regex.h.


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


choreo_rapidjson
Author(s):
autogenerated on Thu Jul 18 2019 03:59:10