|
OpenMW
|
Collection of seen responses for a topic. More...
#include <topic.hpp>
Public Types | |
| typedef std::vector< Entry > | TEntryContainer |
| typedef TEntryContainer::const_iterator | TEntryIter |
Public Member Functions | |
| Topic () | |
| Topic (const std::string &topic) | |
| virtual | ~Topic () |
| virtual void | addEntry (const JournalEntry &entry) |
| void | insertEntry (const ESM::JournalEntry &entry) |
| std::string | getTopic () const |
| virtual std::string | getName () const |
| void | removeLastAddedResponse (const std::string &actorName) |
| TEntryIter | begin () const |
| Iterator pointing to the begin of the journal for this topic. More... | |
| TEntryIter | end () const |
| Iterator pointing past the end of the journal for this topic. More... | |
Protected Attributes | |
| std::string | mTopic |
| std::string | mName |
| TEntryContainer | mEntries |
Collection of seen responses for a topic.
| typedef std::vector<Entry> MWDialogue::Topic::TEntryContainer |
| typedef TEntryContainer::const_iterator MWDialogue::Topic::TEntryIter |
| MWDialogue::Topic::Topic | ( | ) |
| MWDialogue::Topic::Topic | ( | const std::string & | topic | ) |
|
virtual |
|
virtual |
Add entry
Reimplemented in MWDialogue::Quest.
| Topic::TEntryIter MWDialogue::Topic::begin | ( | ) | const |
Iterator pointing to the begin of the journal for this topic.
| Topic::TEntryIter MWDialogue::Topic::end | ( | ) | const |
Iterator pointing past the end of the journal for this topic.
|
virtual |
| std::string MWDialogue::Topic::getTopic | ( | ) | const |
| void MWDialogue::Topic::insertEntry | ( | const ESM::JournalEntry & | entry | ) |
Add entry without checking for redundant entries or modifying the state of the topic otherwise
| void MWDialogue::Topic::removeLastAddedResponse | ( | const std::string & | actorName | ) |
|
protected |
|
protected |
|
protected |
1.8.6