Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
internal::GenericRegexSearch< RegexType, Allocator > Class Template Reference
Collaboration diagram for internal::GenericRegexSearch< RegexType, Allocator >:

Public Types

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

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)

Private Types

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

Private Member Functions

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

Private Attributes

const RegexType & regex_
Allocatorallocator_
AllocatorownAllocator_
Stack< Allocatorstate0_
Stack< Allocatorstate1_
uint32_t * stateSet_

Detailed Description

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

Definition at line 607 of file regex.h.

Member Typedef Documentation

◆ Ch

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

Definition at line 610 of file regex.h.

◆ Encoding

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

Definition at line 609 of file regex.h.

◆ Range

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

Definition at line 651 of file regex.h.

◆ State

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

Definition at line 650 of file regex.h.

Constructor & Destructor Documentation

◆ GenericRegexSearch()

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

Definition at line 612 of file regex.h.

◆ ~GenericRegexSearch()

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

Definition at line 624 of file regex.h.

Member Function Documentation

◆ AddState()

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

Definition at line 692 of file regex.h.

◆ GetStateSetSize()

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

Definition at line 687 of file regex.h.

◆ Match() [1/2]

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

Definition at line 634 of file regex.h.

◆ Match() [2/2]

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

Definition at line 630 of file regex.h.

◆ MatchRange()

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

Definition at line 707 of file regex.h.

◆ Search() [1/2]

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

Definition at line 644 of file regex.h.

◆ Search() [2/2]

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

Definition at line 640 of file regex.h.

◆ SearchWithAnchoring()

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 654 of file regex.h.

Member Data Documentation

◆ allocator_

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

Definition at line 719 of file regex.h.

◆ ownAllocator_

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

Definition at line 720 of file regex.h.

◆ regex_

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

Definition at line 718 of file regex.h.

◆ state0_

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

Definition at line 721 of file regex.h.

◆ state1_

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

Definition at line 722 of file regex.h.

◆ stateSet_

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

Definition at line 723 of file regex.h.


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