File: sort_CompInt_IOR.h

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (141 lines) | stat: -rw-r--r-- 3,869 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/*
 * File:          sort_CompInt_IOR.h
 * Symbol:        sort.CompInt-v0.1
 * Symbol Type:   class
 * Babel Version: 0.10.2
 * Description:   Intermediate Object Representation for sort.CompInt
 * 
 * WARNING: Automatically generated; changes will be lost
 * 
 * babel-version = 0.10.2
 */

#ifndef included_sort_CompInt_IOR_h
#define included_sort_CompInt_IOR_h

#ifndef included_sidl_header_h
#include "sidl_header.h"
#endif
#ifndef included_sidl_io_Serializer_h
#include "sidl_io_Serializer.h"
#endif
#ifndef included_sidl_io_Deserializer_h
#include "sidl_io_Deserializer.h"
#endif
#ifndef included_sidl_BaseClass_IOR_h
#include "sidl_BaseClass_IOR.h"
#endif
#ifndef included_sort_Comparator_IOR_h
#include "sort_Comparator_IOR.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Symbol "sort.CompInt" (version 0.1)
 * 
 * Compare two Integer's.  By default, this will sort in increasing order.
 */

struct sort_CompInt__array;
struct sort_CompInt__object;

extern struct sort_CompInt__object*
sort_CompInt__new(void);

extern void sort_CompInt__init(
  struct sort_CompInt__object* self);
extern void sort_CompInt__fini(
  struct sort_CompInt__object* self);
extern void sort_CompInt__IOR_version(int32_t *major, int32_t *minor);

/*
 * Forward references for external classes and interfaces.
 */

struct sidl_BaseInterface__array;
struct sidl_BaseInterface__object;
struct sidl_ClassInfo__array;
struct sidl_ClassInfo__object;

/*
 * Declare the method entry point vector.
 */

struct sort_CompInt__epv {
  /* Implicit builtin methods */
  void* (*f__cast)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ const char* name);
  void (*f__delete)(
    /* in */ struct sort_CompInt__object* self);
  void (*f__exec)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ const char* methodName,
    /* in */ struct sidl_io_Deserializer__object* inArgs,
    /* in */ struct sidl_io_Serializer__object* outArgs);
  void (*f__ctor)(
    /* in */ struct sort_CompInt__object* self);
  void (*f__dtor)(
    /* in */ struct sort_CompInt__object* self);
  /* Methods introduced in sidl.BaseInterface-v0.9.1 */
  void (*f_addRef)(
    /* in */ struct sort_CompInt__object* self);
  void (*f_deleteRef)(
    /* in */ struct sort_CompInt__object* self);
  sidl_bool (*f_isSame)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ struct sidl_BaseInterface__object* iobj);
  struct sidl_BaseInterface__object* (*f_queryInt)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ const char* name);
  sidl_bool (*f_isType)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ const char* name);
  struct sidl_ClassInfo__object* (*f_getClassInfo)(
    /* in */ struct sort_CompInt__object* self);
  /* Methods introduced in sidl.BaseClass-v0.9.1 */
  /* Methods introduced in sort.Comparator-v0.1 */
  int32_t (*f_compare)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ struct sidl_BaseInterface__object* i1,
    /* in */ struct sidl_BaseInterface__object* i2);
  /* Methods introduced in sort.CompInt-v0.1 */
  void (*f_setSortIncreasing)(
    /* in */ struct sort_CompInt__object* self,
    /* in */ sidl_bool increasing);
};

/*
 * Define the class object structure.
 */

struct sort_CompInt__object {
  struct sidl_BaseClass__object  d_sidl_baseclass;
  struct sort_Comparator__object d_sort_comparator;
  struct sort_CompInt__epv*      d_epv;
  void*                          d_data;
};

struct sort_CompInt__external {
  struct sort_CompInt__object*
  (*createObject)(void);

  struct sidl_BaseClass__epv*(*getSuperEPV)(void);
};

/*
 * This function returns a pointer to a static structure of
 * pointers to function entry points.  Its purpose is to provide
 * one-stop shopping for loading DLLs.
 */

const struct sort_CompInt__external*
sort_CompInt__externals(void);

#ifdef __cplusplus
}
#endif
#endif