summaryrefslogtreecommitdiff
path: root/TAO/tao/BD_String_Argument_T.inl
blob: c75c60911fc08f141111cc9fb30410ecd03f4056 (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
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
// $Id$

template<typename S, typename to_S, typename from_S, size_t BOUND>
ACE_INLINE
TAO::In_BD_String_Argument_T<S,to_S,from_S,BOUND>::In_BD_String_Argument_T (
    const S * x
  )
  : x_ (x)
{}

template<typename S, typename to_S, typename from_S, size_t BOUND>
ACE_INLINE
const S *
TAO::In_BD_String_Argument_T<S,to_S,from_S,BOUND>::arg (void) const
{
  return this->x_;
}

// ==========================================================================

template<typename S, typename to_S, typename from_S, size_t BOUND>
ACE_INLINE
TAO::Inout_BD_String_Argument_T<S,to_S,from_S,BOUND>::
Inout_BD_String_Argument_T (S *& x)
  : x_ (x)
{}

template<typename S, typename to_S, typename from_S, size_t BOUND>
ACE_INLINE
S *&
TAO::Inout_BD_String_Argument_T<S,to_S,from_S,BOUND>::arg (void)
{
  return this->x_;
}

// ==========================================================================

template<typename S, 
         typename S_out, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
TAO::Out_BD_String_Argument_T<S,S_out,to_S,from_S,BOUND>::
Out_BD_String_Argument_T (S_out x)
  : x_ (x.ptr ())
{}

template<typename S, 
         typename S_out, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
S *&
TAO::Out_BD_String_Argument_T<S,S_out,to_S,from_S,BOUND>::arg (void)
{
  return this->x_;
}

// ==========================================================================

template<typename S, 
         typename S_var, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::
Ret_BD_String_Argument_T (void)
{
}

template<typename S, 
         typename S_var, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
S *
TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::excp (void)
{
  return this->x_.ptr ();
}

template<typename S, 
         typename S_var, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
S *
TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::retn (void)
{
  return this->x_._retn ();
}

template<typename S, 
         typename S_var, 
         typename to_S, 
         typename from_S, 
         size_t BOUND>
ACE_INLINE
S *&
TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::arg (void)
{
  return this->x_.out ();
}