Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
mcap::LinearMessageView::Iterator Struct Reference

#include <reader.hpp>

Classes

class  Impl
 

Public Types

using difference_type = int64_t
 
using iterator_category = std::input_iterator_tag
 
using pointer = const MessageView *
 
using reference = const MessageView &
 
using value_type = MessageView
 

Public Member Functions

reference operator* () const
 
Iteratoroperator++ ()
 
void operator++ (int)
 
pointer operator-> () const
 

Private Member Functions

 Iterator ()=default
 
 Iterator (McapReader &mcapReader, ByteOffset dataStart, ByteOffset dataEnd, const ReadMessageOptions &options, const ProblemCallback &onProblem)
 

Private Attributes

std::unique_ptr< Implimpl_
 
friend LinearMessageView
 

Friends

MCAP_PUBLIC friend bool operator!= (const Iterator &a, const Iterator &b)
 
MCAP_PUBLIC friend bool operator== (const Iterator &a, const Iterator &b)
 

Detailed Description

Definition at line 642 of file reader.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 644 of file reader.hpp.

◆ iterator_category

Definition at line 643 of file reader.hpp.

◆ pointer

Definition at line 646 of file reader.hpp.

◆ reference

Definition at line 647 of file reader.hpp.

◆ value_type

Definition at line 645 of file reader.hpp.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

mcap::LinearMessageView::Iterator::Iterator ( )
privatedefault

◆ Iterator() [2/2]

mcap::LinearMessageView::Iterator::Iterator ( McapReader mcapReader,
ByteOffset  dataStart,
ByteOffset  dataEnd,
const ReadMessageOptions options,
const ProblemCallback onProblem 
)
private

Member Function Documentation

◆ operator*()

reference mcap::LinearMessageView::Iterator::operator* ( ) const

◆ operator++() [1/2]

Iterator& mcap::LinearMessageView::Iterator::operator++ ( )

◆ operator++() [2/2]

void mcap::LinearMessageView::Iterator::operator++ ( int  )

◆ operator->()

pointer mcap::LinearMessageView::Iterator::operator-> ( ) const

Friends And Related Function Documentation

◆ operator!=

MCAP_PUBLIC friend bool operator!= ( const Iterator a,
const Iterator b 
)
friend

◆ operator==

MCAP_PUBLIC friend bool operator== ( const Iterator a,
const Iterator b 
)
friend

Member Data Documentation

◆ impl_

std::unique_ptr<Impl> mcap::LinearMessageView::Iterator::impl_
private

Definition at line 689 of file reader.hpp.

◆ LinearMessageView

friend mcap::LinearMessageView::Iterator::LinearMessageView
private

Definition at line 657 of file reader.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31