FAUST compiler  0.9.9.6b8
Functions
enlargedSchema.cpp File Reference
#include "enlargedSchema.h"
#include <assert.h>
#include <iostream>
Include dependency graph for enlargedSchema.cpp:

Go to the source code of this file.

Functions

schemamakeEnlargedSchema (schema *s, double width)
 Returns an enlarged schema, but only if really needed that is if the requiered width is greater that the schema width.

Function Documentation

schema* makeEnlargedSchema ( schema s,
double  width 
)

Returns an enlarged schema, but only if really needed that is if the requiered width is greater that the schema width.

Definition at line 32 of file enlargedSchema.cpp.

References schema::width().

Referenced by makeMergeSchema(), makeParSchema(), makeRecSchema(), and makeSplitSchema().

{
    if (width > s->width()) {
        return new enlargedSchema(s, width);
    } else {
        return s;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function: