enlargedSchema.cpp File Reference

#include "enlargedSchema.h"
#include "schema.h"
#include <assert.h>
#include <iostream>
Include dependency graph for enlargedSchema.cpp:
This graph shows which files directly or indirectly include this file:

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().

00033 {
00034     if (width > s->width()) {
00035         return new enlargedSchema(s, width);
00036     } else {
00037         return s;
00038     }
00039 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Thu Jul 15 16:15:38 2010 for FAUST compiler by  doxygen 1.6.3