|
Wittyshare
0.2
|
Serializes an array. More...
#include <WsArraySerializer.h>

Public Member Functions | |
| WsArraySerializer (std::set< std::string > &vect) | |
| Constructor. More... | |
| int | serialize () |
| serializes the directory More... | |
| const std::string | getSerializedForm () |
| returns the serailized form of the directory More... | |
Private Attributes | |
| std::set< std::string > | m_array |
| The array to serialize. More... | |
| Json::Value | m_root |
| the root of the Json tree More... | |
Serializes an array.
Takes an array (std::vector) as input and outputs a Json tree
Definition at line 26 of file WsArraySerializer.h.
| WsArraySerializer::WsArraySerializer | ( | std::set< std::string > & | vect | ) |
Constructor.
| tree | the file system tree |
| groups | the groups which the user belongs to |
| p | the path of the dir to serialize |
Definition at line 17 of file WsArraySerializer.cpp.
| const string WsArraySerializer::getSerializedForm | ( | ) |
returns the serailized form of the directory
Definition at line 32 of file WsArraySerializer.cpp.

| int WsArraySerializer::serialize | ( | ) |
serializes the directory
Definition at line 22 of file WsArraySerializer.cpp.
|
private |
The array to serialize.
Definition at line 52 of file WsArraySerializer.h.
|
private |
the root of the Json tree
Definition at line 57 of file WsArraySerializer.h.
1.8.6