Public Member Functions | Static Public Member Functions

TAO_TypeCodeFactory_Adapter_Impl Class Reference

TAO_TypeCodeFactory_Adapter_Impl. More...

#include <TypeCodeFactory_Adapter_Impl.h>

Inheritance diagram for TAO_TypeCodeFactory_Adapter_Impl:
Inheritance graph
[legend]
Collaboration diagram for TAO_TypeCodeFactory_Adapter_Impl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~TAO_TypeCodeFactory_Adapter_Impl (void)
virtual CORBA::TypeCode_ptr create_struct_tc (const char *id, const char *name, const CORBA::StructMemberSeq &members)
virtual CORBA::TypeCode_ptr create_union_tc (const char *id, const char *name, CORBA::TypeCode_ptr discriminator_type, const CORBA::UnionMemberSeq &members)
virtual CORBA::TypeCode_ptr create_enum_tc (const char *id, const char *name, const CORBA::EnumMemberSeq &members)
virtual CORBA::TypeCode_ptr create_alias_tc (const char *id, const char *name, CORBA::TypeCode_ptr original_type)
virtual CORBA::TypeCode_ptr create_exception_tc (const char *id, const char *name, const CORBA::StructMemberSeq &members)
virtual CORBA::TypeCode_ptr create_interface_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_string_tc (CORBA::ULong bound)
virtual CORBA::TypeCode_ptr create_wstring_tc (CORBA::ULong bound)
virtual CORBA::TypeCode_ptr create_fixed_tc (CORBA::UShort digits, CORBA::UShort scale)
virtual CORBA::TypeCode_ptr create_sequence_tc (CORBA::ULong bound, CORBA::TypeCode_ptr element_type)
virtual CORBA::TypeCode_ptr create_array_tc (CORBA::ULong length, CORBA::TypeCode_ptr element_type)
virtual CORBA::TypeCode_ptr create_value_tc (const char *id, const char *name, CORBA::ValueModifier type_modifier, CORBA::TypeCode_ptr concrete_base, const CORBA::ValueMemberSeq &members)
virtual CORBA::TypeCode_ptr create_value_box_tc (const char *id, const char *name, CORBA::TypeCode_ptr boxed_type)
virtual CORBA::TypeCode_ptr create_native_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_recursive_tc (const char *id)
virtual CORBA::TypeCode_ptr create_abstract_interface_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_local_interface_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_component_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_home_tc (const char *id, const char *name)
virtual CORBA::TypeCode_ptr create_event_tc (const char *id, const char *name, CORBA::ValueModifier type_modifier, CORBA::TypeCode_ptr concrete_base, const CORBA::ValueMemberSeq &members)
TAO-specific TypeCode factory methods.

Factory methods that has no corresponding TypeCodeFactory IDL, i.e. they are specific to TAO.

virtual CORBA::TypeCode_ptr create_enum_tc (char const *id, char const *name, ACE_Array_Base< CORBA::String_var > const &enumerators, CORBA::ULong ncases)
 Create an enumeration TypeCode.
virtual CORBA::TypeCode_ptr create_struct_except_tc (CORBA::TCKind, char const *id, char const *name, ACE_Array_Base< TAO::TypeCode::Struct_Field< CORBA::String_var, CORBA::TypeCode_var > > const &fields, CORBA::ULong nfields)
 Create a structure or exception TypeCode.
virtual CORBA::TypeCode_ptr create_union_tc (char const *id, char const *name, CORBA::TypeCode_ptr discriminant_type, ACE_Array_Base< TAO::TypeCode::Case< CORBA::String_var, CORBA::TypeCode_var > > const &cases, CORBA::ULong ncases, CORBA::Long default_index, char const *default_case_name, CORBA::TypeCode_ptr default_case_type)
 Create a union TypeCode.
virtual CORBA::TypeCode_ptr create_value_event_tc (CORBA::TCKind, char const *id, char const *name, CORBA::ValueModifier modifier, CORBA::TypeCode_ptr concrete_base, ACE_Array_Base< TAO::TypeCode::Value_Field< CORBA::String_var, CORBA::TypeCode_var > > const &fields, CORBA::ULong nfields)
 Create a valuetype or eventtype TypeCode.

Static Public Member Functions

static int Initializer (void)
 Used to force the initialization of the ORB code.

Detailed Description

TAO_TypeCodeFactory_Adapter_Impl.

Class that adapts the CORBA::ORB create_*_tc functions to use the TypeCodeFactory. This is the derived class that contains the actual implementations.

Definition at line 39 of file TypeCodeFactory_Adapter_Impl.h.


Constructor & Destructor Documentation

TAO_TypeCodeFactory_Adapter_Impl::~TAO_TypeCodeFactory_Adapter_Impl ( void   )  [virtual]

Definition at line 17 of file TypeCodeFactory_Adapter_Impl.cpp.

{
}


Member Function Documentation

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_abstract_interface_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 176 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_abstract_interface_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_alias_tc ( const char *  id,
const char *  name,
CORBA::TypeCode_ptr  original_type 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 56 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_alias_tc (id, name, original_type);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_array_tc ( CORBA::ULong  length,
CORBA::TypeCode_ptr  element_type 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 124 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_array_tc (length, element_type);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_component_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 196 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_component_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_enum_tc ( const char *  id,
const char *  name,
const CORBA::EnumMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 45 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_enum_tc (id, name, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_enum_tc ( char const *  id,
char const *  name,
ACE_Array_Base< CORBA::String_var > const &  enumerators,
CORBA::ULong  ncases 
) [virtual]

Create an enumeration TypeCode.

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 231 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  throw ::CORBA::NO_IMPLEMENT ();
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_event_tc ( const char *  id,
const char *  name,
CORBA::ValueModifier  type_modifier,
CORBA::TypeCode_ptr  concrete_base,
const CORBA::ValueMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 216 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_event_tc (id, name, type_modifier, concrete_base, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_exception_tc ( const char *  id,
const char *  name,
const CORBA::StructMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 67 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_exception_tc (id, name, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_fixed_tc ( CORBA::UShort  digits,
CORBA::UShort  scale 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 104 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_fixed_tc (digits, scale);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_home_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 206 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_home_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_interface_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 78 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_interface_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_local_interface_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 186 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_local_interface_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_native_tc ( const char *  id,
const char *  name 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 158 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_native_tc (id, name);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_recursive_tc ( const char *  id  )  [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 168 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_recursive_tc (id);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_sequence_tc ( CORBA::ULong  bound,
CORBA::TypeCode_ptr  element_type 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 114 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_sequence_tc (bound, element_type);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_string_tc ( CORBA::ULong  bound  )  [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 88 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_string_tc (bound);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_struct_except_tc ( CORBA::TCKind  ,
char const *  id,
char const *  name,
ACE_Array_Base< TAO::TypeCode::Struct_Field< CORBA::String_var, CORBA::TypeCode_var > > const &  fields,
CORBA::ULong  nfields 
) [virtual]

Create a structure or exception TypeCode.

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 242 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  throw ::CORBA::NO_IMPLEMENT ();
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_struct_tc ( const char *  id,
const char *  name,
const CORBA::StructMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 22 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_struct_tc (id, name, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_union_tc ( const char *  id,
const char *  name,
CORBA::TypeCode_ptr  discriminator_type,
const CORBA::UnionMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 33 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_union_tc (id, name, discriminator_type, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_union_tc ( char const *  id,
char const *  name,
CORBA::TypeCode_ptr  discriminant_type,
ACE_Array_Base< TAO::TypeCode::Case< CORBA::String_var, CORBA::TypeCode_var > > const &  cases,
CORBA::ULong  ncases,
CORBA::Long  default_index,
char const *  default_case_name,
CORBA::TypeCode_ptr  default_case_type 
) [virtual]

Create a union TypeCode.

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 256 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  throw ::CORBA::NO_IMPLEMENT ();
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_value_box_tc ( const char *  id,
const char *  name,
CORBA::TypeCode_ptr  boxed_type 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 147 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_value_box_tc (id, name, boxed_type);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_value_event_tc ( CORBA::TCKind  ,
char const *  id,
char const *  name,
CORBA::ValueModifier  modifier,
CORBA::TypeCode_ptr  concrete_base,
ACE_Array_Base< TAO::TypeCode::Value_Field< CORBA::String_var, CORBA::TypeCode_var > > const &  fields,
CORBA::ULong  nfields 
) [virtual]

Create a valuetype or eventtype TypeCode.

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 272 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  throw ::CORBA::NO_IMPLEMENT ();
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_value_tc ( const char *  id,
const char *  name,
CORBA::ValueModifier  type_modifier,
CORBA::TypeCode_ptr  concrete_base,
const CORBA::ValueMemberSeq &  members 
) [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 134 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_value_tc (id, name, type_modifier, concrete_base, members);
}

CORBA::TypeCode_ptr TAO_TypeCodeFactory_Adapter_Impl::create_wstring_tc ( CORBA::ULong  bound  )  [virtual]

Implements TAO_TypeCodeFactory_Adapter.

Definition at line 96 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_TypeCodeFactory_i tcf;

  return tcf.create_wstring_tc (bound);
}

int TAO_TypeCodeFactory_Adapter_Impl::Initializer ( void   )  [static]

Used to force the initialization of the ORB code.

Definition at line 292 of file TypeCodeFactory_Adapter_Impl.cpp.

{
  TAO_ORB_Core::typecodefactory_adapter_name ("Concrete_TypeCodeFactory_Adapter");

  return ACE_Service_Config::process_directive (ace_svc_desc_TAO_TypeCodeFactory_Adapter_Impl);
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines