| souffle
    2.0.2-371-g6315b36
    | 
 
 
 
Go to the documentation of this file.
   35 class IODefaultsTransformer : 
public Transformer {
 
   37     std::string 
getName()
 const override {
 
   38         return "IODefaultsTransformer";
 
   77             if (!io->hasParameter(
"IO")) {
 
   78                 io->addParameter(
"IO", 
"file");
 
   83             if (!io->hasParameter(
"name")) {
 
   89             if (!io->hasParameter(
"operation")) {
 
   91                     io->addParameter(
"operation", 
"input");
 
   98                     io->addParameter(
"operation", 
"output");
 
  103                             io->addParameter(
"IO", 
"stdout");
 
  104                             io->addParameter(
"headers", 
"true");
 
  110                     io->addParameter(
"operation", 
"printsize");
 
  111                     io->addParameter(
"IO", 
"stdoutprintsize");
 
  126         return toString(
join(node->getQualifiedName().getQualifiers(), 
"."));
 
  
const std::string & toString(const std::string &str)
A generic function converting strings into strings (trivial case).
The program class consists of relations, clauses and types.
a directive has a type (e.g. input/output/printsize/limitsize), qualified relation name,...
detail::joined_sequence< Iter, Printer > join(const Iter &a, const Iter &b, const std::string &sep, const Printer &p)
Creates an object to be forwarded to some output stream for printing sequences of elements interspers...
Translation unit class for the translation pipeline.
constexpr auto get(span< E, S > s) -> decltype(s[N])
std::vector< Directive * > getDirectives() const
Return relation directives.
static MainConfig & config()
Program & getProgram() const
Return the program.