Package org.apache.yoko.orb.CORBA

Examples of org.apache.yoko.orb.CORBA.TypeCode


        case org.omg.CORBA.TCKind._tk_ulonglong:
        case org.omg.CORBA.TCKind._tk_longdouble:
        case org.omg.CORBA.TCKind._tk_wchar:
        case org.omg.CORBA.TCKind._tk_wstring:
        case org.omg.CORBA.TCKind._tk_fixed: {
            TypeCode p = new TypeCode();
            p.kind_ = kind;
            p.length_ = 0; // For strings
            tc = p;
            break;
        }
View Full Code Here


                            MinorCodes.MinorInvalidMemberName,
                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
                }
        }

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_struct;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

                    }
                }
            }
        }

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_union;
        tc.id_ = id;
        tc.name_ = name;
        try {
View Full Code Here

                            MinorCodes.MinorInvalidMemberName,
                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
                }
        }

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_enum;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

            throw new org.omg.CORBA.BAD_TYPECODE(MinorCodes
                    .describeBadTypecode(MinorCodes.MinorInvalidMemberType),
                    MinorCodes.MinorInvalidMemberType,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_alias;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

                            MinorCodes.MinorInvalidMemberName,
                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
                }
        }

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_except;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

            throw new org.omg.CORBA.BAD_PARAM(MinorCodes
                    .describeBadParam(MinorCodes.MinorInvalidName)
                    + ": " + name, MinorCodes.MinorInvalidName,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_objref;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

    }

    public static org.omg.CORBA.TypeCode createStringTC(int bound) {
        Assert._OB_assert(bound >= 0);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_string;
        tc.length_ = bound;

        return tc;
View Full Code Here

    }

    public static org.omg.CORBA.TypeCode createWStringTC(int bound) {
        Assert._OB_assert(bound >= 0);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_wstring;
        tc.length_ = bound;

        return tc;
View Full Code Here

    }

    public static org.omg.CORBA.TypeCode createFixedTC(short digits, short scale) {
        Assert._OB_assert(digits >= 0);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_fixed;
        tc.fixedDigits_ = digits;
        tc.fixedScale_ = scale;
View Full Code Here

TOP

Related Classes of org.apache.yoko.orb.CORBA.TypeCode

Copyright © 2018 www.massapicom. 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.