All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.DynamicAny.DynValueBoxHolder Maven / Gradle / Ivy

package org.omg.DynamicAny;

/**
* org/omg/DynamicAny/DynValueBoxHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/DynamicAny/DynamicAny.idl
* Thursday, June 22, 2023 7:19:19 PM CEST
*/


/**
    * DynValueBox objects support the manipulation of IDL boxed value types.
    * The DynValueBox interface can represent both null and non-null value types.
    * For a DynValueBox representing a non-null value type, the DynValueBox has a single component
    * of the boxed type. A DynValueBox representing a null value type has no components
    * and a current position of -1.
    */
public final class DynValueBoxHolder implements org.omg.CORBA.portable.Streamable
{
  public org.omg.DynamicAny.DynValueBox value = null;

  public DynValueBoxHolder ()
  {
  }

  public DynValueBoxHolder (org.omg.DynamicAny.DynValueBox initialValue)
  {
    value = initialValue;
  }

  public void _read (org.omg.CORBA.portable.InputStream i)
  {
    value = org.omg.DynamicAny.DynValueBoxHelper.read (i);
  }

  public void _write (org.omg.CORBA.portable.OutputStream o)
  {
    org.omg.DynamicAny.DynValueBoxHelper.write (o, value);
  }

  public org.omg.CORBA.TypeCode _type ()
  {
    return org.omg.DynamicAny.DynValueBoxHelper.type ();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy