summaryrefslogtreecommitdiff
path: root/TAO/tao/Struct_TypeCode.inl
blob: 739c81cf00e612b4741cd34d33eb47e52ea438f1 (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
// -*- C++ -*-
//
// $Id$


template <typename StringType,
          typename TypeCodeType,
          class FieldArrayType,
          class RefCountPolicy>
ACE_INLINE
TAO::TypeCode::Struct<StringType,
                      TypeCodeType,
                      FieldArrayType,
                      RefCountPolicy>::Struct (
  CORBA::TCKind kind,
  char const * id,
  char const * name,
  FieldArrayType const & fields,
  CORBA::ULong nfields)
  : CORBA::TypeCode (kind)
  , RefCountPolicy ()
  , base_attributes_ (id, name)
  , nfields_ (nfields)
  , fields_ (fields)
{
}