// Generated by Haxe 4.3.1
package schema;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class UMLToSVG_getMaxWidth_91__Fun extends haxe.lang.Function
{
	public UMLToSVG_getMaxWidth_91__Fun(boolean showPrivate, model.Set set, boolean classDiagram, int[] chrWidth)
	{
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		super(1, 0);
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		this.showPrivate = showPrivate;
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		this.set = set;
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		this.classDiagram = classDiagram;
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		this.chrWidth = chrWidth;
	}
	
	
	@Override public java.lang.Object __hx_invoke1_o(double __fn_float1, java.lang.Object __fn_dyn1)
	{
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		model.Field field = ( (( __fn_dyn1 == haxe.lang.Runtime.undefined )) ? (((model.Field) (((java.lang.Object) (__fn_float1) )) )) : (((model.Field) (__fn_dyn1) )) );
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		this.chrWidth[0] = schema.UMLToSVG.getFieldMaxWidth(field, this.classDiagram, this.showPrivate, this.set.id.contains(field.name), this.chrWidth[0]);
		//line 91 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/UMLToSVG.hx"
		return null;
	}
	
	
	public boolean showPrivate;
	
	public model.Set set;
	
	public boolean classDiagram;
	
	public int[] chrWidth;
	
}


