43 std::string curPath = fn->
getPath().string();
45 if ( curPath.compare(0, 17,
"/Issues&Positions") == 0 ) bOk =
true;
46 if ( curPath.compare(0, 26,
"/News&Media/Press releases") == 0 ) bOk =
true;
49 fn->
getPath().extension().string() ==
".fhtml" ||
50 fn->
getPath().extension().string() ==
".pdf" ||
51 fn->
getPath().extension().string() ==
".rpg" ||
52 fn->
getPath().extension().string() ==
".zip"
62 vector<NodePtr>::iterator it;
boost::shared_ptr< WsAbstractNode > NodePtr
Reprensents a File on disk.
Used to traverse the tree.
NodePropertiesPtr getProperties()
get the properties of the node If the properties are not set (no conf found, or node retrieved from s...
int start()
start traversing the Tree.
const path & getPath()
returns the relative path of the node
const string getPublishDate()
returns the publish date of the file