Gemmi C++ API
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Attributes | Friends | List of all members
gemmi::DirWalk< FileOnly, Filter > Class Template Reference

#include <dirwalk.hpp>

Classes

struct  Iter
 

Public Member Functions

 DirWalk (const char *path, char try_pdbid='\0')
 
 DirWalk (const std::string &path, char try_pdbid='\0')
 
 ~DirWalk ()
 
void push_dir (size_t cur_pos, const _tinydir_char_t *path)
 
size_t pop_dir ()
 
Iter begin ()
 
Iter end ()
 
bool is_single_file ()
 

Protected Attributes

Filter filter
 

Friends

struct Iter
 

Detailed Description

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

Definition at line 138 of file dirwalk.hpp.

Constructor & Destructor Documentation

◆ DirWalk() [1/2]

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
gemmi::DirWalk< FileOnly, Filter >::DirWalk ( const char path,
char  try_pdbid = '\0' 
)
inlineexplicit

Definition at line 140 of file dirwalk.hpp.

◆ DirWalk() [2/2]

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
gemmi::DirWalk< FileOnly, Filter >::DirWalk ( const std::string &  path,
char  try_pdbid = '\0' 
)
inlineexplicit

Definition at line 151 of file dirwalk.hpp.

◆ ~DirWalk()

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

Definition at line 153 of file dirwalk.hpp.

Member Function Documentation

◆ push_dir()

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
void gemmi::DirWalk< FileOnly, Filter >::push_dir ( size_t  cur_pos,
const _tinydir_char_t path 
)
inline

Definition at line 157 of file dirwalk.hpp.

◆ pop_dir()

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

Definition at line 163 of file dirwalk.hpp.

◆ begin()

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

Definition at line 229 of file dirwalk.hpp.

◆ end()

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

Definition at line 236 of file dirwalk.hpp.

◆ is_single_file()

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

Definition at line 237 of file dirwalk.hpp.

Friends And Related Symbol Documentation

◆ Iter

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

Definition at line 240 of file dirwalk.hpp.

Member Data Documentation

◆ filter

template<bool FileOnly = true, typename Filter = impl::IsAnyFile>
Filter gemmi::DirWalk< FileOnly, Filter >::filter
protected

Definition at line 244 of file dirwalk.hpp.


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