FreeSWITCH API Documentation
1.7.0
|
Unix glob implementation. More...
#include <SimpleGlob.h>
Public Member Functions | |
SimpleGlobBase () | |
~SimpleGlobBase () | |
void | FilePrep () |
int | FindFirstFileS (const char *a_pszFileSpec, unsigned int a_uiFlags) |
bool | FindNextFileS (char) |
void | FindDone () |
const char * | GetFileNameS (char) const |
bool | IsDirS (char) const |
SG_FileType | GetFileTypeS (const char *a_pszPath) const |
Private Attributes | |
glob_t | m_glob |
size_t | m_uiCurr |
bool | m_bIsDir |
Unix glob implementation.
Definition at line 342 of file SimpleGlob.h.
|
inline |
Definition at line 343 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::m_glob, SimpleGlobBase< SOCHAR >::m_uiCurr, and memset().
|
inline |
Definition at line 346 of file SimpleGlob.h.
|
inline |
Definition at line 350 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::m_bIsDir, SimpleGlobBase< SOCHAR >::m_glob, and SimpleGlobBase< SOCHAR >::m_uiCurr.
Referenced by SimpleGlobBase< SOCHAR >::FindFirstFileS(), and SimpleGlobBase< SOCHAR >::FindNextFileS().
|
inline |
Definition at line 388 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::m_glob, SimpleGlobBase< SOCHAR >::m_uiCurr, and memset().
|
inline |
Definition at line 359 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::FilePrep(), SimpleGlobBase< SOCHAR >::m_glob, SimpleGlobBase< SOCHAR >::m_uiCurr, SG_ERR_FAILURE, SG_ERR_MEMORY, SG_ERR_NOMATCH, SG_GLOB_ERR, SG_GLOB_TILDE, and SG_SUCCESS.
|
inline |
Definition at line 379 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::FilePrep(), SimpleGlobBase< SOCHAR >::m_glob, SimpleGlobBase< SOCHAR >::m_uiCurr, and SG_ASSERT.
|
inline |
Definition at line 394 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::m_glob, SimpleGlobBase< SOCHAR >::m_uiCurr, and SG_ASSERT.
|
inline |
Definition at line 402 of file SimpleGlob.h.
References SG_FILETYPE_DIR, SG_FILETYPE_FILE, and SG_FILETYPE_INVALID.
|
inline |
Definition at line 398 of file SimpleGlob.h.
References SimpleGlobBase< SOCHAR >::m_bIsDir, SimpleGlobBase< SOCHAR >::m_uiCurr, and SG_ASSERT.
|
private |
Definition at line 419 of file SimpleGlob.h.
Referenced by SimpleGlobBase< SOCHAR >::FilePrep(), and SimpleGlobBase< SOCHAR >::IsDirS().
|
private |
Definition at line 417 of file SimpleGlob.h.
Referenced by SimpleGlobBase< SOCHAR >::FilePrep(), SimpleGlobBase< SOCHAR >::FindDone(), SimpleGlobBase< SOCHAR >::FindFirstFileS(), SimpleGlobBase< SOCHAR >::FindNextFileS(), SimpleGlobBase< SOCHAR >::GetFileNameS(), and SimpleGlobBase< SOCHAR >::SimpleGlobBase().
|
private |
Definition at line 418 of file SimpleGlob.h.
Referenced by SimpleGlobBase< SOCHAR >::FilePrep(), SimpleGlobBase< SOCHAR >::FindDone(), SimpleGlobBase< SOCHAR >::FindFirstFileS(), SimpleGlobBase< SOCHAR >::FindNextFileS(), SimpleGlobBase< SOCHAR >::GetFileNameS(), SimpleGlobBase< SOCHAR >::IsDirS(), and SimpleGlobBase< SOCHAR >::SimpleGlobBase().