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 149 150 151 152 153 154 155
|
//
// File: sort_IntegerContainer_Impl.hh
// Symbol: sort.IntegerContainer-v0.1
// Symbol Type: class
// Babel Version: 0.10.2
// Description: Server-side implementation for sort.IntegerContainer
//
// WARNING: Automatically generated; only changes within splicers preserved
//
// babel-version = 0.10.2
//
#ifndef included_sort_IntegerContainer_Impl_hh
#define included_sort_IntegerContainer_Impl_hh
#ifndef included_sidl_ucxx_hh
#include "sidl_ucxx.hh"
#endif
#ifndef included_sort_IntegerContainer_IOR_h
#include "sort_IntegerContainer_IOR.h"
#endif
#ifndef included_sidl_BaseClass_hh
#include "sidl_BaseClass.hh"
#endif
#ifndef included_sort_Container_hh
#include "sort_Container.hh"
#endif
#ifndef included_sort_IntegerContainer_hh
#include "sort_IntegerContainer.hh"
#endif
#line 33 "../../../../babel/regression/sort/libUCxx/sort_IntegerContainer_Impl.hh"
// DO-NOT-DELETE splicer.begin(sort.IntegerContainer._includes)
#include "sort_Integer.hh"
// DO-NOT-DELETE splicer.end(sort.IntegerContainer._includes)
#line 37 "sort_IntegerContainer_Impl.hh"
namespace sort {
/**
* Symbol "sort.IntegerContainer" (version 0.1)
*
* Integer container.
*/
class IntegerContainer_impl : public virtual ::ucxx::sort::IntegerContainer
#line 45 "../../../../babel/regression/sort/libUCxx/sort_IntegerContainer_Impl.hh"
// DO-NOT-DELETE splicer.begin(sort.IntegerContainer._inherits)
// Put additional inheritance here...
// DO-NOT-DELETE splicer.end(sort.IntegerContainer._inherits)
#line 51 "sort_IntegerContainer_Impl.hh"
{
// All data marked protected will be accessable by
// descendant Impl classes
protected:
#line 54 "../../../../babel/regression/sort/libUCxx/sort_IntegerContainer_Impl.hh"
// DO-NOT-DELETE splicer.begin(sort.IntegerContainer._implementation)
ucxx::sidl::array<ucxx::sort::Integer> d_elements;
// DO-NOT-DELETE splicer.end(sort.IntegerContainer._implementation)
#line 62 "sort_IntegerContainer_Impl.hh"
public:
// default constructor, shouldn't be used (required)
IntegerContainer_impl() : StubBase(0,true) { }
// sidl constructor (required)
// Note: alternate Skel constructor doesn't call addref()
// (fixes bug #275)
IntegerContainer_impl( struct sort_IntegerContainer__object * s ) :
StubBase(s,true) { _ctor(); }
// user defined construction
void _ctor();
// virtual destructor (required)
virtual ~IntegerContainer_impl() { _dtor(); }
// user defined destruction
void _dtor();
// static class initializer
static void _load();
public:
/**
* This sets the container length and pseudo-randomly orders the
* Integer elements contained.
*/
void
setLength_impl (
/* in */int32_t len
)
throw ()
;
/**
* Return the number of elements in the container.
*/
int32_t
getLength_impl() throw ()
;
/**
* Return -1 if element i is less than element j, 0 if element i
* is equal to element j, or otherwise 1.
*/
int32_t
compare_impl (
/* in */int32_t i,
/* in */int32_t j,
/* in */::ucxx::sort::Comparator comp
)
throw ()
;
/**
* Swap elements i and j.
*/
void
swap_impl (
/* in */int32_t i,
/* in */int32_t j
)
throw ()
;
/**
* Print elements s through e-1
*/
void
output_impl (
/* in */int32_t s,
/* in */int32_t e
)
throw ()
;
}; // end class IntegerContainer_impl
} // end namespace sort
#line 143 "../../../../babel/regression/sort/libUCxx/sort_IntegerContainer_Impl.hh"
// DO-NOT-DELETE splicer.begin(sort.IntegerContainer._misc)
// Put miscellaneous things here...
// DO-NOT-DELETE splicer.end(sort.IntegerContainer._misc)
#line 153 "sort_IntegerContainer_Impl.hh"
#endif
|