35 #ifndef _Wolframe_DDL_COMPILER_INTERFACE_HPP_INCLUDED
36 #define _Wolframe_DDL_COMPILER_INTERFACE_HPP_INCLUDED
41 #include <boost/shared_ptr.hpp>
boost::shared_ptr< DDLCompiler > DDLCompilerR
Reference to a DDL compiler.
Definition: ddlCompilerInterface.hpp:74
std::string m_ddlname
name of the data defintion language
Definition: ddlCompilerInterface.hpp:69
Interface for DDL compilers.
Definition: ddlCompilerInterface.hpp:48
std::string m_fileext
file extension of a program of this data defintion language
Definition: ddlCompilerInterface.hpp:70
virtual std::vector< types::FormDescriptionR > compile(const std::string &filename, const types::NormalizeFunctionMap *typemap) const =0
Compile a source from a string. Throws in case of error.
virtual ~DDLCompiler()
Destructor.
Definition: ddlCompilerInterface.hpp:54
Map of basic normalization functions for atomic values (variant type)
Definition: normalizeFunction.hpp:114
const std::string & ddlname() const
Get the name of the ddl this compiler is for.
Definition: ddlCompilerInterface.hpp:64
const std::string & fileext() const
Get the file extension for files implementing this DDL.
Definition: ddlCompilerInterface.hpp:67
DDLCompiler(const std::string &n, const std::string &e)
Constructor.
Definition: ddlCompilerInterface.hpp:51