#include <RecOpen.h>


Definition at line 19 of file RecOpen.h.
Public Member Functions | |
| RecOpen (const cmn_Path &a_path) | |
Protected Member Functions | |
| virtual void | ProcessEntry (const cmn_Path &a_dir, const string &a_name, ivd_FileType_e a_type) |
Private Attributes | |
| log_CLASSID_m | |
| RecOpen::RecOpen | ( | const cmn_Path & | a_path | ) |
| void RecOpen::ProcessEntry | ( | const cmn_Path & | a_dir, | |
| const string & | a_name, | |||
| ivd_FileType_e | a_type | |||
| ) | [protected, virtual] |
Reimplemented from TreeWalk.
Definition at line 38 of file RecOpen.cpp.
References FailureCount::AddDirFailure(), FailureCount::AddDirSuccess(), FailureCount::AddFileFailure(), FailureCount::AddFileSuccess(), cmn_File::CloseF(), dbg_DETAIL, fom_OPEN_EXISTING, ift_DIR, log_DBG_m, log_FUNC_m, and cmn_File::OpenF().
00041 { 00042 00043 log_FUNC_m(ProcessEntry); 00044 00045 log_DBG_m(dbg_DETAIL,"a_dir=" << a_dir << " a_name=" << a_name << " a_type " << a_type) 00046 00047 cmn_FileTest f(a_dir + a_name); 00048 00049 try { 00050 f.OpenF(fom_OPEN_EXISTING); 00051 f.CloseF(); 00052 00053 if (a_type == ift_DIR) { 00054 AddDirSuccess(); 00055 } else { 00056 AddFileSuccess(); 00057 } 00058 } 00059 00060 catch (ivd_SysError &e) { 00061 log_DBG_m(dbg_DETAIL, "SysError: " << e); 00062 00063 if (a_type == ift_DIR) { 00064 AddDirFailure(); 00065 } else { 00066 AddFileFailure(); 00067 } 00068 } 00069 }

RecOpen::log_CLASSID_m [private] |
1.5.6