public static jmpValue getDefault(jmpValueType type) { switch (type) { case jmpValueType.INTEGER: return(default(int)); case jmpValueType.FLOAT: return(default(float)); case jmpValueType.STRING: return(default(string)); } return(default(jmpValue)); }
public jmpValue(float value) : this() { mType = jmpValueType.FLOAT; mFloatValue = value; }
public jmpValue(string value) : this() { mType = jmpValueType.STRING; mStringValue = value; }
public jmpValue(int value) : this() { mType = jmpValueType.INTEGER; mIntValue = value; }