Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsArraySerializer.h
Go to the documentation of this file.
1 
14 #ifndef WS_ARRAY_SERIALIZER_H__
15 #define WS_ARRAY_SERIALIZER_H__
16 
18 
19 #include <set>
20 
27 public:
34  WsArraySerializer(std::set<std::string>& vect);
35 
40  int serialize();
41 
45  const std::string getSerializedForm();
46 
47 private:
48 
52  std::set<std::string> m_array;
53 
58 };
59 
60 #endif
Serializes an array.
int serialize()
serializes the directory
std::set< std::string > m_array
The array to serialize.
const std::string getSerializedForm()
returns the serailized form of the directory
Json::Value m_root
the root of the Json tree
const std::string Value
Definition: WsRequestType.h:39
Structure representing all the fs tree from the root.
WsArraySerializer(std::set< std::string > &vect)
Constructor.