Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::DirWalk< FileOnly, Filter >::Iter Struct Reference

#include <dirwalk.hpp>

Public Member Functions

const tinydir_dirget_dir () const
 
const tinydir_fileget () const
 
std::string operator* () const
 
bool is_special (const _tinydir_char_t *name) const
 
size_t depth () const
 
void next ()
 
void operator++ ()
 
bool operator== (const Iter &o) const
 
bool operator!= (const Iter &o) const
 

Public Attributes

DirWalkwalk
 
size_t cur
 

Detailed Description

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
struct gemmi::DirWalk< FileOnly, Filter >::Iter

Definition at line 171 of file dirwalk.hpp.

Member Function Documentation

◆ get_dir()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
const tinydir_dir & gemmi::DirWalk< FileOnly, Filter >::Iter::get_dir ( ) const
inline

Definition at line 175 of file dirwalk.hpp.

◆ get()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
const tinydir_file & gemmi::DirWalk< FileOnly, Filter >::Iter::get ( ) const
inline

Definition at line 177 of file dirwalk.hpp.

◆ operator*()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
std::string gemmi::DirWalk< FileOnly, Filter >::Iter::operator* ( ) const
inline

Definition at line 184 of file dirwalk.hpp.

◆ is_special()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
bool gemmi::DirWalk< FileOnly, Filter >::Iter::is_special ( const _tinydir_char_t name) const
inline

Definition at line 187 of file dirwalk.hpp.

◆ depth()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
size_t gemmi::DirWalk< FileOnly, Filter >::Iter::depth ( ) const
inline

Definition at line 192 of file dirwalk.hpp.

◆ next()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
void gemmi::DirWalk< FileOnly, Filter >::Iter::next ( )
inline

Definition at line 194 of file dirwalk.hpp.

◆ operator++()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
void gemmi::DirWalk< FileOnly, Filter >::Iter::operator++ ( )
inline

Definition at line 212 of file dirwalk.hpp.

◆ operator==()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
bool gemmi::DirWalk< FileOnly, Filter >::Iter::operator== ( const Iter o) const
inline

Definition at line 225 of file dirwalk.hpp.

◆ operator!=()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
bool gemmi::DirWalk< FileOnly, Filter >::Iter::operator!= ( const Iter o) const
inline

Definition at line 226 of file dirwalk.hpp.

Member Data Documentation

◆ walk

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
DirWalk& gemmi::DirWalk< FileOnly, Filter >::Iter::walk

Definition at line 172 of file dirwalk.hpp.

◆ cur

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
size_t gemmi::DirWalk< FileOnly, Filter >::Iter::cur

Definition at line 173 of file dirwalk.hpp.


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