ddc
Public Member Functions | Public Attributes | List of all members
CHighlightTags Struct Reference

#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...
 

Constructor & Destructor Documentation

◆ CHighlightTags()

CHighlightTags::CHighlightTags ( )

Member Function Documentation

◆ ReadFromString()

bool CHighlightTags::ReadFromString ( const string &  s)

References Trim(), unescapeCString(), and StringTokenizer::val().

Referenced by CConcordance::LoadOptionsFromString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToString()

string CHighlightTags::ToString ( ) const

References escapeCString(), and Format().

Referenced by CConcordance::LoadOptionsFromString(), and CConcordance::SaveOptionsToString().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_bWasReadFromString

bool CHighlightTags::m_bWasReadFromString

true, if members were initialized from string (via CHighlightTags::ReadFromString)

Referenced by CConcordance::SaveOptionsToString().

◆ m_FirstOpener

string CHighlightTags::m_FirstOpener

the start tag which should highlight the first found occurrence in a hit

Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().

◆ m_FirstCloser

string CHighlightTags::m_FirstCloser

the end tag which should highlight the first found occurrence in a hit

Referenced by BuildHtmlHitStrWithHighlighting(), and CConcordance::InitDefaultOptions().

◆ m_RestOpener

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().

◆ m_RestCloser

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().


The documentation for this struct was generated from the following files: