Open CASCADE Technology
7.5.0
|
Iterator through formatted symbols. It's possible to filter returned symbols to have only significant ones. More...
#include <Font_TextFormatter.hxx>
Public Member Functions | |
Iterator (const Font_TextFormatter &theFormatter, IterationFilter theFilter=IterationFilter_None) | |
Constructor with initialization. More... | |
Standard_Boolean | More () const |
Returns TRUE if iterator points to a valid item. More... | |
Standard_Boolean | HasNext () const |
Returns TRUE if next item exists. More... | |
Standard_Utf32Char | Symbol () const |
Returns current symbol. More... | |
Standard_Utf32Char | SymbolNext () const |
Returns the next symbol if exists. More... | |
Standard_Integer | SymbolPosition () const |
Returns current symbol position. More... | |
Standard_Integer | SymbolPositionNext () const |
Returns the next symbol position. More... | |
void | Next () |
Moves to the next item. More... | |
Protected Member Functions | |
Standard_Integer | readNextSymbol (const Standard_Integer theSymbolStartingFrom, Standard_Utf32Char &theSymbolChar) |
Finds index of the next symbol. More... | |
Protected Attributes | |
IterationFilter | myFilter |
possibility to filter not-necessary symbols More... | |
NCollection_Utf8Iter | myIter |
the next symbol iterator value over the text formatter string More... | |
Standard_Integer | mySymbolPosition |
the current position More... | |
Standard_Utf32Char | mySymbolChar |
the current symbol More... | |
Standard_Integer | mySymbolNext |
position of the next symbol in iterator, if zero, the iterator is finished More... | |
Standard_Utf32Char | mySymbolCharNext |
the current symbol More... | |
Iterator through formatted symbols. It's possible to filter returned symbols to have only significant ones.
|
inline |
Constructor with initialization.
|
inline |
Returns TRUE if next item exists.
|
inline |
Returns TRUE if iterator points to a valid item.
|
inline |
Moves to the next item.
|
inlineprotected |
Finds index of the next symbol.
|
inline |
Returns current symbol.
|
inline |
Returns the next symbol if exists.
|
inline |
Returns current symbol position.
|
inline |
Returns the next symbol position.
|
protected |
possibility to filter not-necessary symbols
|
protected |
the next symbol iterator value over the text formatter string
|
protected |
the current symbol
|
protected |
the current symbol
|
protected |
position of the next symbol in iterator, if zero, the iterator is finished
|
protected |
the current position