Kea  1.9.9-git
isc::dns::RRsetCollection::DnsIter Class Reference

#include <rrset_collection.h>

+ Inheritance diagram for isc::dns::RRsetCollection::DnsIter:

Public Member Functions

 DnsIter (CollectionMap::iterator &iter)
 
virtual bool equals (Iter &other)
 Check if another iterator is equal to this one. More...
 
virtual IterPtr getNext ()
 Returns an IterPtr wrapping an Iter pointing to the next AbstractRRset in sequence in the collection. More...
 
virtual const isc::dns::AbstractRRsetgetValue ()
 Returns the AbstractRRset currently pointed to by the iterator. More...
 
- Public Member Functions inherited from isc::dns::RRsetCollectionBase::Iter
virtual ~Iter ()
 

Detailed Description

Definition at line 124 of file rrset_collection.h.

Constructor & Destructor Documentation

isc::dns::RRsetCollection::DnsIter::DnsIter ( CollectionMap::iterator &  iter)
inline

Definition at line 126 of file rrset_collection.h.

Referenced by getNext().

Member Function Documentation

virtual bool isc::dns::RRsetCollection::DnsIter::equals ( Iter other)
inlinevirtual

Check if another iterator is equal to this one.

Returns true if this iterator is equal to other, false otherwise. Note that if other is not the same type as this, or cannot be compared meaningfully, the method must return false.

Parameters
otherThe other iterator to compare against.
Returns
true if equal, false otherwise.

Implements isc::dns::RRsetCollectionBase::Iter.

Definition at line 141 of file rrset_collection.h.

virtual IterPtr isc::dns::RRsetCollection::DnsIter::getNext ( )
inlinevirtual

Returns an IterPtr wrapping an Iter pointing to the next AbstractRRset in sequence in the collection.

Implements isc::dns::RRsetCollectionBase::Iter.

Definition at line 135 of file rrset_collection.h.

References DnsIter().

+ Here is the call graph for this function:

virtual const isc::dns::AbstractRRset& isc::dns::RRsetCollection::DnsIter::getValue ( )
inlinevirtual

Returns the AbstractRRset currently pointed to by the iterator.

Implements isc::dns::RRsetCollectionBase::Iter.

Definition at line 130 of file rrset_collection.h.


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