summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_Enumeration.idl
blob: 55d64b68e0784f3f4dd70422295564ef341715ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// $Id$

/**
 * @@ Compile this file with:
 *
 *     tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
 *          -Wb,export_macro=CIAO_Export \
 *          -Wb,export_include=CIAO_export.h \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          CCM_Component.idl
 */

#if !defined (CCM_ENUMERATION_IDL)
#define CCM_ENUMERATION_IDL

#include "ciao/CCM_Object.idl"

module Components
{
  typeprefix Components "omg.org";

  /// @@ Enumeration and DefaultEnumeration are only for EJB to CCM
  /// mapping?  At any rate, we should be able to skip them for now.
  abstract valuetype Enumeration
  {
    boolean has_more_elements();
    CCMObject next_element();
  };

  typedef sequence<CCMObject> CCMObjectSeq;

  valuetype DefaultEnumeration : Enumeration
  {
    private CCMObjectSeq objects;
  };
};
#endif /* CCM_ENUMERATION_IDL */