OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface > Struct Template Referenceabstract
Inheritance diagram for MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >:
Collaboration diagram for MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >:

Public Types

typedef t_iterator iterator_t
 
typedef std::pair< size_t, size_t > Range
 

Public Member Functions

 BaseEntry (JournalViewModelImpl const *model, iterator_t itr)
 
virtual ~BaseEntry ()
 
virtual std::string getText () const =0
 
void ensureLoaded () const
 
Utf8Span body () const
 
void visitSpans (boost::function< void(TopicId, size_t, size_t)> visitor) const
 

Public Attributes

iterator_t itr
 
JournalViewModelImpl const * mModel
 
bool loaded
 
std::string utf8text
 
std::map< Range, intptr_tmHyperLinks
 

Member Typedef Documentation

template<typename t_iterator, typename Interface>
typedef t_iterator MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::iterator_t
template<typename t_iterator, typename Interface>
typedef std::pair<size_t, size_t> MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::Range

Constructor & Destructor Documentation

template<typename t_iterator, typename Interface>
MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::BaseEntry ( JournalViewModelImpl const *  model,
iterator_t  itr 
)
inline
template<typename t_iterator, typename Interface>
virtual MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::~BaseEntry ( )
inlinevirtual

Member Function Documentation

template<typename t_iterator, typename Interface>
Utf8Span MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::body ( ) const
inline
template<typename t_iterator, typename Interface>
void MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::ensureLoaded ( ) const
inline

Here is the caller graph for this function:

template<typename t_iterator, typename Interface>
virtual std::string MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::getText ( ) const
pure virtual

Implemented in MWGui::JournalViewModelImpl::TopicEntryImpl, and MWGui::JournalViewModelImpl::JournalEntryImpl< iterator_t >.

Here is the caller graph for this function:

template<typename t_iterator, typename Interface>
void MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::visitSpans ( boost::function< void(TopicId, size_t, size_t)>  visitor) const
inline

Member Data Documentation

template<typename t_iterator, typename Interface>
iterator_t MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::itr
template<typename t_iterator, typename Interface>
bool MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::loaded
mutable
template<typename t_iterator, typename Interface>
std::map<Range, intptr_t> MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::mHyperLinks
mutable
template<typename t_iterator, typename Interface>
JournalViewModelImpl const* MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::mModel
template<typename t_iterator, typename Interface>
std::string MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::utf8text
mutable

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