a position More...
#include <NSStruct.hxx>
Classes | |
| struct | Compare |
| a comparaison structure used to sort the position More... | |
Public Member Functions | |
| Position () | |
| the constructor | |
| bool | operator== (Position const &p2) const |
| operator== | |
| bool | operator!= (Position const &p2) const |
| operator!= | |
| int | cmp (Position const &p2) const |
| a small compare operator | |
Public Attributes | |
| int | m_paragraph |
| the paragraph | |
| int | m_word |
| the word | |
| int | m_char |
| the character position | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Position const &pos) |
| operator<<: prints data in form "XxYxZ" | |
a position
| NSStruct::Position::Position | ( | ) | [inline] |
the constructor
| int NSStruct::Position::cmp | ( | Position const & | p2 | ) | const [inline] |
a small compare operator
Referenced by operator!=(), NSStruct::Position::Compare::operator()(), operator==(), and NSText::sendText().
| bool NSStruct::Position::operator!= | ( | Position const & | p2 | ) | const [inline] |
operator!=
| bool NSStruct::Position::operator== | ( | Position const & | p2 | ) | const [inline] |
operator==
| std::ostream& operator<< | ( | std::ostream & | o, |
| Position const & | pos | ||
| ) | [friend] |
operator<<: prints data in form "XxYxZ"
the character position
Referenced by cmp(), NSText::findFilePos(), NSStruct::operator<<(), NSText::readFootnotes(), NSText::readPosToFont(), and NSText::sendText().
the word
Referenced by cmp(), NSText::findFilePos(), NSStruct::operator<<(), NSText::readFootnotes(), NSText::readPosToFont(), and NSText::sendText().