1 2 package SOFA.SOFAnode.Made.CDL; 3 import SOFA.SOFAnode.Made.TIR.CDLRepository; 4 import SOFA.SOFAnode.Made.TIR.CDLType; 5 6 class CompTypedef extends CompContainedContainerIm implements CompType { 7 public CompType type; 8 9 public CompTypedef(ID id, CompContainer in, CompRepository inRep, CompType type) { 10 super(ObjectsKind.o_Typedef, id, in, inRep); 11 this.type = type; 12 } 13 14 public void checkConsist(EnumList props, CompRepository rep) throws CDLExceptCheck, CDLExceptLock, CDLExceptRemote { 15 type.checkConsist(props,rep); 16 } 17 18 19 public CDLType toNormal(CDLRepository newRep) throws CDLExceptToNormal { 20 throw new CDLExceptToNormal("It should never throw"); 22 } 23 } 24 | Popular Tags |