#include <ArrayDef.h>
Inheritance diagram for Omniifr::ArrayDef_impl:


Public Member Functions | |
| CORBA::ULong | length () |
| void | length (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 () |
| ArrayDef_impl (ULong length) | |
| virtual | ~ArrayDef_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 | _length |
| Dependency1< CORBA::IDLType > | _element_type_def |
|
|
Definition at line 52 of file ArrayDef.cc. 00052 : 00053 _length(length), 00054 _element_type_def(this) 00055 { 00056 Repository_impl::inst().addAnonymous(this); 00057 }
|
|
|
Definition at line 53 of file ArrayDef.h. 00053 {}
|
|
|
Implements Omniifr::IRObject_impl. Definition at line 44 of file ArrayDef.h. 00044 {return CORBA::dk_Array;}
|
|
|
Definition at line 30 of file ArrayDef.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 ArrayDef.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 ArrayDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::copy(). 00036 {
00037 return _element_type_def.copy();
00038 }
|
|
|
Definition at line 39 of file ArrayDef.h. References _length, and Omniifr::IRObject_impl::checkReadonly(). 00039 {checkReadonly(); _length=v;}
|
|
|
Definition at line 38 of file ArrayDef.h. References _length. 00038 {return _length;}
|
|
|
Save this object's state to a stream.
Implements Omniifr::IRObject_impl. Definition at line 72 of file ArrayDef.cc. References _element_type_def, _length, Omniifr::Dependency1< T_IRObject >::in(), and Omniifr::IRObject_impl::outputOid(). 00073 {
00074 os<<"ArrayDef"<<PersistNode::_separator;
00075 outputOid(os);
00076 os<<"\n length="<<_length;
00077 PersistNode::outputIOR(os,_element_type_def.in(),"\n element_type_def=");
00078 os<<" ;;\n";
00079 }
|
|
|
Re-create the repository from information saved in the log file.
Reimplemented from Omniifr::IRObject_impl. Definition at line 65 of file ArrayDef.cc. References _element_type_def, and Omniifr::Dependency1< T_IRObject >::assign(). 00066 {
00067 _element_type_def.assign(
00068 string_to_<CORBA::IDLType>(node.attrString("element_type_def").c_str())
00069 );
00070 }
|
|
|
Implements Omniifr::IDLType_impl. Definition at line 46 of file ArrayDef.cc. References _length, and element_type(). 00047 {
00048 TypeCode_var tc =element_type();
00049 return Repository_impl::inst()._orb->create_array_tc(_length,tc.in());
00050 }
|
|
|
Destroys this object, without first checking for dependencies.
Implements Omniifr::IRObject_impl. Definition at line 59 of file ArrayDef.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 50 of file ArrayDef.h. Referenced by element_type(), element_type_def(), output(), reincarnate(), and uncheckedDestroy(). |
|
|
Definition at line 49 of file ArrayDef.h. |
1.4.1