Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス
- CORBA::ContextList();
このメソッドは,空のContextリストを構築します。
- void add(
const char *ctx);
このメソッドは,指定されたコンテキストをこのオブジェクトのリストに追加します。
- void add_consume(
char *ctx);
このメソッドは,指定されたコンテキストコードをこのオブジェクトのリストに追加します。引数で指定されたコンテキストの所有権は,このリストによって引き受けられます。このメソッドを呼び出したあとに,コンテキストへアクセスしたり,コンテキストを解放したりすることはできません。
- CORBA::ULong count() const;
このメソッドは,現在リストに格納されている項目数を返します。
- const char *item(
CORBA::Long index);
このメソッドは,指定されたインデックスのリストに格納されているコンテキストを指すポインタを返します。そのインデックスが不当な場合,NULLポインタが返されます。返されたコンテキストは解放できません。リストからコンテキストを削除するには,removeメソッドを使用します。
- index
返されるコンテキストのインデックス。インデックスは0から始まります。
- void remove(
CORBA::long index);
このメソッドは,指定されたインデックスを持つコンテキストをリストから削除します。インデックスが不当な場合は,削除されません。
- index
削除されるコンテキストのインデックス。インデックスは0から始まります。
- static CORBA::ContextList_ptr _duplicate(
CORBA::ContextList_ptr ptr);
この静的メソッドは,オブジェクトのリファレンスカウントを増やし,そのオブジェクトを指すポインタを返します。
- static CORBA::ContextList_ptr _nil();
この静的メソッドは,初期化の際に使用できるNULLポインタを返します。
- static void _release(
CORBA::ContextList *ptr);
この静的メソッドは,このオブジェクトのリファレンスカウントを減らします。そのカウントが0になると,オブジェクトによって管理されていたすべてのメモリが解放され,そのオブジェクトが削除されます。
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.