OpenMW
|
Collection of seen responses for a topic. More...
#include <topic.hpp>
Public Types | |
typedef std::vector< std::string > | TEntryContainer |
typedef TEntryContainer::const_iterator | TEntryIter |
Public Member Functions | |
Topic () | |
Topic (const std::string &topic) | |
virtual | ~Topic () |
virtual void | addEntry (const JournalEntry &entry) |
std::string const & | getName () const |
TEntryIter | begin () const |
Iterator pointing to the begin of the journal for this topic. | |
TEntryIter | end () const |
Iterator pointing past the end of the journal for this topic. | |
JournalEntry | getEntry (const std::string &infoId) const |
Protected Attributes | |
std::string | mTopic |
TEntryContainer | mEntries |
Collection of seen responses for a topic.
typedef std::vector<std::string> MWDialogue::Topic::TEntryContainer |
typedef TEntryContainer::const_iterator MWDialogue::Topic::TEntryIter |
MWDialogue::Topic::Topic | ( | const std::string & | topic | ) |
MWDialogue::Topic::~Topic | ( | ) | [virtual] |
void MWDialogue::Topic::addEntry | ( | const JournalEntry & | entry | ) | [virtual] |
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.
JournalEntry MWDialogue::Topic::getEntry | ( | const std::string & | infoId | ) | const |
std::string const& MWDialogue::Topic::getName | ( | ) | const [inline] |
Reimplemented in MWDialogue::Quest.
TEntryContainer MWDialogue::Topic::mEntries [protected] |
std::string MWDialogue::Topic::mTopic [protected] |