#include <AliasDef.h>
Inheritance diagram for Omniifr::AliasDef_impl:
Public Member Functions | |
IDLType_ptr | original_type_def () |
void | original_type_def (IDLType_ptr v) |
DefinitionKind | def_kind () |
TypeCode_ptr | type () |
AliasDef_impl () | |
virtual | ~AliasDef_impl () |
void | uncheckedDestroy () |
Destroys this object, without first checking for dependencies. | |
void | reincarnate (const PersistNode &node) |
Re-create the repository from information saved in the log file. | |
void | output (ostream &os) |
Save this object's state to a stream. | |
Private Attributes | |
Dependency1< CORBA::IDLType > | _original_type_def |
|
Definition at line 46 of file AliasDef.h. References _original_type_def. 00046 :_original_type_def(this){}
|
|
Definition at line 47 of file AliasDef.h. 00047 {}
|
|
Implements Omniifr::IRObject_impl. Definition at line 39 of file AliasDef.h. 00039 {return dk_Alias;}
|
|
Definition at line 35 of file AliasDef.cc. References _original_type_def, Omniifr::Dependency1< T_IRObject >::assign(), and Omniifr::IRObject_impl::checkReadonly(). 00036 { 00037 checkReadonly(); 00038 _original_type_def.assign(CORBA::IDLType::_duplicate(v)); 00039 }
|
|
Definition at line 30 of file AliasDef.cc. References _original_type_def, and Omniifr::Dependency1< T_IRObject >::copy(). 00031 { 00032 return _original_type_def.copy(); 00033 }
|
|
Save this object's state to a stream.
Implements Omniifr::IRObject_impl. Definition at line 61 of file AliasDef.cc. References _original_type_def, Omniifr::Dependency1< T_IRObject >::in(), and Omniifr::Contained_impl::outputSelf(). 00062 { 00063 outputSelf(os,"AliasDef"); 00064 PersistNode::outputIOR(os,_original_type_def.in(),"\n original_type_def="); 00065 os<<" ;;\n"; 00066 }
|
|
Re-create the repository from information saved in the log file.
Reimplemented from Omniifr::IRObject_impl. Definition at line 54 of file AliasDef.cc. References _original_type_def, and Omniifr::Dependency1< T_IRObject >::assign(). 00055 { 00056 _original_type_def.assign( 00057 string_to_<CORBA::IDLType>(node.attrString("original_type_def").c_str()) 00058 ); 00059 }
|
|
Implements Omniifr::IDLType_impl. Definition at line 41 of file AliasDef.cc. References _original_type_def, and Omniifr::Dependency1< T_IRObject >::in(). 00042 { 00043 TypeCode_var tc=_original_type_def.in()->type(); 00044 return Repository_impl::inst()._orb 00045 ->create_alias_tc(_id.in(),_name.in(),tc.in()); 00046 }
|
|
Destroys this object, without first checking for dependencies.
Implements Omniifr::Contained_impl. Definition at line 48 of file AliasDef.cc. References _original_type_def, and Omniifr::Dependency1< T_IRObject >::clear(). 00049 { 00050 _original_type_def.clear(); 00051 Contained_impl::uncheckedDestroy(); 00052 }
|
|
Definition at line 44 of file AliasDef.h. Referenced by AliasDef_impl(), original_type_def(), output(), reincarnate(), type(), and uncheckedDestroy(). |