#ifndef DIGEDAG_PEGASUS_PARSER_HPP #define DIGEDAG_PEGASUS_PARSER_HPP #include #include #include "util/split.hpp" #include "digedag.hpp" namespace digedag { namespace dax { class parser { private: boost::shared_ptr dag_; std::string dag_file_; std::string scheduler_file_; void parse_dag (void); void parse_node (const std::string spec); void parse_edge (const std::string spec); public: parser (const std::string & dag_file, const std::string & scheduler_file); ~parser (void); boost::shared_ptr get_dag (void); }; } // namespace dax } // namespace digedag #endif // DIGEDAG_PEGASUS_PARSER_HPP