#include "enlargedSchema.h"
#include "schema.h"
#include <assert.h>
#include <iostream>
Go to the source code of this file.
Functions | |
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. |
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 }