00001
00002
00012
00013
00014
00015
00016
00017 #ifndef __CSIBCSearchPath_H__
00018 #define __CSIBCSearchPath_H__
00019
00020
00021
00022
00023 #include <SIBCArray.h>
00024 #include <SIBCString.h>
00025 #include <SIBCUtil.h>
00026
00027
00028
00029
00030
00036 class XSICOREEXPORT CSIBCSearchPath
00037 {
00038 public:
00039
00043 CSIBCSearchPath();
00044
00045 ~CSIBCSearchPath();
00046
00054 SI_Error AddPath( CSIBCString & in_Path);
00055
00061 SI_Error ClearPaths();
00062
00072 SI_Error Search( CSIBCString &file, CSIBCString &resultpath );
00073
00086 SI_Error GetFiles( CSIBCString &in_Filter, CSIBCArray < CSIBCString * > *out_pFiles );
00087
00088
00100 SI_Error GetDirectories( CSIBCString& in_Filter, CSIBCArray < CSIBCString * > * out_pDirs );
00101
00102
00108 CSIBCArray < CSIBCString * > &GetPaths() { return m_Paths; };
00109
00110
00111 protected:
00112
00113
00114 private:
00115 CSIBCArray < CSIBCString * > m_Paths;
00116 SI_Void *m_pUnused;
00117
00118 };
00119
00120
00121 #endif // CSIBCSearchPath