mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Macros | Functions
DatabaseCommand.cpp File Reference
#include <mutable/catalog/DatabaseCommand.hpp>
#include "backend/StackMachine.hpp"
#include <mutable/catalog/Catalog.hpp>
#include <mutable/catalog/Schema.hpp>
#include <mutable/IR/Optimizer.hpp>
#include <mutable/mutable.hpp>
#include <mutable/Options.hpp>
#include <mutable/storage/Index.hpp>
#include <mutable/util/DotTool.hpp>
Include dependency graph for DatabaseCommand.cpp:

Go to the source code of this file.

Macros

#define REGISTER(NAME, DESCRIPTION)    C.register_instruction<NAME>(C.pool(#NAME), DESCRIPTION)
 
#define ACCEPT(CLASS)
 

Functions

 __attribute__ ((constructor(201))) static void register_instructions()
 

Macro Definition Documentation

◆ ACCEPT

#define ACCEPT (   CLASS)
Value:
void CLASS::accept(DatabaseCommandVisitor &v) { v(*this); } \
void CLASS::accept(ConstDatabaseCommandVisitor &v) const { v(*this); }

Definition at line 347 of file DatabaseCommand.cpp.

◆ REGISTER

#define REGISTER (   NAME,
  DESCRIPTION 
)     C.register_instruction<NAME>(C.pool(#NAME), DESCRIPTION)

Function Documentation

◆ __attribute__()

__attribute__ ( (constructor(201))  )

Definition at line 39 of file DatabaseCommand.cpp.

References m::Catalog::Get(), and REGISTER.