Overview | Retrieves the maximum number of Request elements in a sequence. |
Original class | CORBA::RequestSeq |
Intended Usage
The maximum method is used by a client program when querying the RequestSeq object associated with a collection of DII requests. For an unbounded sequence, the maximum method returns the number of Request elements currently allocated in a sequence. This tells applications the total amount of buffer space available. The application can then determine how many additional Request elements can be inserted before the buffer is reallocated. For a bounded sequence, the maximum method returns the maximum number of Request elements in a sequence as specified in the IDL type declaration. By definition, the maximum number of Request elements in a bounded sequence cannot be changed.
Syntax
CORBA::ULong maximum() const;
Input parameters
None.
Return values