File: Strings_Cstring_Impl.hh

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 (168 lines) | stat: -rw-r--r-- 4,394 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// 
// File:          Strings_Cstring_Impl.hh
// Symbol:        Strings.Cstring-v1.1
// Symbol Type:   class
// Babel Version: 0.10.2
// Description:   Server-side implementation for Strings.Cstring
// 
// WARNING: Automatically generated; only changes within splicers preserved
// 
// babel-version = 0.10.2
// 

#ifndef included_Strings_Cstring_Impl_hh
#define included_Strings_Cstring_Impl_hh

#ifndef included_sidl_ucxx_hh
#include "sidl_ucxx.hh"
#endif
#ifndef included_Strings_Cstring_IOR_h
#include "Strings_Cstring_IOR.h"
#endif
#ifndef included_Strings_Cstring_hh
#include "Strings_Cstring.hh"
#endif
#ifndef included_sidl_BaseClass_hh
#include "sidl_BaseClass.hh"
#endif


#line 30 "../../../../babel/regression/strings/libUCxx/Strings_Cstring_Impl.hh"
// DO-NOT-DELETE splicer.begin(Strings.Cstring._includes)
// Put additional includes or other arbitrary code here...
// DO-NOT-DELETE splicer.end(Strings.Cstring._includes)
#line 34 "Strings_Cstring_Impl.hh"

namespace Strings { 

  /**
   * Symbol "Strings.Cstring" (version 1.1)
   * 
   * Class to allow testing of string passing using every possible mode.
   */
  class Cstring_impl : public virtual ::ucxx::Strings::Cstring 
#line 42 "../../../../babel/regression/strings/libUCxx/Strings_Cstring_Impl.hh"
  // DO-NOT-DELETE splicer.begin(Strings.Cstring._inherits)
  // Put additional inheritance here...
  // DO-NOT-DELETE splicer.end(Strings.Cstring._inherits)
#line 48 "Strings_Cstring_Impl.hh"
  {

  // All data marked protected will be accessable by 
  // descendant Impl classes
  protected:

#line 51 "../../../../babel/regression/strings/libUCxx/Strings_Cstring_Impl.hh"
    // DO-NOT-DELETE splicer.begin(Strings.Cstring._implementation)
    // Put additional implementation details here...
    // DO-NOT-DELETE splicer.end(Strings.Cstring._implementation)
#line 59 "Strings_Cstring_Impl.hh"

  public:
    // default constructor, shouldn't be used (required)
    Cstring_impl() : StubBase(0,true) { } 

      // sidl constructor (required)
      // Note: alternate Skel constructor doesn't call addref()
      // (fixes bug #275)
      Cstring_impl( struct Strings_Cstring__object * s ) : StubBase(s,
        true) { _ctor(); }

      // user defined construction
      void _ctor();

      // virtual destructor (required)
      virtual ~Cstring_impl() { _dtor(); }

      // user defined destruction
      void _dtor();

      // static class initializer
      static void _load();

    public:


      /**
       * If <code>nonNull</code> is <code>true</code>, this will
       * return "Three"; otherwise, it will return a NULL or empty string.
       */
      ::std::string
      returnback_impl (
        /* in */bool nonNull
      )
      throw () 
      ;


      /**
       * This will return <code>true</code> iff <code>c</code> equals "Three".
       */
      bool
      passin_impl (
        /* in */const ::std::string& c
      )
      throw () 
      ;


      /**
       * If <code>nonNull</code> is <code>true</code>, this will return
       * "Three" in <code>c</code>; otherwise, it will return a null or
       * empty string. The return value is <code>false</code> iff 
       * the outgoing value of <code>c</code> is <code>null</code>.
       */
      bool
      passout_impl (
        /* in */bool nonNull,
        /* out */::std::string& c
      )
      throw () 
      ;

      /**
       * user defined non-static method.
       */
      bool
      passinout_impl (
        /* inout */::std::string& c
      )
      throw () 
      ;

      /**
       * user defined non-static method.
       */
      ::std::string
      passeverywhere_impl (
        /* in */const ::std::string& c1,
        /* out */::std::string& c2,
        /* inout */::std::string& c3
      )
      throw () 
      ;

      /**
       * user defined non-static method.
       */
      bool
      mixedarguments_impl (
        /* in */const ::std::string& s1,
        /* in */char c1,
        /* in */const ::std::string& s2,
        /* in */char c2
      )
      throw () 
      ;

    };  // end class Cstring_impl

  } // end namespace Strings

#line 156 "../../../../babel/regression/strings/libUCxx/Strings_Cstring_Impl.hh"
// DO-NOT-DELETE splicer.begin(Strings.Cstring._misc)
// Put miscellaneous things here...
// DO-NOT-DELETE splicer.end(Strings.Cstring._misc)
#line 166 "Strings_Cstring_Impl.hh"

  #endif