WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::sys::path::reverse_iterator Class Reference

Reverse path iterator. More...

#include <Path.h>

Inheritance diagram for wpi::sys::path::reverse_iterator:
wpi::iterator_facade_base< reverse_iterator, std::input_iterator_tag, const StringRef >

Public Member Functions

reference operator* () const
 
reverse_iteratoroperator++ ()
 
bool operator== (const reverse_iterator &RHS) const
 
ptrdiff_t operator- (const reverse_iterator &RHS) const
 Difference in bytes between this and RHS.
 
- Public Member Functions inherited from wpi::iterator_facade_base< reverse_iterator, std::input_iterator_tag, const StringRef >
reverse_iterator operator+ (DifferenceTypeT n) const
 
reverse_iterator operator- (DifferenceTypeT n) const
 
reverse_iterator & operator++ ()
 
reverse_iterator operator++ (int)
 
reverse_iterator & operator-- ()
 
reverse_iterator operator-- (int)
 
bool operator!= (const reverse_iterator &RHS) const
 
bool operator> (const reverse_iterator &RHS) const
 
bool operator<= (const reverse_iterator &RHS) const
 
bool operator>= (const reverse_iterator &RHS) const
 
PointerT operator-> ()
 
PointerT operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n)
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Friends

reverse_iterator rbegin (StringRef path, Style style)
 Get reverse begin iterator over path. More...
 
reverse_iterator rend (StringRef path)
 Get reverse end iterator over path. More...
 

Additional Inherited Members

- Protected Types inherited from wpi::iterator_facade_base< reverse_iterator, std::input_iterator_tag, const StringRef >
enum  
 

Detailed Description

Reverse path iterator.

This is an input iterator that iterates over the individual components in path in reverse order. The traversal order is exactly reversed from that of const_iterator

Friends And Related Function Documentation

reverse_iterator rbegin ( StringRef  path,
Style  style 
)
friend

Get reverse begin iterator over path.

Parameters
pathInput path.
Returns
Iterator initialized with the first reverse component of path.
reverse_iterator rend ( StringRef  path)
friend

Get reverse end iterator over path.

Parameters
pathInput path.
Returns
Iterator initialized to the reverse end of path.

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