1 #ifndef COLLECTDIRCONTENT_H
2 #define COLLECTDIRCONTENT_H
4 #if defined __cplusplus
15 #endif // defined( WNT )
21 typedef set
<string
> DirContent
;
22 typedef map
<string
, DirContent
> DirMap
;
23 typedef DirMap::value_type EntriesPair
;
24 typedef pair
<string
, string
> PathFilePair
;
27 struct IncludesCollection
{
30 // bool search(string filePath);
31 // bool add_dir(string dirPath);
32 PathFilePair
split_path(const string
& filePath
);
33 void add_to_collection(const string
& dirPath
);
36 bool exists(string filePath
);
41 struct IncludesCollection
;
45 #if defined __cplusplus
49 struct IncludesCollection
* create_IncludesCollection(void);
51 int call_IncludesCollection_exists(struct IncludesCollection
* m
, const char* filePath
);
53 #if defined __cplusplus
57 #endif // COLLECTDIRCONTENT_H