|
a/src/rcldb/searchdata.h |
|
b/src/rcldb/searchdata.h |
1 |
#ifndef _SEARCHDATA_H_INCLUDED_
|
1 |
#ifndef _SEARCHDATA_H_INCLUDED_
|
2 |
#define _SEARCHDATA_H_INCLUDED_
|
2 |
#define _SEARCHDATA_H_INCLUDED_
|
3 |
/* @(#$Id: searchdata.h,v 1.1 2006-04-19 08:26:08 dockes Exp $ (C) 2004 J.F.Dockes */
|
3 |
/* @(#$Id: searchdata.h,v 1.2 2006-04-22 06:27:37 dockes Exp $ (C) 2004 J.F.Dockes */
|
4 |
|
4 |
|
5 |
namespace Rcl {
|
5 |
namespace Rcl {
|
6 |
/**
|
6 |
/**
|
7 |
* Holder for query data
|
7 |
* Holder for query data
|
8 |
*/
|
8 |
*/
|
|
... |
|
... |
27 |
filetypes.clear();
|
27 |
filetypes.clear();
|
28 |
topdir.erase();
|
28 |
topdir.erase();
|
29 |
filename.erase();
|
29 |
filename.erase();
|
30 |
description.erase();
|
30 |
description.erase();
|
31 |
}
|
31 |
}
|
|
|
32 |
bool fileNameOnly() {
|
|
|
33 |
return allwords.empty() && phrase.empty() && orwords.empty() &&
|
|
|
34 |
orwords1.empty() && nowords.empty();
|
|
|
35 |
}
|
32 |
};
|
36 |
};
|
33 |
|
37 |
|
34 |
}
|
38 |
}
|
35 |
|
39 |
|
36 |
#endif /* _SEARCHDATA_H_INCLUDED_ */
|
40 |
#endif /* _SEARCHDATA_H_INCLUDED_ */
|