#include "SALOMEDSImpl_UseCaseBuilder.hxx"
#include "SALOMEDS_Driver_i.hxx"
+#include "SALOMEDS_Study_i.hxx"
#include <TCollection_AsciiString.hxx>
#include <TColStd_HSequenceOfAsciiString.hxx>
ASSERT(SINGLETON_<ORB_INIT>::IsAlreadyExisting()) ;
_orb = init(0 , 0 ) ;
}
+
+SALOMEDS::Study_ptr SALOMEDS_Study::GetStudy()
+{
+ if(_isLocal) {
+ SALOMEDS_Study_i *Study_servant = new SALOMEDS_Study_i(_local_impl, _orb);
+ SALOMEDS::Study_var Study = Study_servant->_this();
+ return Study;
+ }
+ else {
+ return _corba_impl;
+ }
+
+ return SALOMEDS::Study::_nil();
+}