Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsSearchRSS.h
Go to the documentation of this file.
1 /*
2  *
3  * Filename: WsSearchRSS.h
4  *
5  * Description:
6  *
7  * Created: 04/18/2012 12:34:02 PM
8  *
9  * Author: Benoit Daccache, ben.daccache@gmail.com
10  *
11  */
12 
13 #ifndef __WsSearchRSS_H_
14 #define __WsSearchRSS_H_
15 
17 #include <Tree/WsAccessTree.h>
18 
20 public:
21  WsSearchRSS(NodePtr mt);
22 
23  vector<NodePtr> getRSS(int nb);
24 
25 
26 private:
28  int endTraverseDir(NodePtr n);
29  int traverseFile(NodePtr n);
30 
31  vector<NodePtr> m_vect;
32  int m_maxSize;
33 
34 
35 };
36 
37 #endif
WsSearchRSS(NodePtr mt)
Definition: WsSearchRSS.cpp:16
Reprensents the menu tree of a group. If a group does not have access to a Node, this Node will not s...
int endTraverseDir(NodePtr n)
Called when a directory has been completely traversed. ie all subnodes(recursively all sub nodes of s...
Definition: WsSearchRSS.cpp:33
boost::shared_ptr< WsAbstractNode > NodePtr
Used to traverse the tree.
int beginTraverseDir(NodePtr n)
Called when a directory is being traversed.
Definition: WsSearchRSS.cpp:28
vector< NodePtr > getRSS(int nb)
Definition: WsSearchRSS.cpp:21
int traverseFile(NodePtr n)
Called when traversing a fileNode.
Definition: WsSearchRSS.cpp:38
Structure representing all the fs tree from the root.
vector< NodePtr > m_vect
Definition: WsSearchRSS.h:31