Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Detail::TKeyMapIterable::TIterator Class Reference

Definition at line 86 of file TFile.h.

Public Types

using difference_type = std::ptrdiff_t
using iterator = TIterator
using iterator_category = std::input_iterator_tag
using pointer = value_type *
using reference = value_type &
using value_type = TKeyMapNode

Public Member Functions

 TIterator (TFile *file, std::uint64_t addr)
bool operator!= (const iterator &rh) const
reference operator* ()
iteratoroperator++ ()
pointer operator-> ()
bool operator== (const iterator &rh) const

Private Member Functions

void Advance ()
std::optional< TKeyMapNodeNext ()

Private Attributes

std::optional< TKeyMapNodefCur
std::uint64_t fCurAddr
TFilefFile

#include <TFile.h>

Member Typedef Documentation

◆ difference_type

Definition at line 104 of file TFile.h.

◆ iterator

◆ iterator_category

Definition at line 103 of file TFile.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ TIterator()

ROOT::Detail::TKeyMapIterable::TIterator::TIterator ( TFile * file,
std::uint64_t addr )

Definition at line 1644 of file TFile.cxx.

Member Function Documentation

◆ Advance()

void ROOT::Detail::TKeyMapIterable::TIterator::Advance ( )
inlineprivate

Definition at line 93 of file TFile.h.

◆ Next()

std::optional< ROOT::Detail::TKeyMapNode > ROOT::Detail::TKeyMapIterable::TIterator::Next ( )
private

Definition at line 1651 of file TFile.cxx.

◆ operator!=()

bool ROOT::Detail::TKeyMapIterable::TIterator::operator!= ( const iterator & rh) const
inline

Definition at line 118 of file TFile.h.

◆ operator*()

reference ROOT::Detail::TKeyMapIterable::TIterator::operator* ( )
inline

Definition at line 116 of file TFile.h.

◆ operator++()

iterator & ROOT::Detail::TKeyMapIterable::TIterator::operator++ ( )
inline

Definition at line 111 of file TFile.h.

◆ operator->()

pointer ROOT::Detail::TKeyMapIterable::TIterator::operator-> ( )
inline

Definition at line 117 of file TFile.h.

◆ operator==()

bool ROOT::Detail::TKeyMapIterable::TIterator::operator== ( const iterator & rh) const
inline

Definition at line 119 of file TFile.h.

Member Data Documentation

◆ fCur

std::optional<TKeyMapNode> ROOT::Detail::TKeyMapIterable::TIterator::fCur
private

Definition at line 88 of file TFile.h.

◆ fCurAddr

std::uint64_t ROOT::Detail::TKeyMapIterable::TIterator::fCurAddr
private

Definition at line 89 of file TFile.h.

◆ fFile

TFile* ROOT::Detail::TKeyMapIterable::TIterator::fFile
private

Definition at line 87 of file TFile.h.


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