public override bool Equals(CellValue v_other) { DoubleVal obj = v_other as DoubleVal; return(obj != null && obj._data == _data); }
public override bool Equals(CellValue v_other) { LongVal longVal = v_other as LongVal; return(longVal != null && longVal._data == _data); }
public override bool Equals(CellValue v_other) { ProbVal obj = v_other as ProbVal; return(obj != null && obj._data10k == _data10k); }
public abstract bool Equals(CellValue v_other);
public override bool Equals(CellValue v_other) { return(v_other is MissVal); }
public static CellValue CheckCellVal(string v_type) { CellValue rtn = null; v_type = v_type.Trim(); switch (v_type) { case "int": case "integer": rtn = new IntVal(); break; case "string": rtn = new StringVal(); break; case "cstring": rtn = new CStringVal(); break; case "long": rtn = new LongVal(); break; case "res": rtn = new ResVal(); break; case "number": rtn = new NumberVal(); break; case "prob": rtn = new ProbVal(); break; case "float": rtn = new FloatVal(); break; case "double": rtn = new DoubleVal(); break; case "percent": rtn = new PercentVal(); break; case "bool": rtn = new BoolVal(); break; case "table": rtn = new TableValue(); break; case "dataFromLuaFile": rtn = new DataFromLuaFileValue(); break; case "intX": rtn = new HexInt(); break; default: rtn = new IDVal(v_type); break; } return(rtn); }
public override bool Equals(CellValue v_other) { return(_source == ((TableValue)v_other)._source); }
public override bool Equals(CellValue v_other) { return(_key == ((DataFromLuaFileValue)v_other)._key); }
public void initAsLeafeData(CellValue v_cellValue) { m_iData = null; m_sData = null; m_data = v_cellValue; }
public void initAsTableData() { m_iData = new Dictionary <int, ExcelMapData>(); m_sData = new Dictionary <string, ExcelMapData>(); m_data = null; }