CORBA sequence utility template functions. [詳細]
#include <rtm/RTC.h>
#include <rtm/Manager.h>
ネームスペース | |
namespace | CORBA_SeqUtil |
CORBA sequence ヘルパーテンプレート関数. | |
関数 | |
template<class CorbaSequence , class Functor > | |
Functor | CORBA_SeqUtil::for_each (CorbaSequence &seq, Functor f) |
CORBA sequence に対して functor を適用する. | |
template<class CorbaSequence , class Functor > | |
CORBA::Long | CORBA_SeqUtil::find (const CorbaSequence &seq, Functor f) |
CORBA sequence の中から functor に適合する要素のインデックスを返す. | |
template<class CorbaSequence , class SequenceElement > | |
void | CORBA_SeqUtil::push_back (CorbaSequence &seq, SequenceElement elem) |
CORBA sequence の最後に要素を追加する. | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::push_back_list (CorbaSequence &seq1, const CorbaSequence &seq2) |
CORBA sequence をマージする. | |
template<class CorbaSequence , class SequenceElement > | |
void | CORBA_SeqUtil::insert (CorbaSequence &seq, SequenceElement &elem, CORBA::ULong index) |
CORBA sequence に要素を挿入する. | |
template<class CorbaSequence , class SequenceElement > | |
SequenceElement & | CORBA_SeqUtil::front (CorbaSequence &seq) |
CORBA sequence の先頭要素を取得する. | |
template<class CorbaSequence , class SequenceElement > | |
SequenceElement & | CORBA_SeqUtil::back (CorbaSequence &seq) |
CORBA sequence の末尾要素を取得する. | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::erase (CorbaSequence &seq, CORBA::ULong index) |
CORBA sequence の指定された位置の要素を削除する. | |
template<class CorbaSequence , class Functor > | |
void | CORBA_SeqUtil::erase_if (CorbaSequence &seq, Functor f) |
シーケンスの要素を述語にしたがって削除する | |
template<class CorbaSequence > | |
void | CORBA_SeqUtil::clear (CorbaSequence &seq) |
CORBA sequence の全要素を削除. | |
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.