blob: 55e6dd94cb4a4636f68dbd363b4578cee3d95b91 (
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
|
// -*- C++ -*-
//
// $Id$
template <typename STRING_TYPE>
ACE_INLINE
TAO::TypeCode::Base_Attributes<STRING_TYPE>::Base_Attributes (
char const * id,
char const * name)
: id_ (id),
name_ (name)
{
}
template <typename STRING_TYPE>
ACE_INLINE char const *
TAO::TypeCode::Base_Attributes<STRING_TYPE>::id (void) const
{
return this->id_;
}
template <typename STRING_TYPE>
ACE_INLINE char const *
TAO::TypeCode::Base_Attributes<STRING_TYPE>::name (void) const
{
return this->name_;
}
// -----------------------------------------------------------------
// Some compilers exhibit warnings about better conversion sequence
// from a CORBA::String_var to a char const *. These member
// specializations work around them by performing explicit
// conversions.
// -----------------------------------------------------------------
ACE_INLINE char const *
TAO::TypeCode::Base_Attributes<CORBA::String_var>::id (void) const
{
return this->id_.in ();
}
ACE_INLINE char const *
TAO::TypeCode::Base_Attributes<CORBA::String_var>::name (void) const
{
return this->name_.in ();
}
|