/// <summary> /// The Values content /// </summary> public string GetText(int depth) { string tab = ""; for (int i = 0; i < depth; i++) { tab += " "; } string retVal = tab += "Values:\n"; if (getResolution_formula_1() != null) { ResolutionFormula resForm = getResolution_formula_1() as ResolutionFormula; retVal += resForm.GetText(depth + 1); } if (getSpecial_or_reserved_value() != null) { SpecialOrReservedValue value = getSpecial_or_reserved_value() as SpecialOrReservedValue; retVal += value.GetText(depth + 1); } if (getSpecial_or_reserved_values() != null) { SpecialOrReservedValues values = getSpecial_or_reserved_values() as SpecialOrReservedValues; retVal += values.GetText(depth + 1); } return(retVal); }
/// <summary> /// The SpecialOrReservedValues content /// </summary> public string GetText(int depth) { string tab = ""; for (int i = 0; i < depth; i++) { tab += " "; } string retVal = tab + "SpecialOrReservedValues:\n"; if (allSpecial_or_reserved_values() != null) { foreach (Generated.special_or_reserved_value value in allSpecial_or_reserved_values()) { SpecialOrReservedValue specialValue = value as SpecialOrReservedValue; retVal += specialValue.GetText(depth + 1); } } return(retVal); }