1 2 package SOFA.SOFAnode.Made.CDL; 3 4 5 class CompParam extends CompObjectIm { 6 public static final int p_in = 0; 7 public static final int p_out = 1; 8 public static final int p_inout = 2; 9 10 public String name; 11 public CompType type; 12 public int mode; 13 14 public CompParam(String name, CompType type, int mode) { 15 super(ObjectsKind.o_Param); 16 this.name = name; 17 this.type = type; 18 this.mode = mode; 19 } 20 21 public void checkConsist(EnumList props, CompRepository rep) {} 22 } 23 | Popular Tags |