blob: a5f5ec5fb2e74e6833e9b0f12f333398f3f3e1cd (
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 (SEQUENCE &seq, PC_Updater* updater)
{
CORBA::ULong const size = seq.length ();
for (CORBA::ULong i = 0; i < size; ++i)
updater->update (seq[i]);
}
}
#endif /* PC_Updater_C */
|