25 #ifndef WMODULEMETAINFORMATION_H
26 #define WMODULEMETAINFORMATION_H
32 #include <boost/filesystem/path.hpp>
34 #include "../common/WStructuredTextParser.h"
49 typedef std::shared_ptr< WModuleMetaInformation >
SPtr;
54 typedef std::shared_ptr< const WModuleMetaInformation >
ConstSPtr;
155 boost::filesystem::path
getIcon()
const;
183 boost::filesystem::path
getHelp()
const;
204 std::vector< std::string >
getTags()
const;
226 template<
typename ResultType >
227 ResultType
query( std::string path, ResultType defaultValue = ResultType() )
const
230 return m_metaData.getValue< ResultType >( path, defaultValue );
246 template<
typename ResultType >
247 std::vector< ResultType >
query( std::string path,
const std::vector< ResultType >& defaultValues )
const
250 return m_metaData.getValues< ResultType >( path, defaultValues );
Class representing a single module of OpenWalnut.