qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
61 using Lines_t = std::vector<ChatLine::Ptr>;
84 bool contains(QDateTime timestamp)
const;
106 return lines.clear();
iterator adjustItForDate(iterator it, QDateTime timestamp)
void decrementLinePosAfter(IdxInfoMap_t::iterator it)
Lines_t::reference reference
iterator insertChatMessage(ChatLogIdx idx, QDateTime timestamp, ChatLine::Ptr line)
iterator insertDateLine(QDateTime timestamp, ChatLine::Ptr line)
bool hasIndexedMessage() const
bool shouldRemovePreviousLine(iterator prevIt, iterator it)
const_reference operator[](ChatLogIdx idx) const
Lines_t::const_reference const_reference
Lines_t::const_iterator const_iterator
iterator find(ChatLogIdx idx)
iterator equivalentLineIterator(IdxInfoMap_t::iterator it)
const_reference operator[](size_type idx) const
ChatLogIdx firstIdx() const
std::vector< ChatLine::Ptr > lines
void erase(ChatLogIdx idx)
NamedType< size_t, struct ChatLogIdxTag, Orderable, UnderlyingAddable, UnitlessDifferencable, Incrementable > ChatLogIdx
Lines_t::size_type size_type
IdxInfoMap_t::iterator infoIteratorForIdx(ChatLogIdx idx)
std::map< ChatLine::Ptr, QDateTime > dateMap
std::map< ChatLogIdx, IdxInfo > IdxInfoMap_t
std::map< ChatLine::Ptr, QDateTime > DateLineMap_t
void incrementLinePosAfter(IdxInfoMap_t::iterator it)
bool contains(ChatLogIdx idx) const
Lines_t::iterator iterator
std::shared_ptr< ChatLine > Ptr
std::vector< ChatLine::Ptr > Lines_t
IdxInfoMap_t::iterator equivalentInfoIterator(iterator it)
ChatLogIdx lastIdx() const