roviz  0.7
Code Documentation of roviz
config_storage_type.h
1 #ifndef CONFIG_STORAGE_TYPE_H
2 #define CONFIG_STORAGE_TYPE_H
3 
4 #include <list>
5 #include <string>
6 #include "config/file_path.h"
7 
19 template<typename T>
20 class ROVIZ_EXPORT ConfigStorageType
21 { public: typedef T type;};
22 
23 template<>
24 class ROVIZ_EXPORT ConfigStorageType<std::list<std::string> >
25 { public: typedef int type; };
26 
27 template<>
28 class ROVIZ_EXPORT ConfigStorageType<FilePath>
29 { public: typedef std::list<std::string> type; };
30 
31 #endif // CONFIG_STORAGE_TYPE_H
Class that connects a type that can be stored in a config and it&#39;s value type.
Definition: config_storage_type.h:20
Class used as a tag for file paths.
Definition: file_path.h:17