yarp
Class Value

java.lang.Object
  extended by yarp.PortReader
      extended by yarp.Portable
          extended by yarp.Value

public class Value
extends Portable


Field Summary
 
Fields inherited from class yarp.PortReader
swigCMemOwn
 
Constructor Summary
Value()
           
Value(double x)
           
Value(int x)
           
Value(int x, boolean isVocab)
           
Value(long cPtr, boolean cMemoryOwn)
           
Value(java.lang.String str)
           
Value(java.lang.String str, boolean isVocab)
           
Value(SWIGTYPE_p_void data, int length)
           
Value(Value alt)
           
 
Method Summary
 java.lang.String asBlob()
           
 long asBlobLength()
           
 boolean asBool()
           
 Property asDict()
           
 double asDouble()
           
 int asInt()
           
 SWIGTYPE_p_YARP_INT64 asInt64()
           
 Bottle asList()
           
 Searchable asSearchable()
           
 java.lang.String asString()
           
 int asVocab()
           
 boolean check(java.lang.String key)
           
 boolean check(java.lang.String key, java.lang.String comment)
           
 Value check(java.lang.String key, Value fallback)
           
 Value check(java.lang.String key, Value fallback, java.lang.String comment)
           
 Value clone_c()
           
 Value create()
           
 void delete()
           
protected  void finalize()
           
 Value find(java.lang.String key)
           
 Bottle findGroup(java.lang.String key)
           
 Bottle findGroup(java.lang.String key, java.lang.String comment)
           
 void fromString(java.lang.String str)
           
 int getCode()
           
static long getCPtr(Value obj)
           
static Value getNullValue()
           
 boolean isBlob()
           
 boolean isBool()
           
 boolean isDict()
           
 boolean isDouble()
           
 boolean isEqual(java.lang.String alt)
           
 boolean isEqual(Value alt)
           
 boolean isInt()
           
 boolean isInt64()
           
 boolean isLeaf()
           
 boolean isList()
           
 boolean isNull()
           
 boolean isString()
           
 boolean isVocab()
           
static Value makeBlob(SWIGTYPE_p_void data, int length)
           
static Value makeDouble(double x)
           
static Value makeInt(int x)
           
static Value makeList()
           
static Value makeList(java.lang.String txt)
           
static Value makeString(java.lang.String str)
           
static Value makeValue(java.lang.String txt)
           
static Value makeVocab(int v)
           
static Value makeVocab(java.lang.String str)
           
 boolean notEqual(java.lang.String alt)
           
 boolean notEqual(Value alt)
           
 boolean read(ConnectionReader connection)
           
 java.lang.String toString_c()
           
 java.lang.String toString()
           
 boolean write(ConnectionWriter connection)
           
 
Methods inherited from class yarp.Portable
copyPortable, getCPtr, getType
 
Methods inherited from class yarp.PortReader
getCPtr, getReadType, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

public Value(long cPtr,
             boolean cMemoryOwn)

Value

public Value()

Value

public Value(int x,
             boolean isVocab)

Value

public Value(int x)

Value

public Value(double x)

Value

public Value(java.lang.String str,
             boolean isVocab)

Value

public Value(java.lang.String str)

Value

public Value(SWIGTYPE_p_void data,
             int length)

Value

public Value(Value alt)
Method Detail

getCPtr

public static long getCPtr(Value obj)

finalize

protected void finalize()
Overrides:
finalize in class Portable

delete

public void delete()
Overrides:
delete in class Portable

check

public boolean check(java.lang.String key)

check

public boolean check(java.lang.String key,
                     java.lang.String comment)

check

public Value check(java.lang.String key,
                   Value fallback,
                   java.lang.String comment)

check

public Value check(java.lang.String key,
                   Value fallback)

findGroup

public Bottle findGroup(java.lang.String key)

findGroup

public Bottle findGroup(java.lang.String key,
                        java.lang.String comment)

isBool

public boolean isBool()

isInt

public boolean isInt()

isInt64

public boolean isInt64()

isString

public boolean isString()

isDouble

public boolean isDouble()

isList

public boolean isList()

isDict

public boolean isDict()

isVocab

public boolean isVocab()

isBlob

public boolean isBlob()

asBool

public boolean asBool()

asInt

public int asInt()

asInt64

public SWIGTYPE_p_YARP_INT64 asInt64()

asVocab

public int asVocab()

asDouble

public double asDouble()

asString

public java.lang.String asString()

asList

public Bottle asList()

asDict

public Property asDict()

asSearchable

public Searchable asSearchable()

asBlob

public java.lang.String asBlob()

asBlobLength

public long asBlobLength()

read

public boolean read(ConnectionReader connection)
Overrides:
read in class Portable

write

public boolean write(ConnectionWriter connection)
Overrides:
write in class Portable

find

public Value find(java.lang.String key)

isEqual

public boolean isEqual(Value alt)

notEqual

public boolean notEqual(Value alt)

isEqual

public boolean isEqual(java.lang.String alt)

notEqual

public boolean notEqual(java.lang.String alt)

fromString

public void fromString(java.lang.String str)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

create

public Value create()

clone_c

public Value clone_c()

getCode

public int getCode()

isNull

public boolean isNull()

isLeaf

public boolean isLeaf()

makeInt

public static Value makeInt(int x)

makeDouble

public static Value makeDouble(double x)

makeString

public static Value makeString(java.lang.String str)

makeVocab

public static Value makeVocab(int v)

makeVocab

public static Value makeVocab(java.lang.String str)

makeBlob

public static Value makeBlob(SWIGTYPE_p_void data,
                             int length)

makeList

public static Value makeList()

makeList

public static Value makeList(java.lang.String txt)

makeValue

public static Value makeValue(java.lang.String txt)

getNullValue

public static Value getNullValue()

toString_c

public java.lang.String toString_c()