private String evalEnumDomain(IXMLElement xml, LinkedList funcImpls) {
private String evalEnumDomain(IXMLElement xml, LinkedList funcImpls) throws TestLangRuntimeException {
  private String evalEnumDomain(IXMLElement xml, LinkedList funcImpls) {    if(xml.getChildren().size() == 1) {      getNextEnumName();      String val = evalValue(xml.getChildAtIndex(0));      if(val.indexOf("LabelStr(\"") != -1)        return "StringDomain((double)" + val + ");";      else        return "EnumeratedDomain(" + val + ");";    }    CppFile enumBuild = new CppFile();    if(xml.getChildAtIndex(0).getAttribute("type", "").equals("integer"))      enumBuild.addLine("EnumeratedDomain " + getNextEnumName() + "();");    else      enumBuild.addLine("StringDomain " + getNextEnumName() + "();");    for(Iterator it = xml.getChildren().iterator(); it.hasNext();) {      IXMLElement child = (IXMLElement) it.next();      enumBuild.addLine(getCurrentEnumName() + ".insert(" +evalValue(child) + ");");    }    enumBuild.addLine(getCurrentEnumName() + ".close();");    return enumBuild.toString();  }