File: sort_HeapSort_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 (148 lines) | stat: -rw-r--r-- 4,168 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
142
143
144
145
146
147
148
/*
 * File:          sort_HeapSort_IOR.h
 * Symbol:        sort.HeapSort-v0.1
 * Symbol Type:   class
 * Babel Version: 0.10.2
 * Description:   Intermediate Object Representation for sort.HeapSort
 * 
 * WARNING: Automatically generated; changes will be lost
 * 
 * babel-version = 0.10.2
 */

#ifndef included_sort_HeapSort_IOR_h
#define included_sort_HeapSort_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_sort_SortingAlgorithm_IOR_h
#include "sort_SortingAlgorithm_IOR.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Symbol "sort.HeapSort" (version 0.1)
 * 
 * Heap sort
 */

struct sort_HeapSort__array;
struct sort_HeapSort__object;

extern struct sort_HeapSort__object*
sort_HeapSort__new(void);

extern void sort_HeapSort__init(
  struct sort_HeapSort__object* self);
extern void sort_HeapSort__fini(
  struct sort_HeapSort__object* self);
extern void sort_HeapSort__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;
struct sort_Comparator__array;
struct sort_Comparator__object;
struct sort_Container__array;
struct sort_Container__object;
struct sort_Counter__array;
struct sort_Counter__object;

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

struct sort_HeapSort__epv {
  /* Implicit builtin methods */
  void* (*f__cast)(
    /* in */ struct sort_HeapSort__object* self,
    /* in */ const char* name);
  void (*f__delete)(
    /* in */ struct sort_HeapSort__object* self);
  void (*f__exec)(
    /* in */ struct sort_HeapSort__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_HeapSort__object* self);
  void (*f__dtor)(
    /* in */ struct sort_HeapSort__object* self);
  /* Methods introduced in sidl.BaseInterface-v0.9.1 */
  void (*f_addRef)(
    /* in */ struct sort_HeapSort__object* self);
  void (*f_deleteRef)(
    /* in */ struct sort_HeapSort__object* self);
  sidl_bool (*f_isSame)(
    /* in */ struct sort_HeapSort__object* self,
    /* in */ struct sidl_BaseInterface__object* iobj);
  struct sidl_BaseInterface__object* (*f_queryInt)(
    /* in */ struct sort_HeapSort__object* self,
    /* in */ const char* name);
  sidl_bool (*f_isType)(
    /* in */ struct sort_HeapSort__object* self,
    /* in */ const char* name);
  struct sidl_ClassInfo__object* (*f_getClassInfo)(
    /* in */ struct sort_HeapSort__object* self);
  /* Methods introduced in sidl.BaseClass-v0.9.1 */
  /* Methods introduced in sort.SortingAlgorithm-v0.1 */
  struct sort_Counter__object* (*f_getCompareCounter)(
    /* in */ struct sort_HeapSort__object* self);
  struct sort_Counter__object* (*f_getSwapCounter)(
    /* in */ struct sort_HeapSort__object* self);
  void (*f_reset)(
    /* in */ struct sort_HeapSort__object* self);
  void (*f_sort)(
    /* in */ struct sort_HeapSort__object* self,
    /* in */ struct sort_Container__object* elems,
    /* in */ struct sort_Comparator__object* comp);
  char* (*f_getName)(
    /* in */ struct sort_HeapSort__object* self);
  /* Methods introduced in sort.HeapSort-v0.1 */
};

/*
 * Define the class object structure.
 */

struct sort_HeapSort__object {
  struct sort_SortingAlgorithm__object d_sort_sortingalgorithm;
  struct sort_HeapSort__epv*           d_epv;
  void*                                d_data;
};

struct sort_HeapSort__external {
  struct sort_HeapSort__object*
  (*createObject)(void);

  struct sort_SortingAlgorithm__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_HeapSort__external*
sort_HeapSort__externals(void);

#ifdef __cplusplus
}
#endif
#endif