This repository has been archived on 2023-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
plasp/include/plasp/Language.h
T
patrick 72fc7493b2 Removed Boost dependency in language distinction.
As Boost isn’t used in the rest of this project anymore, this commit
removes the unnecessary dependency to boost::bimap just for language
detection, and replaces it with a simple std::map instead.
2017-10-28 15:44:37 +02:00

37 lines
630 B
C++

#ifndef __PLASP__LANGUAGE_H
#define __PLASP__LANGUAGE_H
#include <string>
namespace plasp
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Language
//
////////////////////////////////////////////////////////////////////////////////////////////////////
class Language
{
public:
enum class Type
{
Unknown,
Automatic,
PDDL,
SAS
};
static Language::Type fromString(const std::string &languageName);
public:
Language() = delete;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
}
#endif