Class OutputArchive


  • public class OutputArchive
    extends Archive
    serializable objects can be written to an output archive.

    This class define an interface for serializing data.
    • Constructor Detail

      • OutputArchive

        public OutputArchive​(long cPtr,
                             boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
        Overrides:
        delete in class Archive
      • writeEnterScope

        public void writeEnterScope​(java.lang.String id,
                                    java.lang.String idDefault)
        create a serialized scope in which objects can be written
        Parameters:
        id - [in] id of the scope
        idDefault - [in] (optional) default id to use if id is an empty string.
      • writeEnterScope

        public void writeEnterScope​(java.lang.String id)
        create a serialized scope in which objects can be written
        Parameters:
        id - [in] id of the scope
      • writeLeaveScope

        public void writeLeaveScope​(java.lang.String id,
                                    java.lang.String idDefault)
        leave the current scope
        Parameters:
        id - [in] id of the scope
        idDefault - [in] (optional) default id to use if id is an empty string.
      • writeLeaveScope

        public void writeLeaveScope​(java.lang.String id)
        leave the current scope
        Parameters:
        id - [in] id of the scope