Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef TAO_IFR_BE_GLOBAL_H
00021 #define TAO_IFR_BE_GLOBAL_H
00022
00023 #include "TAO_IFR_BE_Export.h"
00024 #include "tao/IFR_Client/IFR_BasicC.h"
00025 #include "tao/ORB.h"
00026 #include "ace/Containers.h"
00027 #include "ace/SString.h"
00028
00029 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00030 # pragma once
00031 #endif
00032
00033 class AST_Generator;
00034
00035
00036
00037 class TAO_IFR_BE_Export BE_GlobalData
00038 {
00039 public:
00040
00041
00042
00043
00044
00045
00046 BE_GlobalData (void);
00047
00048
00049 virtual ~BE_GlobalData (void);
00050
00051
00052
00053
00054 bool removing (void) const;
00055 void removing (bool value);
00056
00057 CORBA::ORB_ptr orb (void) const;
00058 void orb (CORBA::ORB_ptr orb);
00059
00060 CORBA::Repository_ptr repository (void) const;
00061 void repository (CORBA::Repository_ptr repo);
00062
00063 ACE_Unbounded_Stack<CORBA::Container_ptr> &ifr_scopes (void);
00064
00065 void destroy (void);
00066
00067
00068 const char *filename (void) const;
00069 void filename (char *fname);
00070
00071 bool enable_locking (void) const;
00072 void enable_locking (bool value);
00073
00074 bool do_included_files (void) const;
00075 void do_included_files (bool val);
00076
00077 bool allow_duplicate_typedefs () const;
00078 void allow_duplicate_typedefs (bool val);
00079
00080 ACE_CString orb_args (void) const;
00081 void orb_args (const ACE_CString& args);
00082
00083 ACE_CString spawn_options (void);
00084
00085
00086
00087 void parse_args (long &i, char **av);
00088
00089
00090 private:
00091 bool removing_;
00092
00093
00094 CORBA::ORB_var orb_;
00095
00096
00097 CORBA::Repository_var repository_;
00098
00099
00100 CORBA::String_var holding_scope_name_;
00101
00102
00103 ACE_Unbounded_Stack<CORBA::Container_ptr> ifr_scopes_;
00104
00105
00106 char *filename_;
00107
00108
00109 bool enable_locking_;
00110
00111
00112 bool do_included_files_;
00113
00114
00115 bool allow_duplicate_typedefs_;
00116
00117
00118 ACE_CString orb_args_;
00119
00120 };
00121
00122 #endif