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

Member Typedef Documentation

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

Definition at line 621 of file regex.h.

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

Definition at line 620 of file regex.h.

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

Definition at line 664 of file regex.h.

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

Definition at line 663 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 623 of file regex.h.

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

Definition at line 637 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 702 of file regex.h.

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

Definition at line 699 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 643 of file regex.h.

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

Definition at line 647 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 718 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 653 of file regex.h.

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

Definition at line 657 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 667 of file regex.h.

Member Data Documentation

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

Definition at line 732 of file regex.h.

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

Definition at line 733 of file regex.h.

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

Definition at line 731 of file regex.h.

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

Definition at line 734 of file regex.h.

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

Definition at line 735 of file regex.h.

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

Definition at line 736 of file regex.h.


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


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46