Package org.robwork.sdurw_common
Class BINArchive
- java.lang.Object
-
- org.robwork.sdurw_common.Archive
-
- org.robwork.sdurw_common.InputArchive
-
- org.robwork.sdurw_common.BINArchive
-
public class BINArchive extends InputArchive
archive for loading and saving serializable classes.
-
-
Constructor Summary
Constructors Constructor Description BINArchive()constructorBINArchive(long cPtr, boolean cMemoryOwn)BINArchive(SWIGTYPE_p_std__ostream ofs)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()close streaming to archivevoiddelete()voidflush()flush the archive.static longgetCPtr(BINArchive obj)booleanisOpen()test if this archive is openned for manipulation.-
Methods inherited from class org.robwork.sdurw_common.InputArchive
getCPtr, readBool, readDouble, readEnterScope, readEnterScope, readInt, readInt64, readInt8, readLeaveScope, readLeaveScope, readString, readUInt, readUInt64, readUInt8
-
-
-
-
Constructor Detail
-
BINArchive
public BINArchive(long cPtr, boolean cMemoryOwn)
-
BINArchive
public BINArchive()
constructor
-
BINArchive
public BINArchive(SWIGTYPE_p_std__ostream ofs)
Constructor.- Parameters:
ofs- [out] output stream to write to.
-
-
Method Detail
-
getCPtr
public static long getCPtr(BINArchive obj)
-
delete
public void delete()
- Overrides:
deletein classInputArchive
-
flush
public void flush()
Description copied from class:Archiveflush the archive. Anything stored in buffers will be flushed to the
actual media that has been openned.
-
-