NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Compiler::CPPCompiler Class Reference

A @LanguageCompiler for C++. Relies on clang++ for compilation. More...

#include <CPPCompiler.hpp>

Collaboration diagram for NES::Compiler::CPPCompiler:
[legend]

Public Member Functions

 CPPCompiler ()
 
 ~CPPCompiler () noexcept
 
CompilationResult compile (std::shared_ptr< const CompilationRequest > request) const override
 Handles a compilation request. Implementations have to be thread safe. More...
 
Language getLanguage () const override
 Returns the language for, which this compiler can handle compilation requests. More...
 
- Public Member Functions inherited from NES::Compiler::LanguageCompiler
virtual ~LanguageCompiler ()=default
 Destructor for the language compiler. More...
 

Static Public Member Functions

static std::shared_ptr< LanguageCompilercreate ()
 Creates a new instance of the cpp compiler. More...
 

Detailed Description

A @LanguageCompiler for C++. Relies on clang++ for compilation.

Constructor & Destructor Documentation

◆ CPPCompiler()

NES::Compiler::CPPCompiler::CPPCompiler ( )

◆ ~CPPCompiler()

NES::Compiler::CPPCompiler::~CPPCompiler ( )
noexcept

References NES_DEBUG.

Member Function Documentation

◆ compile()

CompilationResult NES::Compiler::CPPCompiler::compile ( std::shared_ptr< const CompilationRequest request) const
overridevirtual

◆ create()

std::shared_ptr< LanguageCompiler > NES::Compiler::CPPCompiler::create ( )
static

Creates a new instance of the cpp compiler.

Returns
std::shared_ptr<LanguageCompiler>

Referenced by NES::TestUtils::createTestQueryCompiler(), NES::NesCoordinator::NesCoordinator(), NES::Compiler::CompilationCacheTest::SetUp(), NES::Compiler::JITCompilerTest::SetUp(), NES::ExpressionNodeTest::SetUp(), NES::LogicalExpressionTest::SetUp(), NES::SemanticQueryValidationTest::SetUp(), NES::SyntacticQueryValidationTest::SetUp(), and QueryCatalogTest::SetUp().

Here is the caller graph for this function:

◆ getLanguage()

Language NES::Compiler::CPPCompiler::getLanguage ( ) const
overridevirtual

Returns the language for, which this compiler can handle compilation requests.

Returns
language

Implements NES::Compiler::LanguageCompiler.

References NES::Compiler::CPP.


The documentation for this class was generated from the following files: