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

template<typename S, typename Insert_Policy>
ACE_INLINE
TAO::In_UB_String_Argument_T<S,Insert_Policy>::In_UB_String_Argument_T (const S * x)
  : x_ (x)
{}

template<typename S, typename Insert_Policy>
ACE_INLINE
const S *
TAO::In_UB_String_Argument_T<S,Insert_Policy>::arg (void) const
{
  return this->x_;
}

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

template<typename S, typename Insert_Policy>
ACE_INLINE
TAO::Inout_UB_String_Argument_T<S,Insert_Policy>::Inout_UB_String_Argument_T (S *& x)
  : x_ (x)
{}

template<typename S, typename Insert_Policy>
ACE_INLINE
S *&
TAO::Inout_UB_String_Argument_T<S,Insert_Policy>::arg (void)
{
  return this->x_;
}

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

template<typename S, typename S_out, typename Insert_Policy>
ACE_INLINE
TAO::Out_UB_String_Argument_T<S,S_out,Insert_Policy>::Out_UB_String_Argument_T (S_out & x)
  : x_ (x.ptr ())
{}

template<typename S, typename S_out, typename Insert_Policy>
ACE_INLINE
S *&
TAO::Out_UB_String_Argument_T<S,S_out,Insert_Policy>::arg (void)
{
  return this->x_;
}

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

template<typename S, typename S_var, typename Insert_Policy>
ACE_INLINE
TAO::Ret_UB_String_Argument_T<S,S_var,Insert_Policy>::Ret_UB_String_Argument_T (void)
{}

template<typename S, typename S_var, typename Insert_Policy>
ACE_INLINE
S *&
TAO::Ret_UB_String_Argument_T<S,S_var,Insert_Policy>::arg (void)
{
  return this->x_.out ();
}

template<typename S, typename S_var, typename Insert_Policy>
ACE_INLINE
S *
TAO::Ret_UB_String_Argument_T<S,S_var,Insert_Policy>::excp (void)
{
  return this->x_.ptr ();
}

template<typename S, typename S_var, typename Insert_Policy>
ACE_INLINE
S *
TAO::Ret_UB_String_Argument_T<S,S_var,Insert_Policy>::retn (void)
{
  return this->x_._retn ();
}