OpenMW
|
Classes | |
struct | BaseEntry |
struct | JournalEntryImpl |
struct | TopicEntryImpl |
Public Types | |
typedef KeywordSearch < std::string, intptr_t > | KeywordSearchT |
Public Member Functions | |
JournalViewModelImpl () | |
virtual | ~JournalViewModelImpl () |
void | load () |
called prior to journal opening | |
void | unload () |
called prior to journal closing | |
void | ensureKeyWordSearchLoaded () const |
wchar_t | tolower (wchar_t ch) const |
bool | isEmpty () const |
returns true if their are no journal entries to display | |
void | visitQuestNames (bool active_only, boost::function< void(QuestId, Utf8Span)> visitor) const |
walks the active and optionally completed, quests providing the quest id and name | |
void | visitQuestName (QuestId questId, boost::function< void(Utf8Span)> visitor) const |
provides access to the name of the quest with the specified identifier | |
void | visitJournalEntries (QuestId questId, boost::function< void(JournalEntry const &)> visitor) const |
walks over the journal entries related to the specified quest identified by its id | |
void | visitTopics (boost::function< void(TopicId, Utf8Span)> visitor) const |
void | visitTopicName (TopicId topicId, boost::function< void(Utf8Span)> visitor) const |
provides the name of the topic specified by its id | |
void | visitTopicNamesStartingWith (char character, boost::function< void(TopicId, Utf8Span) > visitor) const |
walks over the topics whose names start with the specified character providing the topics id and name | |
void | visitTopicEntries (TopicId topicId, boost::function< void(TopicEntry const &)> visitor) const |
walks over the topic entries for the topic specified by its identifier | |
Static Public Member Functions | |
static Utf8Span | toUtf8Span (std::string const &str) |
Public Attributes | |
bool | mKeywordSearchLoaded |
KeywordSearchT | mKeywordSearch |
std::locale | mLocale |
typedef KeywordSearch<std::string, intptr_t> MWGui::JournalViewModelImpl::KeywordSearchT |
MWGui::JournalViewModelImpl::JournalViewModelImpl | ( | ) | [inline] |
virtual MWGui::JournalViewModelImpl::~JournalViewModelImpl | ( | ) | [inline, virtual] |
void MWGui::JournalViewModelImpl::ensureKeyWordSearchLoaded | ( | ) | const [inline] |
bool MWGui::JournalViewModelImpl::isEmpty | ( | ) | const [inline, virtual] |
returns true if their are no journal entries to display
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::load | ( | ) | [inline, virtual] |
called prior to journal opening
Implements MWGui::JournalViewModel.
wchar_t MWGui::JournalViewModelImpl::tolower | ( | wchar_t | ch | ) | const [inline] |
static Utf8Span MWGui::JournalViewModelImpl::toUtf8Span | ( | std::string const & | str | ) | [inline, static] |
void MWGui::JournalViewModelImpl::unload | ( | ) | [inline, virtual] |
called prior to journal closing
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitJournalEntries | ( | QuestId | questId, |
boost::function< void(JournalEntry const &)> | visitor | ||
) | const [inline, virtual] |
walks over the journal entries related to the specified quest identified by its id
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitQuestName | ( | QuestId | topicId, |
boost::function< void(Utf8Span)> | visitor | ||
) | const [inline, virtual] |
provides access to the name of the quest with the specified identifier
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitQuestNames | ( | bool | active_only, |
boost::function< void(QuestId, Utf8Span)> | visitor | ||
) | const [inline, virtual] |
walks the active and optionally completed, quests providing the quest id and name
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitTopicEntries | ( | TopicId | topicId, |
boost::function< void(TopicEntry const &)> | visitor | ||
) | const [inline, virtual] |
walks over the topic entries for the topic specified by its identifier
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitTopicName | ( | TopicId | topicId, |
boost::function< void(Utf8Span)> | visitor | ||
) | const [inline, virtual] |
provides the name of the topic specified by its id
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitTopicNamesStartingWith | ( | char | character, |
boost::function< void(TopicId, Utf8Span) > | visitor | ||
) | const [inline, virtual] |
walks over the topics whose names start with the specified character providing the topics id and name
Implements MWGui::JournalViewModel.
void MWGui::JournalViewModelImpl::visitTopics | ( | boost::function< void(TopicId, Utf8Span)> | visitor | ) | const [inline] |
bool MWGui::JournalViewModelImpl::mKeywordSearchLoaded [mutable] |
std::locale MWGui::JournalViewModelImpl::mLocale |