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

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

There is a newer version: 10.1.0.Final
Show newest version
package org.omg.DynamicAny;

/**
* org/omg/DynamicAny/DynValueHolder.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
* poniedziałek, 13 maja 2019 00:03:14 CEST
*/


/**
    * DynValue objects support the manipulation of IDL non-boxed value types.
    * The DynValue interface can represent both null and non-null value types.
    * For a DynValue representing a non-null value type, the DynValue's components comprise
    * the public and private members of the value type, including those inherited from concrete base value types,
    * in the order of definition. A DynValue representing a null value type has no components
    * and a current position of -1.
    * 

Warning: Indiscriminantly changing the contents of private value type members can cause the value type * implementation to break by violating internal constraints. Access to private members is provided to support * such activities as ORB bridging and debugging and should not be used to arbitrarily violate * the encapsulation of the value type. */ public final class DynValueHolder implements org.omg.CORBA.portable.Streamable { public org.omg.DynamicAny.DynValue value = null; public DynValueHolder () { } public DynValueHolder (org.omg.DynamicAny.DynValue initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.DynamicAny.DynValueHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.DynamicAny.DynValueHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.DynamicAny.DynValueHelper.type (); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy