[Enterprise Extensions only]

RequestSeq::operator[ ]

Overview Retrieves the Request element at the specified index.
Original class CORBA::RequestSeq
Exceptions CORBA::SystemException


Intended Usage

The subscript operator is called by a client program when querying the RequestSeq object associated with a collection of DII requests. The subscript operator returns the Request element at the specified index. Const and non-const versions of this operator are provided.

IDL Syntax

  CORBA::Request_SeqElem operator[] (CORBA::ULong index);
  CORBA::Request_SeqElem operator[] (CORBA::ULong index) const;

Input parameters

index
The index corresponding to the desired Request element, starting at zero. A system exception is raised if the input index is greater than or equal to the number of elements in the sequence.

Return values

CORBA::Request_SeqElem
The Request element at the specified index. Ownership of the return value does not transfer to the caller. However, the sequence buffer may be owned by the caller prior to the method invocation.