Hitachi

VisiBroker Version 5 Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス


5.24.1 IDLの定義

interface TypeCode {
    exception Bounds {
    };
    exception BadKind {
    };
    boolean equal(in CORBA::TypeCode tc);
    CORBA::TCKind kind( );
    CORBA::RepositoryId id( )
        raises(CORBA::TypeCode::BadKind);
    CORBA::Identifier name( )
        raises(CORBA::TypeCode::BadKind);
    unsigned long member_count( )
        raises(CORBA::TypeCode::BadKind);
    CORBA::Identifier member_name(in unsigned long index)
        raises(CORBA::TypeCode::BadKind,
               CORBA::TypeCode::Bounds);
    CORBA::TypeCode member_type(in unsigned long index)
        raises(CORBA::TypeCode::BadKind,
               CORBA::TypeCode::Bounds);
    any member_label(in unsigned long index)
        raises(CORBA::TypeCode::BadKind,
               CORBA::TypeCode::Bounds);
    CORBA::TypeCode discriminator_type( ) 
        raises(CORBA::TypeCode::BadKind);
    long default_index( )
        raises(CORBA::TypeCode::BadKind);
    unsigned long length( )
        raises(CORBA::TypeCode::BadKind);
    CORBA::TypeCode content_type( )
        raises(CORBA::TypeCode::BadKind);
    long param_count( );
    any parameter(in long index)
        raises(CORBA::TypeCode::Bounds);
};