Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

第2章 C++言語インタフェース> 2.13 ネーミングサービスクラス

2.13.1 型の定義

形式

class CosNaming {
    struct NameComponent {
        CORBA::String_var id;
        CORBA::String_var kind;
    };
    class Name
    {
    public:
        Name();
        Name( ULong max );
        Name(
            ULong max,
            ULong length,
            NameComponent *value,
            Boolean release = FALSE );
        ~Name();

    private:
        ULong _maximum;
        ULong _length;
        NameComponent *_buffer;
    };
    enum BindingType { nobject, ncontext } ;
    struct Binding {
        Name  binding_name;
        BindingType binding_type;
    } ;
    class BindingList
    {
    public:
        BindingList();
        BindingList( ULong max );
        BindingList(
            ULong max,
            ULong length,
            Request_ptr *value,
            Boolean release = FALSE );
        ~BindingList();

    private:
        ULong _maximum;
        ULong _length;
        Binding *_buffer;
    };
};

目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005