summaryrefslogtreecommitdiff
path: root/TAO/tao/Struct_TypeCode.inl
blob: 6c9513e7f8f2881b4a260864828591a7c487e87f (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
// -*- 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)
  : kind_ (kind)
  , base_attributes_ (id, name)
  , nfields_ (nfields)
  , fields_ (fields)
{
}