private string GetUnionType(eUnionType eUnionType) { switch (eUnionType) { case eUnionType.eutAll: return(" UNION ALL "); default: throw new NotSupportedException(eUnionType.ToString()); } }
public void SetFloat(float fValue) { m_Type = eUnionType.eFloat; m_fValue = fValue; }
public void SetInt(int iValue) { m_Type = eUnionType.eInt; m_iValue = iValue; }
//public string GetString() { Assert.IsTrue(GetUnionType() == eUnionType.eString); return m_sValue; } //public object GetObject() { Assert.IsTrue(GetUnionType() == eUnionType.eObject); return m_oValue; } public void SetBool(bool bBool) { m_Type = eUnionType.eBool; m_bValue = bBool; }
public UnionType(float fValue) { m_Type = eUnionType.eFloat; m_fValue = fValue; }
public UnionType(int iValue) { m_Type = eUnionType.eInt; m_iValue = iValue; }
public UnionType(bool bBool) { m_Type = eUnionType.eBool; m_bValue = bBool; }