#include <ModuleDef.h>
Inheritance diagram for Omniifr::ModuleDef_impl:


Public Member Functions | |
| CORBA::DefinitionKind | def_kind () |
| CORBA::Contained::Description * | describe () |
| ModuleDef_impl () | |
| virtual | ~ModuleDef_impl () |
| void | uncheckedDestroy () |
| Destroys this object, without first checking for dependencies. | |
| bool | canContain (DefinitionKind kind) |
| Returns TRUE if this Container_impl can contain type 'kind'. | |
| void | output (ostream &os) |
| Save this object's state to a stream. | |
|
|
Definition at line 42 of file ModuleDef.h. 00042 {}
|
|
|
Definition at line 43 of file ModuleDef.h. 00043 {};
|
|
|
Returns TRUE if this Container_impl can contain type 'kind'. Legal relationships are defined in CORBA spec. section 10.4.4 "Structure and Navigation of the Interface Repository". Implements Omniifr::Container_impl. Definition at line 51 of file ModuleDef.cc. References CASE_TYPEDEF. 00052 {
00053 switch(kind)
00054 {
00055 CASE_TYPEDEF
00056 case dk_Constant:
00057 case dk_Exception:
00058 case dk_Interface:
00059 case dk_Value:
00060 case dk_ValueBox:
00061 case dk_Module:
00062 return true;
00063 default:
00064 return false;
00065 }
00066 }
|
|
|
Implements Omniifr::IRObject_impl. Definition at line 37 of file ModuleDef.h. Referenced by describe(). 00037 {return CORBA::dk_Module;}
|
|
|
Implements Omniifr::Contained_impl. Definition at line 35 of file ModuleDef.cc. References def_kind(), Omniifr::Contained_impl::definedInId(), Omniifr::Contained_impl::id(), Omniifr::Contained_impl::name(), and Omniifr::Contained_impl::version(). 00036 {
00037 ModuleDescription_var moduledesc =new ModuleDescription();
00038 moduledesc->name = name();
00039 moduledesc->id = id();
00040 moduledesc->version = version();
00041 moduledesc->defined_in = definedInId();
00042
00043 CORBA::Contained::Description_var description =
00044 new CORBA::Contained::Description();
00045 description->kind = def_kind();
00046 description->value <<= moduledesc._retn();
00047
00048 return description._retn();
00049 }
|
|
|
Save this object's state to a stream.
Implements Omniifr::IRObject_impl. Definition at line 68 of file ModuleDef.cc. References Omniifr::Container_impl::outputContents(), and Omniifr::Contained_impl::outputSelf(). 00069 {
00070 outputSelf(os,"ModuleDef");
00071 os<<" ;;\n";
00072 outputContents(os);
00073 }
|
|
|
Destroys this object, without first checking for dependencies.
Implements Omniifr::Contained_impl. Definition at line 29 of file ModuleDef.cc. 00030 {
00031 Contained_impl::uncheckedDestroy();
00032 Container_impl::uncheckedDestroy();
00033 }
|
1.4.1