Krita Source Code Documentation
Loading...
Searching...
No Matches
MemoryTagIterator Class Reference
+ Inheritance diagram for MemoryTagIterator:

Public Member Functions

bool hasNext () const override
 
 MemoryTagIterator (QVector< KisTagSP >, const QString &resourceType)
 
void next () override
 The iterator is only valid if next() has been called at least once.
 
KisTagSP tag () const override
 A tag object on which we can set properties and which we can save.
 
- Public Member Functions inherited from KisResourceStorage::TagIterator
virtual ~TagIterator ()
 

Private Attributes

QString m_resourceType
 

Detailed Description

Definition at line 29 of file KisMemoryStorage.cpp.

Constructor & Destructor Documentation

◆ MemoryTagIterator()

MemoryTagIterator::MemoryTagIterator ( QVector< KisTagSP > ,
const QString & resourceType )
inline

Definition at line 33 of file KisMemoryStorage.cpp.

34 : m_resourceType(resourceType)
35 {
36 }

Member Function Documentation

◆ hasNext()

bool MemoryTagIterator::hasNext ( ) const
inlineoverridevirtual

Implements KisResourceStorage::TagIterator.

Definition at line 38 of file KisMemoryStorage.cpp.

39 {
40 return false;
41 }

◆ next()

void MemoryTagIterator::next ( )
inlineoverridevirtual

The iterator is only valid if next() has been called at least once.

Implements KisResourceStorage::TagIterator.

Definition at line 43 of file KisMemoryStorage.cpp.

44 {
45 }

◆ tag()

KisTagSP MemoryTagIterator::tag ( ) const
inlineoverridevirtual

A tag object on which we can set properties and which we can save.

Implements KisResourceStorage::TagIterator.

Definition at line 47 of file KisMemoryStorage.cpp.

48 {
49 return nullptr;
50 }

Member Data Documentation

◆ m_resourceType

QString MemoryTagIterator::m_resourceType
private

Definition at line 53 of file KisMemoryStorage.cpp.


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