#include <be_global.h>
Public Member Functions | |
BE_GlobalData (void) | |
virtual | ~BE_GlobalData (void) |
bool | removing (void) const |
void | removing (bool value) |
CORBA::ORB_ptr | orb (void) const |
void | orb (CORBA::ORB_ptr orb) |
CORBA::Repository_ptr | repository (void) const |
void | repository (CORBA::Repository_ptr repo) |
CORBA::ModuleDef_ptr | holding_scope (void) const |
void | holding_scope (CORBA::ModuleDef_ptr scope) |
const char * | holding_scope_name (void) const |
ACE_Unbounded_Stack< CORBA::Container_ptr > & | ifr_scopes (void) |
void | destroy (void) |
const char * | filename (void) const |
void | filename (char *fname) |
bool | enable_locking (void) const |
void | enable_locking (bool value) |
bool | do_included_files (void) const |
void | do_included_files (bool val) |
ACE_CString | orb_args (void) const |
void | orb_args (const ACE_CString &args) |
ACE_CString | spawn_options (void) |
void | parse_args (long &i, char **av) |
void | prep_be_arg (char *s) |
void | arg_post_proc (void) |
void | usage (void) const |
AST_Generator * | generator_init (void) |
Private Attributes | |
bool | removing_ |
CORBA::ORB_var | orb_ |
CORBA::Repository_var | repository_ |
CORBA::ModuleDef_var | holding_scope_ |
CORBA::String_var | holding_scope_name_ |
ACE_Unbounded_Stack< CORBA::Container_ptr > | ifr_scopes_ |
char * | filename_ |
bool | enable_locking_ |
bool | do_included_files_ |
ACE_CString | orb_args_ |
|
Definition at line 31 of file be_global.cpp.
00032 : removing_ (false), 00033 holding_scope_name_ (CORBA::string_dup ("TAO_IFR_holding_scope_module")), 00034 filename_ (0), 00035 enable_locking_ (false), 00036 do_included_files_ (true) 00037 { 00038 // At this point, the FE has been initialized. We can 00039 // now instruct it that we want to preserve c++ keywords. 00040 idl_global->preserve_cpp_keywords (true); 00041 } |
|
Definition at line 43 of file be_global.cpp.
00044 { 00045 } |
|
Definition at line 216 of file be_global.cpp.
00217 { 00218 } |
|
Definition at line 108 of file be_global.cpp.
00109 { 00110 } |
|
Definition at line 143 of file be_global.cpp. References do_included_files_.
00144 { 00145 this->do_included_files_ = val; 00146 } |
|
|
Definition at line 131 of file be_global.cpp.
00132 { 00133 this->enable_locking_ = value; 00134 } |
|
Definition at line 125 of file be_global.cpp. Referenced by ifr_visitor::ifr_visitor(), and parse_args().
00126 { 00127 return this->enable_locking_; 00128 } |
|
Definition at line 119 of file be_global.cpp.
00120 { 00121 this->filename_ = fname; 00122 } |
|
Definition at line 113 of file be_global.cpp.
00114 { 00115 return this->filename_; 00116 } |
|
Definition at line 238 of file be_global.cpp. References ACE_NEW_RETURN.
00239 { 00240 AST_Generator *gen = 0; 00241 ACE_NEW_RETURN (gen, 00242 AST_Generator, 00243 0); 00244 return gen; 00245 } |
|
Definition at line 90 of file be_global.cpp. References holding_scope_.
00091 { 00092 this->holding_scope_ = scope; 00093 } |
|
Definition at line 84 of file be_global.cpp. References holding_scope_. Referenced by BE_create_holding_scope(), ifr_adding_visitor_structure::visit_structure(), and ifr_adding_visitor_union::visit_union().
00085 { 00086 return this->holding_scope_.in (); 00087 } |
|
Definition at line 96 of file be_global.cpp. References holding_scope_name_. Referenced by BE_create_holding_scope().
00097 { 00098 return this->holding_scope_name_.in (); 00099 } |
|
|
Definition at line 66 of file be_global.cpp.
00067 { 00068 this->orb_ = orb; 00069 } |
|
Definition at line 60 of file be_global.cpp. Referenced by BE_ifr_orb_init(), and BE_ifr_repo_init().
00061 { 00062 return this->orb_.in (); 00063 } |
|
Definition at line 155 of file be_global.cpp. References orb_args_.
00156 { 00157 this->orb_args_ = args; 00158 } |
|
Definition at line 149 of file be_global.cpp. References orb_args_. Referenced by BE_save_orb_args().
00150 { 00151 return this->orb_args_; 00152 } |
|
Definition at line 167 of file be_global.cpp. References ACE_ERROR, ACE_TEXT(), be_global, do_included_files(), enable_locking(), ACE_OS::exit(), LM_ERROR, and removing().
00168 { 00169 switch (av[i][1]) 00170 { 00171 case 'L': 00172 be_global->enable_locking (true); 00173 break; 00174 case 'r': 00175 be_global->removing (true); 00176 break; 00177 case 'S': 00178 // Suppress ... 00179 if (av[i][2] == 'i') 00180 { 00181 // ... processing of included IDL files. 00182 be_global->do_included_files (0); 00183 } 00184 else 00185 { 00186 ACE_ERROR (( 00187 LM_ERROR, 00188 ACE_TEXT ("IDL: I don't understand the '%s' option\n"), 00189 av[i] 00190 )); 00191 00192 ACE_OS::exit (99); 00193 } 00194 break; 00195 default: 00196 ACE_ERROR (( 00197 LM_ERROR, 00198 ACE_TEXT ("IDL: I don't understand the '%s' option\n"), 00199 av[i] 00200 )); 00201 00202 idl_global->set_compile_flags (idl_global->compile_flags () 00203 | IDL_CF_ONLY_USAGE); 00204 break; 00205 } 00206 } |
|
Definition at line 210 of file be_global.cpp.
00211 { 00212 } |
|
Definition at line 54 of file be_global.cpp. References removing_.
00055 { 00056 this->removing_ = value; 00057 } |
|
Definition at line 48 of file be_global.cpp. References removing_. Referenced by BE_produce(), and parse_args().
00049 { 00050 return this->removing_; 00051 } |
|
Definition at line 78 of file be_global.cpp.
00079 { 00080 this->repository_ = repo; 00081 } |
|
|
Definition at line 161 of file be_global.cpp. References orb_args_.
00162 { 00163 return this->orb_args_ + idl_global->idl_flags (); 00164 } |
|
Definition at line 221 of file be_global.cpp. References ACE_DEBUG, ACE_TEXT(), and LM_DEBUG.
00222 { 00223 ACE_DEBUG (( 00224 LM_DEBUG, 00225 ACE_TEXT (" -L\t\t\tEnable locking at the IDL file level\n") 00226 )); 00227 ACE_DEBUG (( 00228 LM_DEBUG, 00229 ACE_TEXT (" -r\t\t\tRemove contents of IDL file(s) from repository\n") 00230 )); 00231 ACE_DEBUG (( 00232 LM_DEBUG, 00233 ACE_TEXT (" -Si\t\t\tSuppress processing of included IDL files\n") 00234 )); 00235 } |
|
Definition at line 130 of file be_global.h. Referenced by do_included_files(). |
|
Definition at line 127 of file be_global.h. |
|
Definition at line 124 of file be_global.h. |
|
Definition at line 114 of file be_global.h. Referenced by holding_scope(). |
|
Definition at line 118 of file be_global.h. Referenced by holding_scope_name(). |
|
Definition at line 121 of file be_global.h. Referenced by ifr_scopes(). |
|
Definition at line 108 of file be_global.h. |
|
Definition at line 133 of file be_global.h. Referenced by orb_args(), and spawn_options(). |
|
Definition at line 105 of file be_global.h. Referenced by removing(). |
|
Definition at line 111 of file be_global.h. |