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

directory_iterator - Iterates through the entries in path. More...

#include <FileSystem.h>

Public Member Functions

 directory_iterator (const Twine &path, std::error_code &ec, bool follow_symlinks=true)
 
 directory_iterator (const directory_entry &de, std::error_code &ec, bool follow_symlinks=true)
 
 directory_iterator ()=default
 Construct end iterator.
 
directory_iteratorincrement (std::error_code &ec)
 
const directory_entryoperator* () const
 
const directory_entryoperator-> () const
 
bool operator== (const directory_iterator &RHS) const
 
bool operator!= (const directory_iterator &RHS) const
 

Detailed Description

directory_iterator - Iterates through the entries in path.

There is no operator++ because we need an error_code. If it's really needed we can make it call report_fatal_error on error.


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