#include <AttributeDef.h>
Inheritance diagram for Omniifr::AttributeDef_impl:


Public Member Functions | |
| TypeCode_ptr | type () |
| IDLType_ptr | type_def () |
| void | type_def (IDLType_ptr) |
| AttributeMode | mode () |
| void | mode (AttributeMode v) |
| DefinitionKind | def_kind () |
| CORBA::Contained::Description * | describe () |
| AttributeDef_impl () | |
| virtual | ~AttributeDef_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< IDLType > | _type_def |
| AttributeMode | _mode |
|
|
Definition at line 52 of file AttributeDef.h. References _mode, and _type_def.
|
|
|
Definition at line 53 of file AttributeDef.h. 00053 {}
|
|
|
Implements Omniifr::IRObject_impl. Definition at line 44 of file AttributeDef.h. Referenced by describe(). 00044 {return CORBA::dk_Attribute;}
|
|
|
Implements Omniifr::Contained_impl. Definition at line 48 of file AttributeDef.cc. References def_kind(), Omniifr::Contained_impl::definedInId(), Omniifr::Contained_impl::id(), mode(), Omniifr::Contained_impl::name(), type(), and Omniifr::Contained_impl::version(). 00049 {
00050 AttributeDescription_var attributedesc =new AttributeDescription();
00051 attributedesc->name =name();
00052 attributedesc->id =id();
00053 attributedesc->version =version();
00054 attributedesc->type =type();
00055 attributedesc->mode =mode();
00056 attributedesc->defined_in =definedInId();
00057
00058 CORBA::Contained::Description_var description =
00059 new CORBA::Contained::Description();
00060 description->kind = def_kind();
00061 description->value <<= attributedesc._retn();
00062
00063 return description._retn();
00064 }
|
|
|
Definition at line 42 of file AttributeDef.h. References _mode, and Omniifr::IRObject_impl::checkReadonly(). 00042 {checkReadonly(); _mode=v;}
|
|
|
Definition at line 41 of file AttributeDef.h. References _mode. Referenced by describe(). 00041 {return _mode;}
|
|
|
Save this object's state to a stream.
Implements Omniifr::IRObject_impl. Definition at line 80 of file AttributeDef.cc. References _mode, _type_def, Omniifr::Dependency1< T_IRObject >::in(), and Omniifr::Contained_impl::outputSelf(). 00081 {
00082 outputSelf(os,"AttributeDef");
00083 os<<"\n mode="<<_mode;
00084 PersistNode::outputIOR(os,_type_def.in(),"\n type_def=");
00085 os<<" ;;\n";
00086 }
|
|
|
Re-create the repository from information saved in the log file.
Reimplemented from Omniifr::IRObject_impl. Definition at line 72 of file AttributeDef.cc. References _mode, _type_def, and Omniifr::Dependency1< T_IRObject >::assign(). 00073 {
00074 _mode=(AttributeMode)node.attrLong("mode");
00075 _type_def.assign(
00076 string_to_<CORBA::IDLType>(node.attrString("type_def").c_str())
00077 );
00078 }
|
|
|
Definition at line 31 of file AttributeDef.cc. References _type_def, and Omniifr::Dependency1< T_IRObject >::in(). Referenced by describe(). 00032 {
00033 return _type_def.in()->type();
00034 }
|
|
|
Definition at line 41 of file AttributeDef.cc. References _type_def, Omniifr::Dependency1< T_IRObject >::assign(), and Omniifr::IRObject_impl::checkReadonly(). 00042 {
00043 checkReadonly();
00044 _type_def.assign(IDLType::_duplicate(v));
00045 }
|
|
|
Definition at line 36 of file AttributeDef.cc. References _type_def, and Omniifr::Dependency1< T_IRObject >::in(). 00037 {
00038 return IDLType::_duplicate(_type_def.in());
00039 }
|
|
|
Destroys this object, without first checking for dependencies.
Implements Omniifr::Contained_impl. Definition at line 66 of file AttributeDef.cc. References _type_def, and Omniifr::Dependency1< T_IRObject >::clear(). 00067 {
00068 _type_def.clear();
00069 Contained_impl::uncheckedDestroy();
00070 }
|
|
|
Definition at line 50 of file AttributeDef.h. Referenced by AttributeDef_impl(), mode(), output(), and reincarnate(). |
|
|
Definition at line 49 of file AttributeDef.h. Referenced by AttributeDef_impl(), output(), reincarnate(), type(), type_def(), and uncheckedDestroy(). |
1.4.1