blob: f1b53537735a93c8c66d60d8c6f64cabc5914e9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// $Id$
#ifndef PC_UPDATER_T_C
#define PC_UPDATER_T_C
#include "PC_Updater.h"
#include "PC_Updater_T.h"
namespace PC_Updater_T
{
/// Dumps a sequence
template <typename SEQUENCE>
void update_sequence (const SEQUENCE &seq, PC_Updater* updater)
{
const CORBA::ULong size = seq.length ();
for (CORBA::ULong i = 0; i < size; ++i)
updater->update (seq[i]);
}
}
#endif /* PC_Updater_C */
|