OpenMW
Public Types | Public Member Functions | Public Attributes
MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface > Struct Template Reference

List of all members.

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_t > mHyperLinks

template<typename t_iterator, typename Interface>
struct MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >


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 ( ) [inline, virtual]

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]
template<typename t_iterator, typename Interface>
virtual std::string MWGui::JournalViewModelImpl::BaseEntry< t_iterator, Interface >::getText ( ) const [pure virtual]
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: