Loading...
Searching...
No Matches
UsdUtilsTimeCodeRange::const_iterator Class Reference

A forward iterator into a UsdUtilsTimeCodeRange. More...

#include <timeCodeRange.h>

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.
 
pointer operator-> ()
 Returns a pointer to the UsdTimeCode referenced by this iterator.
 
const_iteratoroperator++ ()
 Pre-increment operator.
 
const_iterator operator++ (int)
 Post-increment operator.
 
bool operator== (const const_iterator &other) const
 Return true if this iterator is equivalent to other.
 
bool operator!= (const const_iterator &other) const
 Return true if this iterator is not equivalent to other.
 

Friends

class UsdUtilsTimeCodeRange
 

Detailed Description

A forward iterator into a UsdUtilsTimeCodeRange.

Definition at line 63 of file timeCodeRange.h.

Member Typedef Documentation

◆ difference_type

using difference_type = std::ptrdiff_t

Definition at line 70 of file timeCodeRange.h.

◆ iterator_category

using iterator_category = std::forward_iterator_tag

Definition at line 66 of file timeCodeRange.h.

◆ pointer

using pointer = const UsdTimeCode*

Definition at line 69 of file timeCodeRange.h.

◆ reference

using reference = const UsdTimeCode&

Definition at line 68 of file timeCodeRange.h.

◆ value_type

Definition at line 67 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 115 of file timeCodeRange.h.

◆ operator*()

reference operator* ( )
inline

Returns the UsdTimeCode referenced by this iterator.

Definition at line 73 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 86 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 102 of file timeCodeRange.h.

◆ operator->()

pointer operator-> ( )
inline

Returns a pointer to the UsdTimeCode referenced by this iterator.

Definition at line 78 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 109 of file timeCodeRange.h.

Friends And Related Function Documentation

◆ UsdUtilsTimeCodeRange

friend class UsdUtilsTimeCodeRange
friend

Definition at line 120 of file timeCodeRange.h.


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