CORBA sequence utility template functions. More...
Go to the source code of this file.
Namespaces | |
CORBA_SeqUtil | |
CORBA IOR helper functions. | |
Functions | |
template<class CorbaSequence , class SequenceElement > | |
SequenceElement & | CORBA_SeqUtil::back (CorbaSequence &seq) |
Get the last element of the CORBA sequence. More... | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::clear (CorbaSequence &seq) |
Erase all the elements of the CORBA sequence. More... | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::erase (CorbaSequence &seq, CORBA::ULong index) |
Erase the element of the specified index. More... | |
template<class CorbaSequence , class Functor > | |
void | CORBA_SeqUtil::erase_if (CorbaSequence &seq, Functor f) |
Remove an element of a sequence according to a predicate. More... | |
template<class CorbaSequence , class Functor > | |
CORBA::Long | CORBA_SeqUtil::find (const CorbaSequence &seq, Functor f) |
Return the index of CORBA sequence element that functor matches. More... | |
template<class CorbaSequence , class Functor > | |
Functor | CORBA_SeqUtil::for_each (CorbaSequence &seq, Functor f) |
Apply the functor to all CORBA sequence elements. More... | |
template<class CorbaSequence , class SequenceElement > | |
SequenceElement & | CORBA_SeqUtil::front (CorbaSequence &seq) |
Get the front element of the CORBA sequence. More... | |
template<class CorbaSequence , class SequenceElement > | |
void | CORBA_SeqUtil::insert (CorbaSequence &seq, SequenceElement &elem, CORBA::ULong index) |
Insert the element to the CORBA sequence. More... | |
template<class CorbaSequence , class SequenceElement > | |
void | CORBA_SeqUtil::push_back (CorbaSequence &seq, SequenceElement elem) |
Push the new element back to the CORBA sequence. More... | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::push_back_list (CorbaSequence &seq1, const CorbaSequence &seq2) |
Merge the elements of the CORBA sequence. More... | |
template<class CorbaRefSequence > | |
coil::vstring | CORBA_SeqUtil::refToVstring (const CorbaRefSequence &objlist) |
CORBA sequence utility template functions.
Copyright (C) 2006-2008 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
$Id$
Definition in file CORBA_SeqUtil.h.