Examples of IdlType


Examples of org.apache.yoko.tools.common.idltypes.IdlType

        scope.addToScope(idlType);
        return idlType;
    }
   
    private IdlType createAnonArray(CorbaTypeImpl ctype, IdlScopeBase scope, String local) {
        IdlType idlType = null;
        Anonarray s = (Anonarray)ctype;
        IdlType base = findType(s.getElemtype());       
        int bound = (int)s.getBound();
        idlType = IdlAnonArray.create(scope, base, bound);
        scope.addToScope(idlType);
        return idlType;
    }
View Full Code Here

Examples of org.apache.yoko.tools.common.idltypes.IdlType

        scope.addToScope(idlType);
        return idlType;
    }
   
    private IdlType createFixed(CorbaTypeImpl ctype, IdlScopeBase scope, String local) {
        IdlType idlType = null;
        Fixed f = (Fixed)ctype;    
        Long digits = f.getDigits();
        Long scale = f.getScale();       
        idlType = IdlFixed.create(scope, local, digits.intValue(),  
                                  scale.intValue());
View Full Code Here

Examples of org.apache.yoko.tools.common.idltypes.IdlType

        scope.addToScope(idlType);
        return idlType;
    }
   
    private IdlType createAnonFixed(CorbaTypeImpl ctype, IdlScopeBase scope, String local) {
        IdlType idlType = null;
        Anonfixed f = (Anonfixed)ctype;    
        Long digits = f.getDigits();
        Long scale = f.getScale();       
        idlType = IdlAnonFixed.create(scope, digits.intValue(), scale.intValue());
        scope.addToScope(idlType);
View Full Code Here

Examples of org.csu.idl.idlmm.IDLType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainedType(IDLType newContainedType, NotificationChain msgs) {
    IDLType oldContainedType = containedType;
    containedType = newContainedType;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IdlmmPackage.CONSTANT_DEF__CONTAINED_TYPE, oldContainedType, newContainedType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.csu.idl.idlmm.IDLType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainedType(IDLType newContainedType, NotificationChain msgs) {
    IDLType oldContainedType = containedType;
    containedType = newContainedType;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IdlmmPackage.ATTRIBUTE_DEF__CONTAINED_TYPE, oldContainedType, newContainedType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.csu.idl.idlmm.IDLType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainedDiscrim(IDLType newContainedDiscrim, NotificationChain msgs) {
    IDLType oldContainedDiscrim = containedDiscrim;
    containedDiscrim = newContainedDiscrim;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IdlmmPackage.UNION_DEF__CONTAINED_DISCRIM, oldContainedDiscrim, newContainedDiscrim);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.csu.idl.idlmm.IDLType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainedType(IDLType newContainedType, NotificationChain msgs) {
    IDLType oldContainedType = containedType;
    containedType = newContainedType;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IdlmmPackage.OPERATION_DEF__CONTAINED_TYPE, oldContainedType, newContainedType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.csu.idl.idlmm.IDLType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContainedType(IDLType newContainedType, NotificationChain msgs) {
    IDLType oldContainedType = containedType;
    containedType = newContainedType;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IdlmmPackage.TYPED__CONTAINED_TYPE, oldContainedType, newContainedType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.omg.CORBA.IDLType

    public StructMember[] members() {
        if (members == null) {
            TypeCode type = vDef.type();
            LocalIDLType localTypeDef = IDLTypeImpl.getIDLType(type, repository);
            IDLType type_def = IDLTypeHelper.narrow(localTypeDef.getReference());

            members = new StructMember[1];
            members[0] = new StructMember("value", type, type_def);
        }
        return members;
View Full Code Here

Examples of org.omg.CORBA.IDLType

            // narrow failed
        }

        try
        {
            IDLType idlType = IDLTypeHelper.narrow((org.omg.CORBA.Object)irobj);
            typeCode = idlType.type();

            // mithilfe des TypeCodes könnten wir uns bei IDLTypes eigentlich ein
            // paar Remote Method Invocations sparen (es steckt einiges schon im TypeCode);
            // außerdem ließe sich vielleicht der Code zum Auslesen
            // der members bei struct etc. vereinfachen.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.