pjmsg_mcap_wrapper
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
mcap::LinearMessageView::Iterator Struct Reference

Detailed Description

Definition at line 657 of file reader.hpp.

#include <reader.hpp>

Classes

class  Impl
 

Public Types

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

Public Member Functions

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

Private Member Functions

 Iterator ()=default
 
 Iterator (LinearMessageView &view)
 

Private Attributes

friend LinearMessageView
 
bool begun_ = false
 
std::unique_ptr< Implimpl_
 

Friends

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

Member Typedef Documentation

◆ difference_type

Definition at line 659 of file reader.hpp.

◆ iterator_category

Definition at line 658 of file reader.hpp.

◆ pointer

Definition at line 661 of file reader.hpp.

◆ reference

Definition at line 662 of file reader.hpp.

◆ value_type

Definition at line 660 of file reader.hpp.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

◆ Iterator() [2/2]

mcap::LinearMessageView::Iterator::Iterator ( LinearMessageView view)
private

Definition at line 1627 of file reader.inl.

Member Function Documentation

◆ operator*()

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

Definition at line 1753 of file reader.inl.

◆ operator++() [1/2]

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

Definition at line 1761 of file reader.inl.

◆ operator++() [2/2]

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

Definition at line 1770 of file reader.inl.

◆ operator->()

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

Definition at line 1757 of file reader.inl.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 1788 of file reader.inl.

◆ operator==

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

Definition at line 1774 of file reader.inl.

Member Data Documentation

◆ begun_

bool mcap::LinearMessageView::Iterator::begun_ = false
private

Definition at line 701 of file reader.hpp.

◆ impl_

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

Definition at line 702 of file reader.hpp.

◆ LinearMessageView

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

Definition at line 672 of file reader.hpp.


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