llnl.visit
Class Variant
java.lang.Object
llnl.visit.Variant
- Direct Known Subclasses:
- MapNode
public class Variant
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VARIANT_EMPTY_TYPE
public static final int VARIANT_EMPTY_TYPE
- See Also:
- Constant Field Values
VARIANT_BOOL_TYPE
public static final int VARIANT_BOOL_TYPE
- See Also:
- Constant Field Values
VARIANT_CHAR_TYPE
public static final int VARIANT_CHAR_TYPE
- See Also:
- Constant Field Values
VARIANT_UNSIGNED_CHAR_TYPE
public static final int VARIANT_UNSIGNED_CHAR_TYPE
- See Also:
- Constant Field Values
VARIANT_INT_TYPE
public static final int VARIANT_INT_TYPE
- See Also:
- Constant Field Values
VARIANT_LONG_TYPE
public static final int VARIANT_LONG_TYPE
- See Also:
- Constant Field Values
VARIANT_FLOAT_TYPE
public static final int VARIANT_FLOAT_TYPE
- See Also:
- Constant Field Values
VARIANT_DOUBLE_TYPE
public static final int VARIANT_DOUBLE_TYPE
- See Also:
- Constant Field Values
VARIANT_STRING_TYPE
public static final int VARIANT_STRING_TYPE
- See Also:
- Constant Field Values
VARIANT_BOOL_VECTOR_TYPE
public static final int VARIANT_BOOL_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_CHAR_VECTOR_TYPE
public static final int VARIANT_CHAR_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_UNSIGNED_CHAR_VECTOR_TYPE
public static final int VARIANT_UNSIGNED_CHAR_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_INT_VECTOR_TYPE
public static final int VARIANT_INT_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_LONG_VECTOR_TYPE
public static final int VARIANT_LONG_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_FLOAT_VECTOR_TYPE
public static final int VARIANT_FLOAT_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_DOUBLE_VECTOR_TYPE
public static final int VARIANT_DOUBLE_VECTOR_TYPE
- See Also:
- Constant Field Values
VARIANT_STRING_VECTOR_TYPE
public static final int VARIANT_STRING_VECTOR_TYPE
- See Also:
- Constant Field Values
dataType
protected int dataType
dataValue
protected java.lang.Object dataValue
Variant
public Variant()
Variant
public Variant(Variant obj)
Type
public int Type()
SetValue
public void SetValue(boolean val)
SetValue
public void SetValue(byte val)
SetValue
public void SetValue(int val)
SetValue
public void SetValue(long val)
SetValue
public void SetValue(float val)
SetValue
public void SetValue(double val)
SetValue
public void SetValue(java.lang.String val)
SetValue
public void SetValue(java.util.Vector val,
int t)
AsBool
public boolean AsBool()
AsByte
public byte AsByte()
AsInt
public int AsInt()
AsLong
public long AsLong()
AsFloat
public float AsFloat()
AsDouble
public double AsDouble()
AsString
public java.lang.String AsString()
AsVector
public java.util.Vector AsVector()
DataValue
public java.lang.Object DataValue()
Write
public void Write(CommunicationBuffer buf)
Read
public void Read(CommunicationBuffer buf)
toString
public java.lang.String toString(java.lang.String indent)