ddc
|
#include <Concordance.h>
Public Member Functions | |
CHighlightTags () | |
bool | ReadFromString (const string &s) |
string | ToString () const |
Public Attributes | |
bool | m_bWasReadFromString |
true, if members were initialized from string (via CHighlightTags::ReadFromString) More... | |
string | m_FirstOpener |
the start tag which should highlight the first found occurrence in a hit More... | |
string | m_FirstCloser |
the end tag which should highlight the first found occurrence in a hit More... | |
string | m_RestOpener |
the start tag which should highlight the next found occurrences in a hit (except the first occurrence) More... | |
string | m_RestCloser |
the end tag which should highlight the next found occurrences in a hit (except the first occurrence) More... | |
CHighlightTags::CHighlightTags | ( | ) |
bool CHighlightTags::ReadFromString | ( | const string & | s | ) |
References Trim(), unescapeCString(), and StringTokenizer::val().
Referenced by CConcordance::LoadOptionsFromString().
string CHighlightTags::ToString | ( | ) | const |
References escapeCString(), and Format().
Referenced by CConcordance::LoadOptionsFromString(), and CConcordance::SaveOptionsToString().
bool CHighlightTags::m_bWasReadFromString |
true, if members were initialized from string (via CHighlightTags::ReadFromString)
Referenced by CConcordance::SaveOptionsToString().
string CHighlightTags::m_FirstOpener |
the start tag which should highlight the first found occurrence in a hit
Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().
string CHighlightTags::m_FirstCloser |
the end tag which should highlight the first found occurrence in a hit
Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().
string CHighlightTags::m_RestOpener |
the start tag which should highlight the next found occurrences in a hit (except the first occurrence)
Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().
string CHighlightTags::m_RestCloser |
the end tag which should highlight the next found occurrences in a hit (except the first occurrence)
Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().