summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/RepositoryManager/PC_Updater_T.cpp
blob: 2fb6bdb6bd3864a57fe018e64a538150b8762ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// $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 */