Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsNodeResources.h
Go to the documentation of this file.
1 
14 #ifndef WS_NODE_RESOURCES_H__
15 #define WS_NODE_RESOURCES_H__
16 
17 #include <iostream>
18 #include <set>
19 #include <boost/filesystem.hpp>
20 
21 #include "WsAbstractProperties.h"
22 
30 public:
31 
33 
37  WsNodeResources(boost::filesystem::path nodePath);
38 
39  const std::vector<std::string>& get(Type t);
40 
41  void add(Type, const std::string& value);
42 
44 
45 private:
46  std::vector<std::string> m_iconesUrl;
47  std::vector<std::string> m_imagesUrl;
48  std::vector<std::string> m_templatesUrl;
49  boost::filesystem::path m_nodePath;
50 
51 
52 };
53 #endif
std::vector< std::string > m_imagesUrl
void add(Type, const std::string &value)
boost::filesystem::path m_nodePath
WsNodeResources(boost::filesystem::path nodePath)
Constructor.
int createResourcesDirectories()
std::vector< std::string > m_iconesUrl
Resources of a WsNode.
std::vector< std::string > m_templatesUrl
Abstract class for properties.