NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CMatchString Class Reference

Search Toolkit Book for CMatchString

#include <objects/macro/String_constraint.hpp>

+ Collaboration diagram for CMatchString:

Public Member Functions

 CMatchString ()
 
 CMatchString (const string &v)
 
 CMatchString (const char *v)
 
const CAutoLowerCaseoriginal () const
 
CMatchStringoperator= (const string &s)
 
 operator const string & () const
 
void PopWeasel () const
 
CTempString GetNoweasel () const
 
CTempString GetNoweaselLC () const
 
CTempString GetNoweaselUC () const
 
unsigned GetWeaselMask () const
 

Private Member Functions

void x_PopWeasel () const
 

Private Attributes

CAutoLowerCase m_original
 
CTempString::size_type m_noweasel_start
 
unsigned m_weaselmask
 

Detailed Description

Definition at line 122 of file String_constraint.hpp.

Constructor & Destructor Documentation

◆ CMatchString() [1/3]

CMatchString::CMatchString ( )
inline

Definition at line 125 of file String_constraint.hpp.

◆ CMatchString() [2/3]

CMatchString::CMatchString ( const string v)
inline

Definition at line 127 of file String_constraint.hpp.

◆ CMatchString() [3/3]

CMatchString::CMatchString ( const char *  v)
inline

Definition at line 130 of file String_constraint.hpp.

Member Function Documentation

◆ GetNoweasel()

CTempString CMatchString::GetNoweasel ( ) const
inline

◆ GetNoweaselLC()

CTempString CMatchString::GetNoweaselLC ( ) const
inline

◆ GetNoweaselUC()

CTempString CMatchString::GetNoweaselUC ( ) const
inline

◆ GetWeaselMask()

unsigned CMatchString::GetWeaselMask ( ) const
inline

◆ operator const string &()

CMatchString::operator const string & ( ) const
inline

Definition at line 145 of file String_constraint.hpp.

References m_original.

◆ operator=()

CMatchString& CMatchString::operator= ( const string s)
inline

Definition at line 137 of file String_constraint.hpp.

References m_noweasel_start, m_original, m_weaselmask, and CTempString::npos.

◆ original()

const CAutoLowerCase& CMatchString::original ( ) const
inline

◆ PopWeasel()

void CMatchString::PopWeasel ( ) const
inline

◆ x_PopWeasel()

void CMatchString::x_PopWeasel ( ) const
private

Member Data Documentation

◆ m_noweasel_start

CTempString::size_type CMatchString::m_noweasel_start
mutableprivate

◆ m_original

CAutoLowerCase CMatchString::m_original
private

◆ m_weaselmask

unsigned CMatchString::m_weaselmask
mutableprivate

Definition at line 174 of file String_constraint.hpp.

Referenced by GetWeaselMask(), operator=(), and x_PopWeasel().


The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:19:41 2024 by modify_doxy.py rev. 669887