yarp
Class Bottle
java.lang.Object
yarp.PortReader
yarp.Portable
yarp.Bottle
public class Bottle
- extends Portable
Method Summary |
void |
add(java.lang.String txt)
|
void |
add(Value value)
|
Property |
addDict()
|
void |
addDouble(double x)
|
void |
addInt(int x)
|
void |
addInt64(SWIGTYPE_p_YARP_INT64 x)
|
Bottle |
addList()
|
void |
addString(java.lang.String str)
|
void |
addVocab(int x)
|
void |
append(Bottle alt)
|
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)
|
void |
clear()
|
void |
copy(Bottle alt)
|
void |
copy(Bottle alt,
int first)
|
void |
copy(Bottle alt,
int first,
int len)
|
void |
delete()
|
static java.lang.String |
describeBottleCode(int code)
|
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 |
fromBinary(java.lang.String buf,
int len)
|
void |
fromString(java.lang.String text)
|
Value |
get(int index)
|
static long |
getCPtr(Bottle obj)
|
static Bottle |
getNullBottle()
|
int |
getSpecialization()
|
void |
hasChanged()
|
boolean |
isEqual(Bottle alt)
|
boolean |
isNull()
|
boolean |
notEqual(Bottle alt)
|
void |
onCommencement()
|
Value |
pop()
|
boolean |
read(ConnectionReader reader)
|
boolean |
read(PortWriter writer)
|
boolean |
read(PortWriter writer,
boolean textMode)
|
void |
setNested(boolean nested)
|
int |
size()
|
void |
specialize(int subCode)
|
Bottle |
tail()
|
java.lang.String |
toBinary()
|
java.lang.String |
toBinary(SWIGTYPE_p_size_t size)
|
java.lang.String |
toString_c()
|
java.lang.String |
toString()
|
static java.lang.String |
toString(int x)
|
boolean |
write(ConnectionWriter writer)
|
boolean |
write(PortReader reader)
|
boolean |
write(PortReader reader,
boolean textMode)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Bottle
public Bottle(long cPtr,
boolean cMemoryOwn)
Bottle
public Bottle()
Bottle
public Bottle(java.lang.String text)
Bottle
public Bottle(Bottle bottle)
getCPtr
public static long getCPtr(Bottle 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)
clear
public void clear()
addInt
public void addInt(int x)
addInt64
public void addInt64(SWIGTYPE_p_YARP_INT64 x)
addVocab
public void addVocab(int x)
addDouble
public void addDouble(double x)
addString
public void addString(java.lang.String str)
add
public void add(Value value)
add
public void add(java.lang.String txt)
addList
public Bottle addList()
addDict
public Property addDict()
pop
public Value pop()
get
public Value get(int index)
size
public int size()
fromString
public void fromString(java.lang.String text)
fromBinary
public void fromBinary(java.lang.String buf,
int len)
toBinary
public java.lang.String toBinary(SWIGTYPE_p_size_t size)
toBinary
public java.lang.String toBinary()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public boolean write(ConnectionWriter writer)
- Overrides:
write
in class Portable
read
public boolean read(ConnectionReader reader)
- Overrides:
read
in class Portable
write
public boolean write(PortReader reader,
boolean textMode)
write
public boolean write(PortReader reader)
read
public boolean read(PortWriter writer,
boolean textMode)
read
public boolean read(PortWriter writer)
onCommencement
public void onCommencement()
find
public Value find(java.lang.String key)
isNull
public boolean isNull()
copy
public void copy(Bottle alt,
int first,
int len)
copy
public void copy(Bottle alt,
int first)
copy
public void copy(Bottle alt)
getNullBottle
public static Bottle getNullBottle()
isEqual
public boolean isEqual(Bottle alt)
notEqual
public boolean notEqual(Bottle alt)
append
public void append(Bottle alt)
tail
public Bottle tail()
specialize
public void specialize(int subCode)
getSpecialization
public int getSpecialization()
setNested
public void setNested(boolean nested)
hasChanged
public void hasChanged()
toString
public static java.lang.String toString(int x)
describeBottleCode
public static java.lang.String describeBottleCode(int code)
toString_c
public java.lang.String toString_c()