FileDocCategorySizeDatePackage
DynStructImpl.javaAPI DocJava SE 5 API2175Fri Aug 26 14:54:20 BST 2005com.sun.corba.se.impl.dynamicany

DynStructImpl

public class DynStructImpl extends DynAnyComplexImpl implements DynStruct

Fields Summary
Constructors Summary
private DynStructImpl()

        this(null, (Any)null, false);
    
protected DynStructImpl(com.sun.corba.se.spi.orb.ORB orb, org.omg.CORBA.Any any, boolean copyValue)

        // We can be sure that typeCode is of kind tk_struct
        super(orb, any, copyValue);
        // Initialize components lazily, on demand.
        // This is an optimization in case the user is only interested in storing Anys.
    
protected DynStructImpl(com.sun.corba.se.spi.orb.ORB orb, org.omg.CORBA.TypeCode typeCode)

        // We can be sure that typeCode is of kind tk_struct
        super(orb, typeCode);
        // For DynStruct, the operation sets the current position to -1
        // for empty exceptions and to zero for all other TypeCodes.
        // The members (if any) are (recursively) initialized to their default values.
        index = 0;
    
Methods Summary
public org.omg.DynamicAny.NameValuePair[]get_members()

        if (status == STATUS_DESTROYED) {
	    throw wrapper.dynAnyDestroyed() ;
        }
        checkInitComponents();
        return nameValuePairs;
    
public org.omg.DynamicAny.NameDynAnyPair[]get_members_as_dyn_any()

        if (status == STATUS_DESTROYED) {
	    throw wrapper.dynAnyDestroyed() ;
        }
        checkInitComponents();
        return nameDynAnyPairs;