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. | |
| Standard_Boolean | More () const |
| Returns TRUE if iterator points to a valid item. | |
| Standard_Boolean | HasNext () const |
| Returns TRUE if next item exists. | |
| Standard_Utf32Char | Symbol () const |
| Returns current symbol. | |
| Standard_Utf32Char | SymbolNext () const |
| Returns the next symbol if exists. | |
| Standard_Integer | SymbolPosition () const |
| Returns current symbol position. | |
| Standard_Integer | SymbolPositionNext () const |
| Returns the next symbol position. | |
| void | Next () |
| Moves to the next item. | |
Protected Member Functions | |
| Standard_Integer | readNextSymbol (const Standard_Integer theSymbolStartingFrom, Standard_Utf32Char &theSymbolChar) |
| Finds index of the next symbol. | |
Protected Attributes | |
| IterationFilter | myFilter |
| possibility to filter not-necessary symbols | |
| NCollection_Utf8Iter | myIter |
| the next symbol iterator value over the text formatter string | |
| Standard_Integer | mySymbolPosition |
| the current position | |
| Standard_Utf32Char | mySymbolChar |
| the current symbol | |
| Standard_Integer | mySymbolNext |
| position of the next symbol in iterator, if zero, the iterator is finished | |
| Standard_Utf32Char | mySymbolCharNext |
| the current symbol | |
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