#include <SequenceDef.h>
Inheritance diagram for Omniifr::SequenceDef_impl:


Public Member Functions | |
| CORBA::ULong | bound () |
| void | bound (CORBA::ULong v) |
| CORBA::TypeCode_ptr | element_type () |
| CORBA::IDLType_ptr | element_type_def () |
| void | element_type_def (CORBA::IDLType_ptr v) |
| CORBA::DefinitionKind | def_kind () |
| CORBA::TypeCode_ptr | type () |
| SequenceDef_impl (ULong bound) | |
| virtual | ~SequenceDef_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 | |
| CORBA::ULong | _bound |
| Dependency1< CORBA::IDLType > | _element_type_def |
|
|
Definition at line 52 of file SequenceDef.cc. 00053 : _bound(bound), 00054 _element_type_def(this) 00055 { 00056 Repository_impl::inst().addAnonymous(this); 00057 }
|
|
|
Definition at line 53 of file SequenceDef.h. 00053 {}
|
|
|
Definition at line 39 of file SequenceDef.h. References _bound, and Omniifr::IRObject_impl::checkReadonly(). 00039 {checkReadonly(); _bound=v;}
|
|
|
Definition at line 38 of file SequenceDef.h. References _bound. 00038 {return _bound;}
|
|
|
Implements Omniifr::IRObject_impl. Definition at line 44 of file SequenceDef.h. 00044 {return dk_Sequence;}
|
|
|
Definition at line 30 of file SequenceDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::in(). Referenced by type(). 00031 {
00032 return _element_type_def.in()->type();
00033 }
|
|
|
Definition at line 40 of file SequenceDef.cc. References _element_type_def, Omniifr::Dependency1< T_IRObject >::assign(), and Omniifr::IRObject_impl::checkReadonly(). 00041 {
00042 checkReadonly();
00043 _element_type_def.assign(CORBA::IDLType::_duplicate(v));
00044 }
|
|
|
Definition at line 35 of file SequenceDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::copy(). 00036 {
00037 return _element_type_def.copy();
00038 }
|
|
|
Save this object's state to a stream.
Implements Omniifr::IRObject_impl. Definition at line 73 of file SequenceDef.cc. References _bound, _element_type_def, Omniifr::Dependency1< T_IRObject >::in(), and Omniifr::IRObject_impl::outputOid(). 00074 {
00075 os<<"SequenceDef"<<PersistNode::_separator;
00076 outputOid(os);
00077 os<<"\n bound="<<_bound;
00078 PersistNode::outputIOR(os,_element_type_def.in(),"\n element_type_def=");
00079 os<<" ;;\n";
00080 }
|
|
|
Re-create the repository from information saved in the log file.
Reimplemented from Omniifr::IRObject_impl. Definition at line 66 of file SequenceDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::assign(). 00067 {
00068 _element_type_def.assign(
00069 string_to_<CORBA::IDLType>(node.attrString("element_type_def").c_str())
00070 );
00071 }
|
|
|
Implements Omniifr::IDLType_impl. Definition at line 46 of file SequenceDef.cc. References _bound, and element_type(). 00047 {
00048 TypeCode_var tc=element_type();
00049 return Repository_impl::inst()._orb->create_sequence_tc(_bound,tc);
00050 }
|
|
|
Destroys this object, without first checking for dependencies.
Implements Omniifr::IRObject_impl. Definition at line 59 of file SequenceDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::clear(). 00060 {
00061 Repository_impl::inst().removeAnonymous(this);
00062 _element_type_def.clear();
00063 }
|
|
|
Definition at line 49 of file SequenceDef.h. |
|
|
Definition at line 50 of file SequenceDef.h. Referenced by element_type(), element_type_def(), output(), reincarnate(), and uncheckedDestroy(). |
1.4.1