Public Member Functions | |
__init__ (_sq) | |
Copy constructor from CorbaSequence. | |
__del__ () | |
Destructor. | |
size () | |
Get size of this sequence. | |
max_size () | |
Get current maximum size of this sequence. | |
empty () | |
Test whether the sequence is empty. | |
resize (new_size, item) | |
Resize the length of the sequence. | |
insert (position, item) | |
Insert a new item to the sequence. | |
erase (position) | |
Erase an item of the sequence. | |
erase_if (f) | |
Erase an item according to the given predicate. | |
push_back (item) | |
Append an item to the end of the sequence. | |
pop_back () | |
find (f) |
|
Destructor.
|
|
Copy constructor from CorbaSequence. This constructor copies sequence contents from given CorbaSequence to this object.
|
|
Test whether the sequence is empty. This operation returns bool value whether the sequence is empty. If the size of the sequence is 0, this operation returns true, and in other case this operation returns false.
|
|
Erase an item of the sequence. This operation erases an item from the sequence.
|
|
Erase an item according to the given predicate. This operation erases an item according to the given predicate.
|
|
|
|
Insert a new item to the sequence. This operation inserts a new item to the sequence.
|
|
Get current maximum size of this sequence. This operation returns the current maximum size of the sequence. This is same as CorbaSequence::maximum().
|
|
|
|
Append an item to the end of the sequence. This operation push back an item to the of the sequence.
|
|
Resize the length of the sequence. This operation resizes the length of the sequence. If longer length than current sequence length is given, newly allocated rooms will be assigned by element given by the argument. If shorter length than current sequence length is given, the excessive element of a sequence is deleted like behavior of CorabSequence
|
|
Get size of this sequence. This operation returns the size of the sequence. This is same as CorbaSequence::length().
|