BE_GlobalData Class Reference

#include <be_global.h>

Collaboration diagram for BE_GlobalData:

Collaboration graph
[legend]
List of all members.

Public Types

 STREAM_H
 STREAM_CPP
 STREAM_IDL
 STREAM_WS
 STREAM_ITL
 STREAM_FACETS_H
 STREAM_FACETS_CPP
 STREAM_LANG_H
 LANGMAP_NONE
 Don't generate, let tao_idl handle it.
 LANGMAP_FACE_CXX
 Generate C++ language mapping from FACE spec.
 LANGMAP_SP_CXX
 Generate C++ language mapping for Safety Profile.
enum  stream_enum_t {
  STREAM_H, STREAM_CPP, STREAM_IDL, STREAM_WS,
  STREAM_ITL, STREAM_FACETS_H, STREAM_FACETS_CPP, STREAM_LANG_H
}
enum  LanguageMapping { LANGMAP_NONE, LANGMAP_FACE_CXX, LANGMAP_SP_CXX }

Public Member Functions

 BE_GlobalData ()
virtual ~BE_GlobalData ()
const char * holding_scope_name () const
void destroy ()
const char * filename () const
void filename (const char *fname)
ACE_CString spawn_options ()
void parse_args (long &i, char **av)
void open_streams (const char *filename)
void multicast (const char *message)
 print message to all open streams
void reset_includes ()
void add_include (const char *file, stream_enum_t which=STREAM_H)
void add_referenced (const char *file)
void set_inc_paths (const char *cmdline)
void add_inc_path (const char *path)
std::string get_include_block (stream_enum_t which)
ACE_CString export_macro () const
void export_macro (const ACE_CString &str)
ACE_CString export_include () const
void export_include (const ACE_CString &str)
ACE_CString pch_include () const
void pch_include (const ACE_CString &str)
bool java () const
void java (bool b)
bool v8 () const
void v8 (bool b)
bool face_ts () const
void face_ts (bool b)
ACE_CString java_arg () const
void java_arg (const ACE_CString &str)
LanguageMapping language_mapping () const
void language_mapping (LanguageMapping lm)
ACE_CString sequence_suffix () const
void sequence_suffix (const ACE_CString &str)
bool suppress_idl () const
bool suppress_typecode () const
bool generate_wireshark () const
bool generate_itl () const

Static Public Member Functions

static bool writeFile (const char *fileName, const std::string &content)

Public Attributes

std::ostringstream header_
std::ostringstream impl_
std::ostringstream idl_
std::ostringstream ws_config_
std::ostringstream itl_
std::ostringstream facets_header_
std::ostringstream facets_impl_
std::ostringstream lang_header_
ACE_CString header_name_
ACE_CString impl_name_
ACE_CString idl_name_
ACE_CString ws_config_name_
ACE_CString itl_name_
ACE_CString facets_header_name_
ACE_CString facets_impl_name_
ACE_CString lang_header_name_
ACE_CString output_dir_
ACE_CString tao_inc_pre_

Private Attributes

const char * filename_
bool java_
bool suppress_idl_
bool suppress_typecode_
bool generate_wireshark_
bool generate_itl_
bool v8_
bool face_ts_
ACE_CString export_macro_
ACE_CString export_include_
ACE_CString pch_include_
ACE_CString java_arg_
ACE_CString seq_
LanguageMapping language_mapping_

Detailed Description

Definition at line 25 of file be_global.h.


Member Enumeration Documentation

enum BE_GlobalData::LanguageMapping

Enumerator:
LANGMAP_NONE  Don't generate, let tao_idl handle it.
LANGMAP_FACE_CXX  Generate C++ language mapping from FACE spec.
LANGMAP_SP_CXX  Generate C++ language mapping for Safety Profile.

Definition at line 112 of file be_global.h.

00112                        {
00113     LANGMAP_NONE, ///< Don't generate, let tao_idl handle it
00114     LANGMAP_FACE_CXX, ///< Generate C++ language mapping from FACE spec
00115     LANGMAP_SP_CXX ///< Generate C++ language mapping for Safety Profile
00116   };

enum BE_GlobalData::stream_enum_t

Enumerator:
STREAM_H 
STREAM_CPP 
STREAM_IDL 
STREAM_WS 
STREAM_ITL 
STREAM_FACETS_H 
STREAM_FACETS_CPP 
STREAM_LANG_H 

Definition at line 69 of file be_global.h.


Constructor & Destructor Documentation

BE_GlobalData::BE_GlobalData (  ) 

Definition at line 32 of file be_global.cpp.

00033   : filename_(0)
00034   , java_(false)
00035   , suppress_idl_(false)
00036   , suppress_typecode_(false)
00037   , generate_wireshark_(false)
00038   , generate_itl_(false)
00039   , v8_(false)
00040   , face_ts_(false)
00041   , seq_("Seq")
00042   , language_mapping_(LANGMAP_NONE)
00043 {
00044 }

BE_GlobalData::~BE_GlobalData (  )  [virtual]

Definition at line 46 of file be_global.cpp.

00047 {
00048 }


Member Function Documentation

void BE_GlobalData::add_inc_path ( const char *  path  ) 

Definition at line 357 of file be_global.cpp.

References inc_path_.

Referenced by BE_post_init().

00358 {
00359   inc_path_.insert(path);
00360 }

void BE_GlobalData::add_include ( const char *  file,
stream_enum_t  which = STREAM_H 
)

Definition at line 377 of file be_global.cpp.

References inc_c_, inc_facets_h_, inc_h_, inc_idl_, inc_lang_h_, STREAM_CPP, STREAM_FACETS_H, STREAM_H, STREAM_IDL, and STREAM_LANG_H.

Referenced by add_includes(), assign_field(), BE_produce(), compare_field(), v8_generator::fwd_decl(), gen_array(), marshal_generator::gen_enum(), gen_field_createQC(), gen_field_getValue(), langmap_generator::gen_interf_fwd(), gen_sequence(), SafetyProfileGenerator::gen_sequence(), FaceGenerator::gen_sequence(), v8_generator::gen_struct(), ts_generator::gen_struct(), metaclass_generator::gen_struct(), marshal_generator::gen_struct(), SafetyProfileGenerator::gen_struct(), FaceGenerator::gen_struct(), marshal_generator::gen_union(), GeneratorBase::gen_union(), face_ts_generator::generate(), java_ts_generator::generate(), get_raw_field(), SafetyProfileGenerator::init(), FaceGenerator::init(), map_type(), parse_args(), and struct_decls().

00379 {
00380   Includes_t* inc = 0;
00381 
00382   switch (which) {
00383   case STREAM_H:
00384     inc = &inc_h_;
00385     break;
00386   case STREAM_CPP:
00387     inc = &inc_c_;
00388     break;
00389   case STREAM_IDL:
00390     inc = &inc_idl_;
00391     break;
00392   case STREAM_FACETS_H:
00393     inc = &inc_facets_h_;
00394     break;
00395   case STREAM_LANG_H:
00396     inc = &inc_lang_h_;
00397     break;
00398   default:
00399     return;
00400   }
00401 
00402   inc->insert(file);
00403 }

void BE_GlobalData::add_referenced ( const char *  file  ) 

Called to indicate that OpenDDS marshaling (serialization) code for the current file will depend on marshaling code generated for the indicated file. For example, if the current file is A.idl and it contains a struct which has a field of type B, defined in B.idl, the full path to B.idl is passed to this function.

Definition at line 406 of file be_global.cpp.

References referenced_idl_.

Referenced by gen_array(), gen_sequence(), marshal_generator::gen_struct(), and generateCaseBody().

00407 {
00408   referenced_idl_.insert(file);
00409 }

void BE_GlobalData::destroy (  ) 

Definition at line 51 of file be_global.cpp.

00052 {
00053 }

void BE_GlobalData::export_include ( const ACE_CString &  str  ) 

Definition at line 82 of file be_global.cpp.

References export_include_.

00083 {
00084   this->export_include_ = str;
00085 }

ACE_CString BE_GlobalData::export_include (  )  const

Definition at line 77 of file be_global.cpp.

References export_include_.

Referenced by get_include_block(), and be_util::prep_be_arg().

00078 {
00079   return this->export_include_;
00080 }

void BE_GlobalData::export_macro ( const ACE_CString &  str  ) 

Definition at line 72 of file be_global.cpp.

References export_macro_.

00073 {
00074   this->export_macro_ = str;
00075 }

ACE_CString BE_GlobalData::export_macro (  )  const

Definition at line 67 of file be_global.cpp.

References export_macro_.

Referenced by exporter(), Function::Function(), ts_generator::gen_struct(), metaclass_generator::gen_struct(), keys_generator::gen_struct(), face_ts_generator::generate(), parse_args(), and be_util::prep_be_arg().

00068 {
00069   return this->export_macro_;
00070 }

void BE_GlobalData::face_ts ( bool  b  ) 

Definition at line 147 of file be_global.cpp.

References face_ts_.

00148 {
00149   this->face_ts_ = b;
00150 }

bool BE_GlobalData::face_ts (  )  const

Definition at line 152 of file be_global.cpp.

References face_ts_.

Referenced by BE_produce(), ts_generator::gen_struct(), and parse_args().

00153 {
00154   return this->face_ts_;
00155 }

void BE_GlobalData::filename ( const char *  fname  ) 

Definition at line 62 of file be_global.cpp.

References filename_.

00063 {
00064   this->filename_ = fname;
00065 }

const char * BE_GlobalData::filename (  )  const

Definition at line 56 of file be_global.cpp.

References filename_.

Referenced by open_streams(), and postprocess().

00057 {
00058   return this->filename_;
00059 }

bool BE_GlobalData::generate_itl (  )  const [inline]

Definition at line 128 of file be_global.h.

References generate_itl_.

Referenced by BE_produce(), itl_generator::gen_enum(), itl_generator::gen_struct(), itl_generator::gen_typedef(), and itl_generator::gen_union().

00128 { return generate_itl_; }

bool BE_GlobalData::generate_wireshark (  )  const [inline]

Definition at line 127 of file be_global.h.

References generate_wireshark_.

Referenced by BE_produce(), wireshark_generator::gen_enum(), wireshark_generator::gen_struct(), wireshark_generator::gen_typedef(), and wireshark_generator::gen_union().

00127 { return generate_wireshark_; }

std::string BE_GlobalData::get_include_block ( stream_enum_t  which  ) 

Definition at line 475 of file be_global.cpp.

References export_include(), inc_c_, inc_facets_h_, inc_h_, inc_idl_, inc_lang_h_, referenced_idl_, STREAM_CPP, STREAM_FACETS_H, STREAM_H, STREAM_IDL, and STREAM_LANG_H.

Referenced by postprocess().

00476 {
00477   const Includes_t* inc = 0;
00478 
00479   switch (which) {
00480   case STREAM_H:
00481     inc = &inc_h_;
00482     break;
00483   case STREAM_CPP:
00484     inc = &inc_c_;
00485     break;
00486   case STREAM_IDL:
00487     inc = &inc_idl_;
00488     break;
00489   case STREAM_FACETS_H:
00490     inc = &inc_facets_h_;
00491     break;
00492   case STREAM_LANG_H:
00493     inc = &inc_lang_h_;
00494     break;
00495   default:
00496     return "";
00497   }
00498 
00499   std::ostringstream ret;
00500 
00501   std::for_each(inc->begin(), inc->end(), InsertIncludes(ret));
00502 
00503   switch (which) {
00504   case STREAM_LANG_H:
00505     std::for_each(referenced_idl_.begin(), referenced_idl_.end(),
00506                   InsertRefIncludes(ret, "C.h"));
00507     // fall through
00508   case STREAM_H:
00509     if (!export_include().empty())
00510       ret << "#include \"" << export_include() << "\"\n";
00511     break;
00512 
00513   case STREAM_CPP:
00514     std::for_each(referenced_idl_.begin(), referenced_idl_.end(),
00515                   InsertRefIncludes(ret, "TypeSupportImpl.h"));
00516     break;
00517   default:
00518     break;
00519   }
00520 
00521   return ret.str();
00522 }

const char* BE_GlobalData::holding_scope_name (  )  const

void BE_GlobalData::java ( bool  b  ) 

Definition at line 127 of file be_global.cpp.

References java_.

00128 {
00129   this->java_ = b;
00130 }

bool BE_GlobalData::java (  )  const

Definition at line 132 of file be_global.cpp.

References java_.

Referenced by be_util::prep_be_arg(), and dds_visitor::visit_structure().

00133 {
00134   return this->java_;
00135 }

void BE_GlobalData::java_arg ( const ACE_CString &  str  ) 

Definition at line 97 of file be_global.cpp.

References java_arg_.

00098 {
00099   this->java_arg_ = str;
00100 }

ACE_CString BE_GlobalData::java_arg (  )  const

Definition at line 102 of file be_global.cpp.

References java_arg_.

Referenced by BE_produce(), java_ts_generator::generate(), postprocess(), and be_util::prep_be_arg().

00103 {
00104   return this->java_arg_;
00105 }

void BE_GlobalData::language_mapping ( LanguageMapping  lm  ) 

Definition at line 107 of file be_global.cpp.

References language_mapping_.

00108 {
00109   this->language_mapping_ = lm;
00110 }

BE_GlobalData::LanguageMapping BE_GlobalData::language_mapping (  )  const

Definition at line 112 of file be_global.cpp.

References language_mapping_.

Referenced by BE_produce(), dds_visitor::dds_visitor(), gen_sequence(), generateCaseBody(), langmap_generator::init(), parse_args(), and postprocess().

00113 {
00114   return this->language_mapping_;
00115 }

void BE_GlobalData::multicast ( const char *  message  ) 

print message to all open streams

Definition at line 197 of file be_global.cpp.

References header_, idl_, impl_, lang_header_, LANGMAP_NONE, and language_mapping_.

Referenced by BE_Comment_Guard::BE_Comment_Guard(), and BE_Comment_Guard::~BE_Comment_Guard().

00198 {
00199   header_ << str;
00200   impl_ << str;
00201   idl_ << str;
00202   if (language_mapping_ != LANGMAP_NONE) lang_header_ << str;
00203 }

void BE_GlobalData::open_streams ( const char *  filename  ) 

Definition at line 164 of file be_global.cpp.

References facets_header_name_, facets_impl_name_, filename(), header_name_, idl_name_, impl_name_, itl_name_, lang_header_name_, and ws_config_name_.

Referenced by BE_produce().

00165 {
00166   this->filename(filename);
00167   size_t len = strlen(filename);
00168 
00169   if ((len < 5 || 0 != ACE_OS::strcasecmp(filename + len - 4, ".idl"))
00170       && (len < 6 || 0 != ACE_OS::strcasecmp(filename + len - 5, ".pidl"))) {
00171     UTL_Error u;
00172     UTL_String str("Input filename must end in \".idl\" or \".pidl\".");
00173     u.back_end(0, &str);
00174     exit(-1);
00175     return;
00176   }
00177 
00178   string filebase(filename);
00179   filebase.erase(filebase.rfind('.'));
00180   size_t idx = filebase.find_last_of("/\\"); // allow either slash
00181 
00182   if (idx != string::npos) {
00183     filebase = filebase.substr(idx + 1);
00184   }
00185 
00186   header_name_ = (filebase + "TypeSupportImpl.h").c_str();
00187   impl_name_ = (filebase + "TypeSupportImpl.cpp").c_str();
00188   idl_name_ = (filebase + "TypeSupport.idl").c_str();
00189   ws_config_name_ = (filebase + "_ws.ini").c_str();
00190   itl_name_ = (filebase + ".itl").c_str();
00191   facets_header_name_ = (filebase + "_TS.hpp").c_str();
00192   facets_impl_name_ = (filebase + "_TS.cpp").c_str();
00193   lang_header_name_ = (filebase + "C.h").c_str();
00194 }

void BE_GlobalData::parse_args ( long &  i,
char **  av 
)

Definition at line 234 of file be_global.cpp.

References add_include(), export_macro(), face_ts(), generate_itl_, generate_wireshark_, LANGMAP_FACE_CXX, LANGMAP_SP_CXX, language_mapping(), output_dir_, STREAM_CPP, suppress_idl_, and suppress_typecode_.

00235 {
00236   static const char WB_EXPORT_MACRO[] = "--export=";
00237   static const size_t SZ_WB_EXPORT_MACRO = sizeof(WB_EXPORT_MACRO) - 1;
00238 
00239   switch (av[i][1]) {
00240   case 'o':
00241     idl_global->append_idl_flag(av[i + 1]);
00242     if (ACE_OS::mkdir(av[i + 1]) != 0 && errno != EEXIST) {
00243       ACE_ERROR((LM_ERROR,
00244         ACE_TEXT("IDL: unable to create directory %C")
00245         ACE_TEXT(" specified by -o option\n"), av[i + 1]));
00246     } else {
00247       output_dir_ = av[++i];
00248     }
00249     break;
00250   case 'G':
00251     if (0 == ACE_OS::strcmp(av[i], "-Gws"))
00252       generate_wireshark_ = true;
00253     else if (0 == ACE_OS::strcmp(av[i], "-Gitl"))
00254       generate_itl_ = true;
00255     else if (0 == ACE_OS::strcasecmp(av[i], "-GfaceTS"))
00256       face_ts(true);
00257     else
00258       {
00259         ACE_ERROR((LM_ERROR, ACE_TEXT("IDL: I don't understand the '%C'")
00260                    ACE_TEXT(" option\n"), av[i]));
00261         idl_global->set_compile_flags(idl_global->compile_flags()
00262                                       | IDL_CF_ONLY_USAGE);
00263       }
00264     break;
00265   case 'L':
00266     if (0 == ACE_OS::strcasecmp(av[i], "-Lface"))
00267       language_mapping(LANGMAP_FACE_CXX);
00268     else if (0 == ACE_OS::strcasecmp(av[i], "-Lspcpp"))
00269       language_mapping(LANGMAP_SP_CXX);
00270     else {
00271       ACE_ERROR((LM_ERROR, ACE_TEXT("IDL: I don't understand the '%C'")
00272                   ACE_TEXT(" option\n"), av[i]));
00273       idl_global->set_compile_flags(idl_global->compile_flags()
00274                                     | IDL_CF_ONLY_USAGE);
00275     }
00276     break;
00277   case 'S':
00278     switch (av[i][2]) {
00279     case 'I':
00280       suppress_idl_ = true;
00281       break;
00282     case 't':
00283       suppress_typecode_ = true;
00284       break;
00285     case 'a':
00286       // ignore, accepted for tao_idl compatibility
00287       break;
00288     default:
00289       ACE_ERROR((LM_ERROR, ACE_TEXT("IDL: I don't understand the '%C'")
00290         ACE_TEXT(" option\n"), av[i]));
00291       idl_global->set_compile_flags(idl_global->compile_flags()
00292                                     | IDL_CF_ONLY_USAGE);
00293     }
00294     break;
00295   case 'Z':
00296     switch (av[i][2]) {
00297     case 'C':
00298       add_include (av[++i], STREAM_CPP);
00299       break;
00300     default:
00301       ACE_ERROR((LM_ERROR, ACE_TEXT("IDL: I don't understand the '%C'")
00302                  ACE_TEXT(" option\n"), av[i]));
00303       idl_global->set_compile_flags(idl_global->compile_flags()
00304                                     | IDL_CF_ONLY_USAGE);
00305     }
00306     break;
00307   case '-':
00308     if (0 == ACE_OS::strncasecmp(av[i], WB_EXPORT_MACRO, SZ_WB_EXPORT_MACRO)) {
00309       this->export_macro(av[i] + SZ_WB_EXPORT_MACRO);
00310     }
00311     break;
00312   default:
00313     ACE_ERROR((LM_ERROR, ACE_TEXT("IDL: I don't understand the '%C' option\n"),
00314                av[i]));
00315     idl_global->set_compile_flags(idl_global->compile_flags()
00316                                   | IDL_CF_ONLY_USAGE);
00317   }
00318 }

void BE_GlobalData::pch_include ( const ACE_CString &  str  ) 

Definition at line 87 of file be_global.cpp.

References pch_include_.

00088 {
00089   this->pch_include_ = str;
00090 }

ACE_CString BE_GlobalData::pch_include (  )  const

Definition at line 92 of file be_global.cpp.

References pch_include_.

Referenced by postprocess(), and be_util::prep_be_arg().

00093 {
00094   return this->pch_include_;
00095 }

void BE_GlobalData::reset_includes (  ) 

Definition at line 346 of file be_global.cpp.

References inc_c_, inc_facets_h_, inc_h_, inc_idl_, inc_lang_h_, and referenced_idl_.

00347 {
00348   inc_h_.clear();
00349   inc_c_.clear();
00350   inc_idl_.clear();
00351   inc_facets_h_.clear();
00352   inc_lang_h_.clear();
00353   referenced_idl_.clear();
00354 }

void BE_GlobalData::sequence_suffix ( const ACE_CString &  str  ) 

Definition at line 117 of file be_global.cpp.

References seq_.

00118 {
00119   this->seq_ = str;
00120 }

ACE_CString BE_GlobalData::sequence_suffix (  )  const

Definition at line 122 of file be_global.cpp.

References seq_.

Referenced by ts_generator::gen_struct().

00123 {
00124   return this->seq_;
00125 }

void BE_GlobalData::set_inc_paths ( const char *  cmdline  ) 

Definition at line 363 of file be_global.cpp.

References inc_path_.

Referenced by BE_produce().

00364 {
00365   ACE_ARGV argv(ACE_TEXT_CHAR_TO_TCHAR(cmdline), false);
00366   for (int i = 0; i < argv.argc(); ++i) {
00367     std::string arg = ACE_TEXT_ALWAYS_CHAR(argv[i]);
00368     if (arg == "-I" && i + 1 < argv.argc()) {
00369       inc_path_.insert(ACE_TEXT_ALWAYS_CHAR(argv[++i]));
00370     } else if (arg.substr(0, 2) == "-I") {
00371       inc_path_.insert(arg.c_str() + 2);
00372     }
00373   }
00374 }

ACE_CString BE_GlobalData::spawn_options (  ) 

Definition at line 228 of file be_global.cpp.

00229 {
00230   return idl_global->idl_flags();
00231 }

bool BE_GlobalData::suppress_idl (  )  const [inline]

Definition at line 124 of file be_global.h.

References suppress_idl_.

Referenced by BE_produce().

00124 { return suppress_idl_; }

bool BE_GlobalData::suppress_typecode (  )  const [inline]

Definition at line 125 of file be_global.h.

References suppress_typecode_.

Referenced by gen_typecode().

00125 { return suppress_typecode_; }

void BE_GlobalData::v8 ( bool  b  ) 

Definition at line 137 of file be_global.cpp.

References v8_.

00138 {
00139   this->v8_ = b;
00140 }

bool BE_GlobalData::v8 (  )  const

Definition at line 142 of file be_global.cpp.

References v8_.

Referenced by dds_visitor::dds_visitor(), metaclass_generator::gen_enum(), and be_util::prep_be_arg().

00143 {
00144   return this->v8_;
00145 }

bool BE_GlobalData::writeFile ( const char *  fileName,
const std::string &  content 
) [static]

Definition at line 322 of file be_global.cpp.

References be_global, and output_dir_.

Referenced by BE_produce(), and postprocess().

00323 {
00324   string file = (be_global->output_dir_ == "")
00325     ? fileName : (string(be_global->output_dir_.c_str()) + '/' + fileName);
00326   ofstream ofs(file.c_str());
00327 
00328   if (!ofs) {
00329     cerr << "ERROR - couldn't open " << file << " for writing.\n";
00330     return false;
00331   }
00332 
00333   ofs << content;
00334   return !!ofs;
00335 }


Member Data Documentation

ACE_CString BE_GlobalData::export_include_ [private]

Definition at line 139 of file be_global.h.

Referenced by export_include().

ACE_CString BE_GlobalData::export_macro_ [private]

Definition at line 139 of file be_global.h.

Referenced by export_macro().

bool BE_GlobalData::face_ts_ [private]

Definition at line 136 of file be_global.h.

Referenced by face_ts().

std::ostringstream BE_GlobalData::facets_header_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), and face_ts_generator::generate().

ACE_CString BE_GlobalData::facets_header_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), open_streams(), and postprocess().

std::ostringstream BE_GlobalData::facets_impl_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), and face_ts_generator::generate().

ACE_CString BE_GlobalData::facets_impl_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), and open_streams().

const char* BE_GlobalData::filename_ [private]

Definition at line 133 of file be_global.h.

Referenced by filename().

bool BE_GlobalData::generate_itl_ [private]

Definition at line 136 of file be_global.h.

Referenced by generate_itl(), and parse_args().

bool BE_GlobalData::generate_wireshark_ [private]

Definition at line 136 of file be_global.h.

Referenced by generate_wireshark(), and parse_args().

std::ostringstream BE_GlobalData::header_

Definition at line 60 of file be_global.h.

Referenced by Function::addArg(), BE_produce(), Function::endArgs(), Function::Function(), v8_generator::fwd_decl(), metaclass_generator::gen_enum(), ts_generator::gen_struct(), metaclass_generator::gen_struct(), keys_generator::gen_struct(), multicast(), NamespaceGuard::NamespaceGuard(), and NamespaceGuard::~NamespaceGuard().

ACE_CString BE_GlobalData::header_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), ts_generator::gen_struct(), open_streams(), and postprocess().

std::ostringstream BE_GlobalData::idl_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), ts_generator::gen_struct(), and multicast().

ACE_CString BE_GlobalData::idl_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), and open_streams().

std::ostringstream BE_GlobalData::impl_

Definition at line 60 of file be_global.h.

Referenced by Function::addArg(), assign_field(), BE_produce(), compare_field(), delegateToNested(), Function::endArgs(), Function::Function(), gen_array(), gen_copyto(), metaclass_generator::gen_enum(), marshal_generator::gen_enum(), gen_field_createQC(), gen_field_getValue(), gen_field_getValueFromSerialized(), gen_sequence(), v8_generator::gen_struct(), ts_generator::gen_struct(), metaclass_generator::gen_struct(), marshal_generator::gen_struct(), SafetyProfileGenerator::gen_struct(), FaceGenerator::gen_struct(), keys_generator::gen_struct(), gen_typecode(), v8_generator::gen_typedef(), metaclass_generator::gen_typedef(), metaclass_generator::gen_union(), marshal_generator::gen_union(), GeneratorBase::gen_union(), java_ts_generator::generate(), generateBranchLabels(), generateCaseBody(), generateSwitchBodyForUnion(), generateSwitchForUnion(), genRtpsParameter(), genRtpsSpecialSequence(), genRtpsSpecialStruct(), genRtpsSubmessage(), get_raw_field(), multicast(), NamespaceGuard::NamespaceGuard(), NestedForLoops::NestedForLoops(), print_field_name(), Function::~Function(), NamespaceGuard::~NamespaceGuard(), and NestedForLoops::~NestedForLoops().

ACE_CString BE_GlobalData::impl_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), java_ts_generator::generate(), and open_streams().

std::ostringstream BE_GlobalData::itl_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), itl_generator::gen_enum(), itl_generator::gen_epilogue(), itl_generator::gen_prologue(), itl_generator::gen_struct(), itl_generator::gen_typedef(), itl_generator::gen_union(), itl_generator::new_type(), and operator<<().

ACE_CString BE_GlobalData::itl_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), and open_streams().

bool BE_GlobalData::java_ [private]

Definition at line 136 of file be_global.h.

Referenced by java().

ACE_CString BE_GlobalData::java_arg_ [private]

Definition at line 139 of file be_global.h.

Referenced by java_arg().

std::ostringstream BE_GlobalData::lang_header_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), gen_array(), gen_array_traits(), langmap_generator::gen_const(), langmap_generator::gen_enum(), langmap_generator::gen_interf_fwd(), SafetyProfileGenerator::gen_sequence(), FaceGenerator::gen_sequence(), SafetyProfileGenerator::gen_struct(), FaceGenerator::gen_struct(), langmap_generator::gen_struct_fwd(), gen_typecode(), langmap_generator::gen_typedef(), GeneratorBase::gen_union(), langmap_generator::gen_union_fwd(), GeneratorBase::generate_union_field(), multicast(), GeneratorBase::GenerateGettersAndSetters::operator()(), and struct_decls().

ACE_CString BE_GlobalData::lang_header_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), and open_streams().

LanguageMapping BE_GlobalData::language_mapping_ [private]

Definition at line 141 of file be_global.h.

Referenced by language_mapping(), and multicast().

ACE_CString BE_GlobalData::output_dir_

Definition at line 62 of file be_global.h.

Referenced by parse_args(), and writeFile().

ACE_CString BE_GlobalData::pch_include_ [private]

Definition at line 139 of file be_global.h.

Referenced by pch_include().

ACE_CString BE_GlobalData::seq_ [private]

Definition at line 139 of file be_global.h.

Referenced by sequence_suffix().

bool BE_GlobalData::suppress_idl_ [private]

Definition at line 136 of file be_global.h.

Referenced by parse_args(), and suppress_idl().

bool BE_GlobalData::suppress_typecode_ [private]

Definition at line 136 of file be_global.h.

Referenced by parse_args(), and suppress_typecode().

ACE_CString BE_GlobalData::tao_inc_pre_

Definition at line 62 of file be_global.h.

Referenced by postprocess(), and be_util::prep_be_arg().

bool BE_GlobalData::v8_ [private]

Definition at line 136 of file be_global.h.

Referenced by v8().

std::ostringstream BE_GlobalData::ws_config_

Definition at line 60 of file be_global.h.

Referenced by BE_produce(), wireshark_generator::gen_array(), wireshark_generator::gen_enum(), wireshark_generator::gen_struct(), wireshark_generator::gen_typedef(), wireshark_generator::gen_union(), write_branch(), wireshark_generator::write_common(), and write_field().

ACE_CString BE_GlobalData::ws_config_name_

Definition at line 62 of file be_global.h.

Referenced by BE_produce(), and open_streams().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:05:55 2016 for OpenDDS by  doxygen 1.4.7