QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
qevercloud::NoteCollectionCounts Struct Reference

#include <Types.h>

Inheritance diagram for qevercloud::NoteCollectionCounts:
qevercloud::Printable

Public Types

using TagCounts = QMap< Guid, qint32 >
 

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const NoteCollectionCounts &other) const
 
bool operator!= (const NoteCollectionCounts &other) const
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

EverCloudLocalData localData
 
Optional< QMap< Guid, qint32 > > notebookCounts
 
Optional< QMap< Guid, qint32 > > tagCounts
 
Optional< qint32 > trashCount
 

Properties

Optional< TagCountsnotebookCounts
 
Optional< TagCountstagCounts
 

Detailed Description

A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes.

Member Typedef Documentation

◆ TagCounts

Member Function Documentation

◆ operator!=()

bool qevercloud::NoteCollectionCounts::operator!= ( const NoteCollectionCounts other) const
inline

◆ operator==()

bool qevercloud::NoteCollectionCounts::operator== ( const NoteCollectionCounts other) const
inline

◆ print()

virtual void qevercloud::NoteCollectionCounts::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::NoteCollectionCounts::localData

See the declaration of EverCloudLocalData for details

◆ notebookCounts

Optional<QMap<Guid, qint32> > qevercloud::NoteCollectionCounts::notebookCounts

A mapping from the Notebook GUID to the number of notes (from some selection) that are in the corresponding notebook.

◆ tagCounts

Optional<QMap<Guid, qint32> > qevercloud::NoteCollectionCounts::tagCounts

A mapping from the Tag GUID to the number of notes (from some selection) that have the corresponding tag.

◆ trashCount

Optional< qint32 > qevercloud::NoteCollectionCounts::trashCount

If this is set, then this is the number of notes that are in the trash. If this is not set, then the number of notes in the trash hasn't been reported. (I.e. if there are no notes in the trash, this will be set to 0.)

Property Documentation

◆ notebookCounts

Optional<TagCounts> qevercloud::NoteCollectionCounts::notebookCounts

◆ tagCounts

Optional<TagCounts> qevercloud::NoteCollectionCounts::tagCounts