NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
CRegEx::CRegXAssert Struct Reference

Search Toolkit Book for CRegEx::CRegXAssert

#include "multipattern_search_impl.hpp"
(Private to src/util.)

+ Inheritance diagram for CRegEx::CRegXAssert:
+ Collaboration diagram for CRegEx::CRegXAssert:

Public Types

enum  EAssert {
  eAssertNone = 0 , eAssertBegin , eAssertEnd , eAssertWord ,
  eAssertWordNeg , eAssertLookAhead , eAssertLookAheadNeg , eAssertLookBack ,
  eAssertLookBackNeg
}
 

Public Member Functions

 CRegXAssert (EAssert a)
 
 CRegXAssert (EAssert a, unique_ptr< CRegX > &x)
 
void SetCaseInsensitive ()
 
bool IsCaseInsensitive () const
 
virtual bool IsAssert () const
 
void Print (ostream &out, size_t off) const
 
void Render (CRegExFSA &fsa, size_t from, size_t to) const
 
- Public Member Functions inherited from CRegEx::CRegX
virtual ~CRegX ()
 
virtual operator bool ()
 

Public Attributes

EAssert m_Assert
 
unique_ptr< CRegXm_RegX
 

Additional Inherited Members

- Static Public Member Functions inherited from CRegEx::CRegX
static void PrintOffset (ostream &out, size_t off)
 
static void DummyTrans (CRegExFSA &fsa, size_t x, unsigned char t)
 

Detailed Description

Definition at line 140 of file multipattern_search_impl.hpp.

Member Enumeration Documentation

◆ EAssert

Enumerator
eAssertNone 
eAssertBegin 
eAssertEnd 
eAssertWord 
eAssertWordNeg 
eAssertLookAhead 
eAssertLookAheadNeg 
eAssertLookBack 
eAssertLookBackNeg 

Definition at line 142 of file multipattern_search_impl.hpp.

Constructor & Destructor Documentation

◆ CRegXAssert() [1/2]

CRegEx::CRegXAssert::CRegXAssert ( EAssert  a)
inline

Definition at line 153 of file multipattern_search_impl.hpp.

◆ CRegXAssert() [2/2]

CRegEx::CRegXAssert::CRegXAssert ( EAssert  a,
unique_ptr< CRegX > &  x 
)
inline

Definition at line 154 of file multipattern_search_impl.hpp.

Member Function Documentation

◆ IsAssert()

virtual bool CRegEx::CRegXAssert::IsAssert ( ) const
inlinevirtual

Reimplemented from CRegEx::CRegX.

Definition at line 157 of file multipattern_search_impl.hpp.

◆ IsCaseInsensitive()

bool CRegEx::CRegXAssert::IsCaseInsensitive ( ) const
inlinevirtual

Implements CRegEx::CRegX.

Definition at line 156 of file multipattern_search_impl.hpp.

References m_RegX.

◆ Print()

void CRegEx::CRegXAssert::Print ( ostream &  out,
size_t  off 
) const
virtual

Implements CRegEx::CRegX.

Definition at line 961 of file multipattern_search.cpp.

References A, CRegEx::m_RegX, and out().

◆ Render()

void CRegEx::CRegXAssert::Render ( CRegExFSA fsa,
size_t  from,
size_t  to 
) const
virtual

◆ SetCaseInsensitive()

void CRegEx::CRegXAssert::SetCaseInsensitive ( )
inlinevirtual

Reimplemented from CRegEx::CRegX.

Definition at line 155 of file multipattern_search_impl.hpp.

References m_RegX.

Member Data Documentation

◆ m_Assert

EAssert CRegEx::CRegXAssert::m_Assert

Definition at line 160 of file multipattern_search_impl.hpp.

◆ m_RegX

unique_ptr<CRegX> CRegEx::CRegXAssert::m_RegX

Definition at line 161 of file multipattern_search_impl.hpp.

Referenced by IsCaseInsensitive(), and SetCaseInsensitive().


The documentation for this struct was generated from the following files:
Modified on Tue Feb 27 05:56:50 2024 by modify_doxy.py rev. 669887