00001 // $Id: PSDL_Typecode_Defn.cpp 45726 2002-07-25 15:25:51Z pgontla $ 00002 00003 #include "PSDL_Typecode_Defn.h" 00004 #include "PSDL_Stream.h" 00005 00006 ACE_RCSID(be_visitor_typecode, typecode_defn, "$Id: PSDL_Typecode_Defn.cpp 45726 2002-07-25 15:25:51Z pgontla $") 00007 00008 00009 TAO_PSDL_Typecode_Defn::TAO_PSDL_Typecode_Defn () 00010 { 00011 // Constructor 00012 } 00013 00014 TAO_PSDL_Typecode_Defn::~TAO_PSDL_Typecode_Defn () 00015 { 00016 // Destructor 00017 } 00018 00019 int 00020 TAO_PSDL_Typecode_Defn::visit_type_declarator (TAO_PSDL_Type_Declarator *type_declarator) 00021 { 00022 ACE_UNUSED_ARG (type_declarator); 00023 // Get a pointer to PSDL_Stream of the stub implementation file 00024 TAO_PSDL_Stream *ps_si = TAO_PSDL_Scope::instance ()->get_si (); 00025 00026 ps_si->indent (); // start from current indentation level 00027 00028 // Generate the typecode information here 00029 *ps_si << "static const CORBA::Long _oc_"; 00030 00031 // Flat name generation. 00032 return 0; 00033 }