UsdUtilsTimeCodeRange::const_iterator Class Reference

A forward iterator into a UsdUtilsTimeCodeRange. More...

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = UsdTimeCode
 
using reference = const UsdTimeCode &
 
using pointer = const UsdTimeCode *
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

reference operator * ()
 Returns the UsdTimeCode referenced by this iterator. More...
 
pointer operator-> ()
 Returns a pointer to the UsdTimeCode referenced by this iterator. More...
 
const_iterator & operator++ ()
 Pre-increment operator. More...
 
const_iterator operator++ (int)
 Post-increment operator. More...
 
bool operator== (const const_iterator &other) const
 Return true if this iterator is equivalent to other. More...
 
bool operator != (const const_iterator &other) const
 Return true if this iterator is not equivalent to other. More...
 

Friends

class UsdUtilsTimeCodeRange
 

Detailed Description

A forward iterator into a UsdUtilsTimeCodeRange.

Definition at line 80 of file timeCodeRange.h.

Member Function Documentation

◆ operator !=()

bool operator != ( const const_iterator &  other) const
inline

Return true if this iterator is not equivalent to other.

Definition at line 132 of file timeCodeRange.h.

◆ operator *()

reference operator * ( )
inline

Returns the UsdTimeCode referenced by this iterator.

Definition at line 90 of file timeCodeRange.h.

◆ operator++() [1/2]

const_iterator& operator++ ( )
inline

Pre-increment operator.

Advances this iterator to the next UsdTimeCode in the range.

This iterator is returned.

Definition at line 103 of file timeCodeRange.h.

◆ operator++() [2/2]

const_iterator operator++ ( int  )
inline

Post-increment operator.

Advances this iterator to the next UsdTimeCode in the range.

A copy of this iterator prior to the increment is returned.

Definition at line 119 of file timeCodeRange.h.

◆ operator->()

pointer operator-> ( )
inline

Returns a pointer to the UsdTimeCode referenced by this iterator.

Definition at line 95 of file timeCodeRange.h.

◆ operator==()

bool operator== ( const const_iterator &  other) const
inline

Return true if this iterator is equivalent to other.

Definition at line 126 of file timeCodeRange.h.


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