13 #ifndef WS_MENU_TREE_SERAILIZER_H__
14 #define WS_MENU_TREE_SERAILIZER_H__
20 #include <json/json.h>
21 #include <json/reader.h>
22 #include <json/value.h>
Reprensents the menu tree of a group. If a group does not have access to a Node, this Node will not s...
boost::shared_ptr< WsAbstractNode > NodePtr
Reprensents an access tree.
Serializes a tree (WsAccessTree, WsMenuTree).
WsTreeSerializer(WsAccessTree *tree)
Constructor.
Traverses the fileSystemTree.
int addSub(Json::Value &v, NodePtr n)
adds a SubNode to the tree corresponding to the Json entry
int serialize()
serialize the given data structur
const std::string getSerializedForm()
returns the Json text representing the given structure
boost::filesystem::path m_rootPath