webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WTF::TextBreakIteratorCF Class Reference

#include <TextBreakIteratorCF.h>

Public Types

enum  Mode {
  Mode::Caret, Mode::Delete, Mode::Caret, Mode::Delete,
  Mode::Caret, Mode::Delete
}
 
enum  Mode {
  Mode::Caret, Mode::Delete, Mode::Caret, Mode::Delete,
  Mode::Caret, Mode::Delete
}
 
enum  Mode {
  Mode::Caret, Mode::Delete, Mode::Caret, Mode::Delete,
  Mode::Caret, Mode::Delete
}
 

Public Member Functions

 TextBreakIteratorCF (StringView string, Mode mode)
 
 TextBreakIteratorCF ()=delete
 
 TextBreakIteratorCF (const TextBreakIteratorCF &)=delete
 
 TextBreakIteratorCF (TextBreakIteratorCF &&)=default
 
TextBreakIteratorCFoperator= (const TextBreakIteratorCF &)=delete
 
TextBreakIteratorCFoperator= (TextBreakIteratorCF &&)=default
 
void setText (StringView string)
 
std::optional< unsigned > preceding (unsigned location) const
 
std::optional< unsigned > following (unsigned location) const
 
bool isBoundary (unsigned location) const
 
 TextBreakIteratorCF (StringView string, Mode mode)
 
 TextBreakIteratorCF ()=delete
 
 TextBreakIteratorCF (const TextBreakIteratorCF &)=delete
 
 TextBreakIteratorCF (TextBreakIteratorCF &&)=default
 
TextBreakIteratorCFoperator= (const TextBreakIteratorCF &)=delete
 
TextBreakIteratorCFoperator= (TextBreakIteratorCF &&)=default
 
void setText (StringView string)
 
std::optional< unsigned > preceding (unsigned location) const
 
std::optional< unsigned > following (unsigned location) const
 
bool isBoundary (unsigned location) const
 
 TextBreakIteratorCF (StringView string, Mode mode)
 
 TextBreakIteratorCF ()=delete
 
 TextBreakIteratorCF (const TextBreakIteratorCF &)=delete
 
 TextBreakIteratorCF (TextBreakIteratorCF &&)=default
 
TextBreakIteratorCFoperator= (const TextBreakIteratorCF &)=delete
 
TextBreakIteratorCFoperator= (TextBreakIteratorCF &&)=default
 
void setText (StringView string)
 
std::optional< unsigned > preceding (unsigned location) const
 
std::optional< unsigned > following (unsigned location) const
 
bool isBoundary (unsigned location) const
 

Member Enumeration Documentation

◆ Mode [1/3]

Enumerator
Caret 
Delete 
Caret 
Delete 
Caret 
Delete 

◆ Mode [2/3]

Enumerator
Caret 
Delete 
Caret 
Delete 
Caret 
Delete 

◆ Mode [3/3]

Enumerator
Caret 
Delete 
Caret 
Delete 
Caret 
Delete 

Constructor & Destructor Documentation

◆ TextBreakIteratorCF() [1/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( StringView  string,
Mode  mode 
)
inline

◆ TextBreakIteratorCF() [2/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( )
delete

◆ TextBreakIteratorCF() [3/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( const TextBreakIteratorCF )
delete

◆ TextBreakIteratorCF() [4/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( TextBreakIteratorCF &&  )
default

◆ TextBreakIteratorCF() [5/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( StringView  string,
Mode  mode 
)
inline

◆ TextBreakIteratorCF() [6/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( )
delete

◆ TextBreakIteratorCF() [7/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( const TextBreakIteratorCF )
delete

◆ TextBreakIteratorCF() [8/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( TextBreakIteratorCF &&  )
default

◆ TextBreakIteratorCF() [9/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( StringView  string,
Mode  mode 
)
inline

◆ TextBreakIteratorCF() [10/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( )
delete

◆ TextBreakIteratorCF() [11/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( const TextBreakIteratorCF )
delete

◆ TextBreakIteratorCF() [12/12]

WTF::TextBreakIteratorCF::TextBreakIteratorCF ( TextBreakIteratorCF &&  )
default

Member Function Documentation

◆ following() [1/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::following ( unsigned  location) const
inline

◆ following() [2/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::following ( unsigned  location) const
inline

◆ following() [3/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::following ( unsigned  location) const
inline

◆ isBoundary() [1/3]

bool WTF::TextBreakIteratorCF::isBoundary ( unsigned  location) const
inline

◆ isBoundary() [2/3]

bool WTF::TextBreakIteratorCF::isBoundary ( unsigned  location) const
inline

◆ isBoundary() [3/3]

bool WTF::TextBreakIteratorCF::isBoundary ( unsigned  location) const
inline

◆ operator=() [1/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( const TextBreakIteratorCF )
delete

◆ operator=() [2/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( const TextBreakIteratorCF )
delete

◆ operator=() [3/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( const TextBreakIteratorCF )
delete

◆ operator=() [4/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( TextBreakIteratorCF &&  )
default

◆ operator=() [5/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( TextBreakIteratorCF &&  )
default

◆ operator=() [6/6]

TextBreakIteratorCF& WTF::TextBreakIteratorCF::operator= ( TextBreakIteratorCF &&  )
default

◆ preceding() [1/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::preceding ( unsigned  location) const
inline

◆ preceding() [2/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::preceding ( unsigned  location) const
inline

◆ preceding() [3/3]

std::optional<unsigned> WTF::TextBreakIteratorCF::preceding ( unsigned  location) const
inline

◆ setText() [1/3]

void WTF::TextBreakIteratorCF::setText ( StringView  string)
inline

◆ setText() [2/3]

void WTF::TextBreakIteratorCF::setText ( StringView  string)
inline

◆ setText() [3/3]

void WTF::TextBreakIteratorCF::setText ( StringView  string)
inline

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