FAUST compiler  0.9.9.6b8
Functions | Variables
loop.cpp File Reference
#include "loop.hh"
Include dependency graph for loop.cpp:

Go to the source code of this file.

Functions

static void tab (int n, ostream &fout)
 Print n tabs (for indentation purpose)
static void printlines (int n, list< string > &lines, ostream &fout)
 Print a list of lines.

Variables

bool gVectorSwitch
bool gOpenMPSwitch
bool gOpenMPLoop

Function Documentation

static void printlines ( int  n,
list< string > &  lines,
ostream &  fout 
) [static]

Print a list of lines.

Parameters:
nnumber of tabs of indentation
lineslist of lines to be printed
foutoutput stream

Definition at line 26 of file loop.cpp.

References tab().

{
    list<string>::iterator s;
    for (s = lines.begin(); s != lines.end(); s++) {
        tab(n, fout); fout << *s;
    }
}

Here is the call graph for this function:

static void tab ( int  n,
ostream &  fout 
) [static]

Print n tabs (for indentation purpose)

Parameters:
nnumber of tabs to print
foutoutput stream

Definition at line 13 of file loop.cpp.

{
    fout << '\n';
    while (n--) fout << '\t';
}

Variable Documentation

Definition at line 143 of file main.cpp.

Definition at line 142 of file main.cpp.

Definition at line 137 of file main.cpp.