MySQL 9.1.0
Source Code Documentation
keyring_common::iterator::Iterator< Data_extension > Class Template Reference

#include <iterator.h>

Public Member Functions

 Iterator ()
 Constructor. More...
 
 Iterator (const cache::Datacache< Data_extension > &datacache, const meta::Metadata &metadata)
 
 Iterator (const cache::Datacache< Data_extension > &datacache, bool cached)
 
 ~Iterator ()
 Destructor. More...
 
cache::Cache< Data_extension >::const_iterator get_iterator () const
 Get iterator. More...
 
bool next (size_t version)
 Move iterator forward. More...
 
bool metadata (size_t version, meta::Metadata &metadata)
 
bool data (size_t version, Data_extension &data)
 
bool valid (size_t version)
 

Private Member Functions

bool iterator_valid (size_t version)
 Internal validity checker. More...
 

Private Attributes

cache::Cache< Data_extension >::const_iterator it_
 Const Iterator. More...
 
cache::Cache< Data_extension >::const_iterator end_
 End. More...
 
size_t version_
 Iterator version. More...
 
bool valid_
 validity of the iterator More...
 
bool cached_
 Iterator type. More...
 
cache::Datacache< Data_extension > metadata_
 Local copy. More...
 

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<typename Data_extension >
keyring_common::iterator::Iterator< Data_extension >::Iterator ( )
inline

Constructor.

◆ Iterator() [2/3]

template<typename Data_extension >
keyring_common::iterator::Iterator< Data_extension >::Iterator ( const cache::Datacache< Data_extension > &  datacache,
const meta::Metadata metadata 
)
inline

◆ Iterator() [3/3]

template<typename Data_extension >
keyring_common::iterator::Iterator< Data_extension >::Iterator ( const cache::Datacache< Data_extension > &  datacache,
bool  cached 
)
inline

◆ ~Iterator()

template<typename Data_extension >
keyring_common::iterator::Iterator< Data_extension >::~Iterator ( )
inline

Destructor.

Member Function Documentation

◆ data()

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::data ( size_t  version,
Data_extension &  data 
)
inline

◆ get_iterator()

template<typename Data_extension >
cache::Cache< Data_extension >::const_iterator keyring_common::iterator::Iterator< Data_extension >::get_iterator ( ) const
inline

Get iterator.

◆ iterator_valid()

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::iterator_valid ( size_t  version)
inlineprivate

Internal validity checker.

◆ metadata()

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::metadata ( size_t  version,
meta::Metadata metadata 
)
inline

◆ next()

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::next ( size_t  version)
inline

Move iterator forward.

◆ valid()

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::valid ( size_t  version)
inline

Member Data Documentation

◆ cached_

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::cached_
private

Iterator type.

◆ end_

template<typename Data_extension >
cache::Cache<Data_extension>::const_iterator keyring_common::iterator::Iterator< Data_extension >::end_
private

End.

◆ it_

template<typename Data_extension >
cache::Cache<Data_extension>::const_iterator keyring_common::iterator::Iterator< Data_extension >::it_
private

Const Iterator.

◆ metadata_

template<typename Data_extension >
cache::Datacache<Data_extension> keyring_common::iterator::Iterator< Data_extension >::metadata_
private

Local copy.

◆ valid_

template<typename Data_extension >
bool keyring_common::iterator::Iterator< Data_extension >::valid_
private

validity of the iterator

◆ version_

template<typename Data_extension >
size_t keyring_common::iterator::Iterator< Data_extension >::version_
private

Iterator version.


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