LAMA
/home/brandes/workspace/LAMA/src/lama/solver/creator/Creator.hpp
Go to the documentation of this file.
00001 
00033 #ifndef LAMA_CREATOR_HPP_
00034 #define LAMA_CREATOR_HPP_
00035 
00036 // for dll_import
00037 #include <lama/config.hpp>
00038 
00039 #include <logging/Logger.hpp>
00040 
00041 #include <lama/Scalar.hpp>
00042 
00043 #include <string>
00044 
00045 
00046 // spirit
00047 #include <boost/spirit/include/qi.hpp>
00048 
00049 #include <string>
00050 
00051 
00052 namespace lama
00053 {
00054 
00055 namespace qi = boost::spirit::qi;
00056 namespace ascii = boost::spirit::ascii;
00057 namespace phoenix = boost::phoenix;
00058 
00059 class MetaSolver;
00060 
00061 class LAMA_DLL_IMPORTEXPORT Creator
00062 {
00063 public:
00064     virtual ~Creator();
00065 
00066 protected:
00067     Creator();
00068 
00072     qi::rule<std::string::const_iterator, std::string(), ascii::space_type> mRId;
00073 
00074     qi::rule<std::string::const_iterator, Scalar(), ascii::space_type> mRScalar;
00075 
00076 private:
00077     LAMA_LOG_DECL_STATIC_LOGGER(logger);
00078 };
00079 
00080 }
00081 #endif // LAMA_CREATOR_HPP_