Thrill  0.1
SimpleGlobBase< SOCHAR > Class Template Reference

Detailed Description

template<typename SOCHAR>
class thrill::vfs::glob_local::SimpleGlobBase< SOCHAR >

Unix glob implementation.

Definition at line 414 of file simple_glob.hpp.

+ Inheritance diagram for SimpleGlobBase< SOCHAR >:

#include <simple_glob.hpp>

Public Member Functions

 SimpleGlobBase ()
 
 ~SimpleGlobBase ()
 
void FilePrep ()
 
void FindDone ()
 
int FindFirstFileS (const char *a_pszFileSpec, unsigned int a_uiFlags)
 
bool FindNextFileS (char)
 
const char * GetFileNameS (char) const
 
SG_FileType GetFileTypeS (const char *a_pszPath) const
 
bool IsDirS (char) const
 

Private Attributes

bool b_isdir_
 
glob_t glob_
 
size_t ui_curr_
 

Constructor & Destructor Documentation

◆ SimpleGlobBase()

SimpleGlobBase ( )
inline

Definition at line 417 of file simple_glob.hpp.

◆ ~SimpleGlobBase()

~SimpleGlobBase ( )
inline

Definition at line 422 of file simple_glob.hpp.

Member Function Documentation

◆ FilePrep()

void FilePrep ( )
inline

Definition at line 426 of file simple_glob.hpp.

References SimpleGlobUtil::strlen().

◆ FindDone()

void FindDone ( )
inline

Definition at line 473 of file simple_glob.hpp.

Referenced by CSimpleGlobTempl< SOCHAR >::Add().

◆ FindFirstFileS()

◆ FindNextFileS()

bool FindNextFileS ( char  )
inline

Definition at line 458 of file simple_glob.hpp.

References SG_ASSERT.

◆ GetFileNameS()

const char* GetFileNameS ( char  ) const
inline

Definition at line 479 of file simple_glob.hpp.

References SG_ASSERT.

◆ GetFileTypeS()

SG_FileType GetFileTypeS ( const char *  a_pszPath) const
inline

◆ IsDirS()

bool IsDirS ( char  ) const
inline

Definition at line 496 of file simple_glob.hpp.

References SG_ASSERT.

Member Data Documentation

◆ b_isdir_

bool b_isdir_
private

Definition at line 534 of file simple_glob.hpp.

◆ glob_

glob_t glob_
private

Definition at line 532 of file simple_glob.hpp.

◆ ui_curr_

size_t ui_curr_
private

Definition at line 533 of file simple_glob.hpp.


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